|
Oracle Security Developer Tools CMS Java API Reference 10g (10.1.4.0.1) B28170-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cms.CMSKeyTransRecipientInfoSpec
This class encapsulates a recipient key transport key management mechanism information.
Constructor Summary | |
CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert) Creates a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID) Create a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, boolean useSPKI64) Creates a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, boolean useSPKI64) Creates a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, byte[] spki, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, oracle.security.crypto.core.PublicKey recipientKey) Create a CMSKeyTransRecipientInfoSpec object. |
Method Summary | |
boolean |
equals(java.lang.Object obj) Indicates whether some other object is "equal to" this one. |
oracle.security.crypto.cert.IssuerAndSerialNo |
getIASN() |
oracle.security.crypto.cert.X500Name |
getIssuer() Returns the recipient's certificate's issuer. |
oracle.security.crypto.core.AlgorithmIdentifier |
getKeyEncryptionAlgID() Returns the key transport algorithm. |
oracle.security.crypto.core.PublicKey |
getRecipientKey() Returns the recipient's public key. |
java.math.BigInteger |
getSerialNo() Returns the serial number of the recipient's certificate. |
byte[] |
getSPKI() Returns the subject public key identifier (SPKI). |
int |
hashCode() Returns a hash code value for this object. |
boolean |
useSPKI64() Indicates if Subject Public Key Identifier (SPKI) is being used for the recipient identification. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert)
CMSKeyTransRecipientInfoSpec
object.cert
- The recipient's X509 certificate.public CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID)
CMSKeyTransRecipientInfoSpec
object.cert
- The recipient's X509 certificate.keyEncryptionAlgID
- The key transport algorithm.public CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, boolean useSPKI64)
CMSKeyTransRecipientInfoSpec
object.cert
- The recipient's X509 certificate.useSPKI64
- Uses Subject Public Key Identifier as the recipient identifier. If true
, uses a 64 bit SPKI; If false
, uses a 160 bit SPKI.public CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, boolean useSPKI64)
CMSKeyTransRecipientInfoSpec
object.cert
- The recipient's certificate.keyEncryptionAlgID
- The key transport algorithm.useSPKI64
- Uses Subject Public Key Identifier as the recipient identifier. If true
, uses a 64 bit SPKI; If false
, uses a 160 bit SPKI.public CMSKeyTransRecipientInfoSpec(oracle.security.crypto.cert.X509 cert, byte[] spki, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, oracle.security.crypto.core.PublicKey recipientKey)
CMSKeyTransRecipientInfoSpec
object.cert
- The recipient's X509 certificate.spki
- The subject key identifier.keyEncryptionAlgID
- The key transport algorithm.Method Detail |
public int hashCode()
public boolean equals(java.lang.Object obj)
true
if this object is the same as the obj argument; false
otherwise.public oracle.security.crypto.cert.IssuerAndSerialNo getIASN()
public oracle.security.crypto.cert.X500Name getIssuer()
public java.math.BigInteger getSerialNo()
public oracle.security.crypto.core.AlgorithmIdentifier getKeyEncryptionAlgID()
public oracle.security.crypto.core.PublicKey getRecipientKey()
public byte[] getSPKI()
public boolean useSPKI64()
true
if SPKI is being used; false
otherwise.
|
Oracle Security Developer Tools CMS Java API Reference 10g (10.1.4.0.1) B28170-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |