|
Oracle Fusion Middleware CMS Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10667-03 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cms.CMSKeyTransRecipientInfoSpec
public class CMSKeyTransRecipientInfoSpec
This class encapsulates a recipient key transport key management mechanism information.
Constructor Summary | |
---|---|
CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert) Creates a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID) Create a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, boolean useSPKI64) Creates a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, boolean useSPKI64) Creates a CMSKeyTransRecipientInfoSpec object. |
|
CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, byte[] spki, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, java.security.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. |
java.security.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(java.security.cert.X509Certificate cert) throws java.io.IOException, java.security.cert.CertificateEncodingException, java.security.NoSuchAlgorithmException
CMSKeyTransRecipientInfoSpec
object.
Note the changes in the Method signature
Previouslypublic CMSKeyTransRecipientInfoSpec (X509 cert)
Nowpublic CMSKeyTransRecipientInfoSpec (X509Certificate cert)
Note the changes in exceptions Exceptions introduced -- IOException,CertificateEncodingException ,NoSuchAlgorithmException
cert
- The recipient's X509 certificate.java.io.IOException
java.security.cert.CertificateEncodingException
java.security.NoSuchAlgorithmException
public CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID) throws java.io.IOException, java.security.cert.CertificateEncodingException
CMSKeyTransRecipientInfoSpec
object.
Note the changes in the Method signature
Previouslypublic CMSKeyTransRecipientInfoSpec (X509 cert, AlgorithmIdentifier)
Nowpublic CMSKeyTransRecipientInfoSpec (X509Certificate cert, AlgorithmIdentifier)
Note the changes in exceptions Exceptions introduced -- IOException,CertificateEncodingException
cert
- The recipient's X509 certificate.keyEncryptionAlgID
- The key transport algorithm.java.io.IOException
java.security.cert.CertificateEncodingException
public CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, boolean useSPKI64) throws java.security.NoSuchAlgorithmException
CMSKeyTransRecipientInfoSpec
object.
Note the changes in the Method signature
Previouslypublic CMSKeyTransRecipientInfoSpec (X509 , boolean )
Nowpublic CMSKeyTransRecipientInfoSpec (X509Certificate , boolean )
Note the changes in exceptions Exceptions introduced -- NoSuchAlgorithmException Exceptions not thrown -- AlgorithmIdentifierException
cert
- The recipient's X509 certificateuseSPKI64
- Uses Subject Public Key Identifier as the recipient identifier. If true
, uses a 64 bit SPKI; If false
, uses a 160 bit SPKI.java.security.NoSuchAlgorithmException
- Algorithm not supportedpublic CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, boolean useSPKI64) throws java.security.NoSuchAlgorithmException
CMSKeyTransRecipientInfoSpec
object.
Note the changes in the Method signature
Previously public CMSKeyTransRecipientInfoSpec (X509 , AlgorithmIdentifier , boolean )
Nowpublic CMSKeyTransRecipientInfoSpec (X509Certificate , AlgorithmIdentifier , boolean )
Note the changes in exceptions Exceptions introduced -- NoSuchAlgorithmException Exceptions not thrown -- AlgorithmIdentifierException
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.java.security.NoSuchAlgorithmException
public CMSKeyTransRecipientInfoSpec(java.security.cert.X509Certificate cert, byte[] spki, oracle.security.crypto.core.AlgorithmIdentifier keyEncryptionAlgID, java.security.PublicKey recipientKey)
CMSKeyTransRecipientInfoSpec
object.
Note the changes in the Method signature
Previouslypublic CMSKeyTransRecipientInfoSpec (X509, byte[], AlgorithmIdentifier , oracle.security.crypto.core.PublicKey )
Nowpublic CMSKeyTransRecipientInfoSpec (X509Certificate, byte[], AlgorithmIdentifier , java.security.PublicKey )
cert
- The recipient's X509 certificate.spki
- The subject key identifier.keyEncryptionAlgID
- The key transport algorithm.Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
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 java.security.PublicKey getRecipientKey()
public byte[] getSPKI()
public boolean useSPKI64()
true
if SPKI is being used; false
otherwise.
|
Oracle Fusion Middleware CMS Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10667-03 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |