Contains information used to encrypt and decrypt objects in S3.
@Deprecated public class EncryptionInstruction extends Object
Constructor and Description |
---|
EncryptionInstruction(Map<String,String> materialsDescription,
byte[] encryptedSymmetricKey,
SecretKey symmetricKey,
Cipher symmetricCipher)
Deprecated.
Construct a new EncryptionInstruction object with the provided fields.
|
EncryptionInstruction(Map<String,String> materialsDescription,
byte[] encryptedSymmetricKey,
SecretKey symmetricKey,
CipherFactory symmetricCipherFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CipherFactory |
getCipherFactory()
Deprecated.
|
byte[] |
getEncryptedSymmetricKey()
Deprecated.
Returns an array of bytes representing the encrypted envelope symmetric key.
|
Map<String,String> |
getMaterialsDescription()
Deprecated.
Returns the description of the encryption materials that were used to encrypt the envelope symmetric key.
|
Cipher |
getSymmetricCipher()
Deprecated.
Returns the symmetric cipher created with the envelope symmetric key.
|
public EncryptionInstruction(Map<String,String> materialsDescription, byte[] encryptedSymmetricKey, SecretKey symmetricKey, Cipher symmetricCipher)
materialsDescription
- The description of the encryption materials that were used to encrypt the envelope symmetric key.encryptedSymmetricKey
- A byte[] array representing an encrypted envelope symmetric key.symmetricKey
- The symmetric key used to create the cipher that will encrypt the object data.symmetricCipher
- The symmetric cipher that will encrypt the object data.public EncryptionInstruction(Map<String,String> materialsDescription, byte[] encryptedSymmetricKey, SecretKey symmetricKey, CipherFactory symmetricCipherFactory)
public CipherFactory getCipherFactory()
public Map<String,String> getMaterialsDescription()
public byte[] getEncryptedSymmetricKey()
public Cipher getSymmetricCipher()
Copyright © 2014. All rights reserved.