public static class EncryptionMaterials.Builder extends Object
Modifier and Type | Method and Description |
---|---|
EncryptionMaterials |
build() |
CryptoAlgorithm |
getAlgorithm() |
SecretKey |
getCleartextDataKey() |
List<KeyBlob> |
getEncryptedDataKeys() |
Map<String,String> |
getEncryptionContext() |
List<MasterKey> |
getMasterKeys() |
PrivateKey |
getTrailingSignatureKey() |
EncryptionMaterials.Builder |
setAlgorithm(CryptoAlgorithm algorithm) |
EncryptionMaterials.Builder |
setCleartextDataKey(SecretKey cleartextDataKey) |
EncryptionMaterials.Builder |
setEncryptedDataKeys(List<KeyBlob> encryptedDataKeys) |
EncryptionMaterials.Builder |
setEncryptionContext(Map<String,String> encryptionContext) |
EncryptionMaterials.Builder |
setMasterKeys(List<MasterKey> masterKeys) |
EncryptionMaterials.Builder |
setTrailingSignatureKey(PrivateKey trailingSignatureKey) |
public EncryptionMaterials build()
public CryptoAlgorithm getAlgorithm()
public EncryptionMaterials.Builder setAlgorithm(CryptoAlgorithm algorithm)
public EncryptionMaterials.Builder setEncryptionContext(Map<String,String> encryptionContext)
public EncryptionMaterials.Builder setEncryptedDataKeys(List<KeyBlob> encryptedDataKeys)
public SecretKey getCleartextDataKey()
public EncryptionMaterials.Builder setCleartextDataKey(SecretKey cleartextDataKey)
public PrivateKey getTrailingSignatureKey()
public EncryptionMaterials.Builder setTrailingSignatureKey(PrivateKey trailingSignatureKey)
public EncryptionMaterials.Builder setMasterKeys(List<MasterKey> masterKeys)
Copyright © 2023. All rights reserved.