|
Oracle Security Developer Tools CMS Java API Reference 10g Release 2 (10.1.2.0.2) B15564-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cms.CMSKEKRecipientInfoSpec
This class encapsulates a recipient key encipherment (wrapping) key management mechanism information.
Constructor Summary | |
CMSKEKRecipientInfoSpec(AlgorithmIdentifier keyEncryptionAlgID, SymmetricKey symmetricKey, byte[] keyIdentifier) Creates a CMSKEKRecipientInfoSpec . |
|
CMSKEKRecipientInfoSpec(AlgorithmIdentifier keyEncryptionAlgID, SymmetricKey symmetricKey, byte[] keyIdentifier, java.util.Date keyDate) Creates a CMSKEKRecipientInfoSpec . |
|
CMSKEKRecipientInfoSpec(AlgorithmIdentifier keyEncryptionAlgID, SymmetricKey symmetricKey, byte[] keyIdentifier, java.util.Date keyDate, ASN1Sequence otherKeyAttribute) Creates a CMSKEKRecipientInfoSpec . |
Method Summary | |
boolean |
equals(java.lang.Object obj) Indicates whether some other object is "equal to" this one. |
java.util.Date |
getKeyDate() Returns the key generation date. |
AlgorithmIdentifier |
getKeyEncryptionAlgID() Returns the key encryption (wrap) algorithm. |
byte[] |
getKeyIdentifier() Returns the key encryption (wrap) key identifier. |
ASN1Sequence |
getOtherKeyAttribute() Returns the other key attribute. |
SymmetricKey |
getSymmetricKey() Returns the key encryption (wrap) key. |
int |
hashCode() Returns a hash code value for this object. |
void |
setKeyDate(java.util.Date keyDate) Sets the key generation date. |
void |
setKeyIdentifier(byte[] keyIdentifier) Sets the key encryption (wrap) key identifier. |
void |
setOtherKeyAttribute(ASN1Sequence otherKeyAttribute) Set the other key attribute. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMSKEKRecipientInfoSpec(AlgorithmIdentifier keyEncryptionAlgID, SymmetricKey symmetricKey, byte[] keyIdentifier)
CMSKEKRecipientInfoSpec
.keyEncryptionAlgID
- The key encryption (wrap) algorithm.symmetricKey
- The key used to encrypt (wrap) the content encryption key.keyIdentifier
- Symmetric Key Encryption (Wrap) key identifier.public CMSKEKRecipientInfoSpec(AlgorithmIdentifier keyEncryptionAlgID, SymmetricKey symmetricKey, byte[] keyIdentifier, java.util.Date keyDate)
CMSKEKRecipientInfoSpec
.keyEncryptionAlgID
- The key encryption (wrap) algorithm.symmetricKey
- The key used to wrap the content encryption key.keyIdentifier
- The key encryption (wrapping) key identifier.keyDate
- Date on which the encryption (wrapping) key was generated.public CMSKEKRecipientInfoSpec(AlgorithmIdentifier keyEncryptionAlgID, SymmetricKey symmetricKey, byte[] keyIdentifier, java.util.Date keyDate, ASN1Sequence otherKeyAttribute) throws InvalidInputException
CMSKEKRecipientInfoSpec
.keyEncryptionAlgID
- The key encryption (wrap) algorithm.symmetricKey
- The key used to encrypt (wrap) the content encryption key.keyIdentifier
- The key encryption (wrapping) key identifier.keyDate
- Date when the encryption (wrapping) key was generated.otherKeyAttribute
- Other attributes that can be used to identify the encryption (wrapping) key.InvalidInputException
- The OtherKeyAttribute does NOT contain atleast 1 element or the first element of the ASN1Sequence is not an ASN1ObjectID.Method Detail |
public void setKeyIdentifier(byte[] keyIdentifier)
keyIdentifier
- The key identifierkeyIdentifier.public byte[] getKeyIdentifier()
public void setKeyDate(java.util.Date keyDate)
keyDate
- The key generation date.public java.util.Date getKeyDate()
public void setOtherKeyAttribute(ASN1Sequence otherKeyAttribute) throws InvalidInputException
otherKeyAttribute
- The OtherKeyAttribute.InvalidInputException
- The OtherKeyAttribute does NOT contain atleast 1 element or the first element of the ASN1Sequence is not an ASN1ObjectID.public ASN1Sequence getOtherKeyAttribute()
public AlgorithmIdentifier getKeyEncryptionAlgID()
public SymmetricKey getSymmetricKey()
public boolean equals(java.lang.Object obj)
true
if this object is the same as the obj argument; false
otherwise.public int hashCode()
|
Oracle Security Developer Tools CMS Java API Reference 10g Release 2 (10.1.2.0.2) B15564-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |