|
|||||||
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
Stores materials to be used in encryption. These materials may be either an asymmetric key pair or a symmetric key but not both.
Constructor Summary | |
---|---|
EncryptionMaterials(KeyPair keyPair)
Constructs a new EncryptionMaterials object, storing an asymmetric key pair. |
|
EncryptionMaterials(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. |
KeyPair |
getKeyPair()
Returns the key pair stored in this EncryptionMaterials object. |
Map<String,String> |
getMaterialsDescription()
Returns an empty map since the EncryptionMaterials base class does not have extra materials information. |
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(KeyPair keyPair)
keyPair
- The asymmetric key pair to be stored in this EncryptionMaterials object.public EncryptionMaterials(SecretKey symmetricKey)
symmetricKey
- The symmetric key to be stored in this EncryptionMaterials object.Method Detail |
---|
public KeyPair getKeyPair()
public SecretKey getSymmetricKey()
public Map<String,String> getMaterialsDescription()
public EncryptionMaterialsAccessor getAccessor()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |