|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.internal.crypto.EncryptionInstruction
public class EncryptionInstruction
Contains information used to encrypt and decrypt objects in S3.
Constructor Summary | |
---|---|
EncryptionInstruction(Map<String,String> materialsDescription,
byte[] encryptedSymmetricKey,
SecretKey symmetricKey,
Cipher symmetricCipher)
Construct a new EncryptionInstruction object with the provided fields. |
Method Summary | |
---|---|
byte[] |
getEncryptedSymmetricKey()
Returns an array of bytes representing the encrypted envelope symmetric key. |
Map<String,String> |
getMaterialsDescription()
Returns the description of the encryption materials that were used to encrypt the envelope symmetric key. |
Cipher |
getSymmetricCipher()
Returns the symmetric cipher created with the envelope symmetric key. |
SecretKey |
getSymmetricKey()
Returns the envelope symmetric key. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public Map<String,String> getMaterialsDescription()
public byte[] getEncryptedSymmetricKey()
public SecretKey getSymmetricKey()
public Cipher getSymmetricCipher()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |