Class EncryptionMaterials.Builder
- java.lang.Object
-
- com.amazonaws.encryptionsdk.model.EncryptionMaterials.Builder
-
- Enclosing class:
- EncryptionMaterials
public static class EncryptionMaterials.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
build
public EncryptionMaterials build()
-
getAlgorithm
public CryptoAlgorithm getAlgorithm()
-
setAlgorithm
public EncryptionMaterials.Builder setAlgorithm(CryptoAlgorithm algorithm)
-
setEncryptionContext
public EncryptionMaterials.Builder setEncryptionContext(Map<String,String> encryptionContext)
-
setEncryptedDataKeys
public EncryptionMaterials.Builder setEncryptedDataKeys(List<KeyBlob> encryptedDataKeys)
-
getCleartextDataKey
public SecretKey getCleartextDataKey()
-
setCleartextDataKey
public EncryptionMaterials.Builder setCleartextDataKey(SecretKey cleartextDataKey)
-
getTrailingSignatureKey
public PrivateKey getTrailingSignatureKey()
-
setTrailingSignatureKey
public EncryptionMaterials.Builder setTrailingSignatureKey(PrivateKey trailingSignatureKey)
-
setMasterKeys
public EncryptionMaterials.Builder setMasterKeys(List<MasterKey> masterKeys)
-
-