public class EncryptionMaterials
extends java.lang.Object
| 修飾子 | コンストラクタと説明 |
|---|---|
|
EncryptionMaterials(java.security.KeyPair keyPair)
Constructs a new EncryptionMaterials object, storing an asymmetric key pair.
|
protected |
EncryptionMaterials(java.security.KeyPair keyPair,
javax.crypto.SecretKey symmetricKey)
Base constructor for the EncryptionMaterials object.
|
|
EncryptionMaterials(javax.crypto.SecretKey symmetricKey)
Constructs a new EncryptionMaterials object, storing a symmetric key.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
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.protected EncryptionMaterials(java.security.KeyPair keyPair,
javax.crypto.SecretKey symmetricKey)
public java.security.KeyPair getKeyPair()
public javax.crypto.SecretKey getSymmetricKey()
public java.util.Map<java.lang.String,java.lang.String> getMaterialsDescription()
public EncryptionMaterialsAccessor getAccessor()