public class EncryptionInstruction
extends java.lang.Object
| コンストラクタと説明 |
|---|
EncryptionInstruction(java.util.Map<java.lang.String,java.lang.String> materialsDescription,
byte[] encryptedSymmetricKey,
javax.crypto.SecretKey symmetricKey,
javax.crypto.Cipher symmetricCipher)
Construct a new EncryptionInstruction object with the provided fields.
|
EncryptionInstruction(java.util.Map<java.lang.String,java.lang.String> materialsDescription,
byte[] encryptedSymmetricKey,
javax.crypto.SecretKey symmetricKey,
CipherFactory symmetricCipherFactory) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
CipherFactory |
getCipherFactory() |
byte[] |
getEncryptedSymmetricKey()
Returns an array of bytes representing the encrypted envelope symmetric key.
|
java.util.Map<java.lang.String,java.lang.String> |
getMaterialsDescription()
Returns the description of the encryption materials that were used to encrypt the envelope symmetric key.
|
javax.crypto.Cipher |
getSymmetricCipher()
Returns the symmetric cipher created with the envelope symmetric key.
|
javax.crypto.SecretKey |
getSymmetricKey()
Returns the envelope symmetric key.
|
public EncryptionInstruction(java.util.Map<java.lang.String,java.lang.String> materialsDescription,
byte[] encryptedSymmetricKey,
javax.crypto.SecretKey symmetricKey,
javax.crypto.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(java.util.Map<java.lang.String,java.lang.String> materialsDescription,
byte[] encryptedSymmetricKey,
javax.crypto.SecretKey symmetricKey,
CipherFactory symmetricCipherFactory)
public CipherFactory getCipherFactory()
public java.util.Map<java.lang.String,java.lang.String> getMaterialsDescription()
public byte[] getEncryptedSymmetricKey()
public javax.crypto.SecretKey getSymmetricKey()
public javax.crypto.Cipher getSymmetricCipher()