|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cmp.PKIMessageBody
oracle.security.crypto.cmp.CertConfirm
public class CertConfirm
PKI message body of type Certificate Confirmation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.security.crypto.cmp.PKIMessageBody |
---|
PKIMessageBody.Type |
Constructor Summary | |
---|---|
CertConfirm() Create a CertConfirm . |
|
CertConfirm(java.io.InputStream is) |
|
CertConfirm(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID) Note the changes in the method signature |
|
CertConfirm(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID, PKIStatusInfo status) Note the changes in the method signature |
Method Summary | |
---|---|
void |
addCertificate(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID) Note the changes in the method signature |
void |
addCertificate(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID, PKIStatusInfo status) Note the changes in the method signature |
java.util.Enumeration |
certHashes() Return an enumeration of the certificate hashes. |
java.util.Enumeration |
certReqIDs() Return the certificate request IDs. |
PKIStatusInfo |
getStatusInfo(java.math.BigInteger certReqID) Returns a PKIStatusInfo corresponding to the given cert request ID. |
PKIStatusInfo |
getStatusInfo(byte[] hash) Returns a PKIStatusInfo corresponding to the given hash. |
PKIMessageBody.Type |
getType() Returns one of the values defined in PKIMessageBody.Type . |
void |
input(java.io.InputStream is) |
java.lang.String |
toString() |
Methods inherited from class oracle.security.crypto.cmp.PKIMessageBody |
---|
inputInstance, length, output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CertConfirm()
CertConfirm
.public CertConfirm(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID) throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateEncodingException
Note the changes in the method signature
Previouslypublic CertConfirm (X509, BigInteger )
Now public CertConfirm (X509Certificate , BigInteger )
Note the change in the exceptions declared to be thrown.
Exceptions no longer thrown -- AlgorithmIdentifierException
Exceptions introduced -- NoSuchAlgorithmException,CertificateEncodingException
java.security.NoSuchAlgorithmException
java.security.cert.CertificateEncodingException
public CertConfirm(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID, PKIStatusInfo status) throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateEncodingException
Note the changes in the method signature
Previouslypublic CertConfirm (X509, BigInteger, PKIStatusInfo )
Now public CertConfirm (X509Certificate , BigInteger , PKIStatusInfo )
Note the change in the exceptions declared to be thrown.
Exceptions no longer thrown -- AlgorithmIdentifierException
Exceptions introduced -- NoSuchAlgorithmException,CertificateEncodingException
cert
- - X509 CertificatecertReqID
- - the request idstatus
- - the pki statusjava.security.NoSuchAlgorithmException
java.security.cert.CertificateEncodingException
public CertConfirm(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addCertificate(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID) throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateEncodingException
Note the changes in the method signature
Previously public void addCertificate (X509, BigInteger )
Now public void addCertificate (X509Certificate, BigInteger )
Note the change in the exceptions declared to be thrown.
Exceptions no longer thrown -- AlgorithmIdentifierException
Exceptions introduced -- NoSuchAlgorithmException,CertificateEncodingException
java.security.NoSuchAlgorithmException
java.security.cert.CertificateEncodingException
public void addCertificate(java.security.cert.X509Certificate cert, java.math.BigInteger certReqID, PKIStatusInfo status) throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateEncodingException
Note the changes in the method signature
Previously public void addCertificate (X509, BigInteger ,PKIStatusInfo)
Now public void addCertificate (X509Certificate, BigInteger ,PKIStatusInfo)
Note the change in the exceptions declared to be thrown.
Exceptions no longer thrown -- AlgorithmIdentifierException
Exceptions introduced -- NoSuchAlgorithmException,CertificateEncodingException
java.security.NoSuchAlgorithmException
java.security.cert.CertificateEncodingException
public java.util.Enumeration certHashes()
public java.util.Enumeration certReqIDs()
public PKIStatusInfo getStatusInfo(byte[] hash)
public PKIStatusInfo getStatusInfo(java.math.BigInteger certReqID)
public PKIMessageBody.Type getType()
PKIMessageBody
PKIMessageBody.Type
.getType
in class PKIMessageBody
public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |