|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.EncryptionMaterials
public class EncryptionMaterials
The "key encrypting key" materials used in encrypt/decryption. These materials may be either an asymmetric key pair or a symmetric key but not both.
Constructor Summary | |
---|---|
EncryptionMaterials(java.security.KeyPair keyPair)
Constructs a new EncryptionMaterials object, storing an asymmetric key pair. |
|
EncryptionMaterials(javax.crypto.SecretKey symmetricKey)
Constructs a new EncryptionMaterials object, storing a symmetric key. |
Method Summary | |
---|---|
EncryptionMaterialsAccessor |
getAccessor()
Returns null since the EncryptionMaterials base class does not have a materials accessor. |
java.security.KeyPair |
getKeyPair()
Returns the key pair stored in this EncryptionMaterials object. |
java.util.Map<java.lang.String,java.lang.String> |
getMaterialsDescription()
Returns an empty map since the EncryptionMaterials base class does not have extra materials information. |
javax.crypto.SecretKey |
getSymmetricKey()
Returns the symmetric key stored in this EncryptionMaterials object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionMaterials(java.security.KeyPair keyPair)
keyPair
- The asymmetric key pair to be stored in this EncryptionMaterials object.public EncryptionMaterials(javax.crypto.SecretKey symmetricKey)
symmetricKey
- The symmetric key to be stored in this EncryptionMaterials object.Method Detail |
---|
public java.security.KeyPair getKeyPair()
public javax.crypto.SecretKey getSymmetricKey()
public java.util.Map<java.lang.String,java.lang.String> getMaterialsDescription()
public EncryptionMaterialsAccessor getAccessor()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |