|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 |
||||||||
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.PKICertRepMessage
public abstract class PKICertRepMessage
PKIMessageBody
used for PKI certification responses.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.security.crypto.cmp.PKIMessageBody |
---|
PKIMessageBody.Type |
Constructor Summary | |
---|---|
protected |
PKICertRepMessage() Create a new, empty PKICertRepMessage message body. |
protected |
PKICertRepMessage(CertResponse cr) Create a new PKICertRepMessage message body with the specified CertResponse . |
protected |
PKICertRepMessage(java.io.InputStream is) |
Method Summary | |
---|---|
void |
addCertificate(java.security.cert.X509Certificate c) Add a certificate to this response message body. |
void |
addCertResponse(CertResponse cr) Add a CertResponse to this response message body. |
java.util.Vector |
getCertificates() Get any CA certificates included in this message body. |
java.util.Vector |
getCertResponses() Get the certificate responses in this message body. |
void |
input(java.io.InputStream is) |
java.lang.String |
toString() |
Methods inherited from class oracle.security.crypto.cmp.PKIMessageBody |
---|
getType, inputInstance, length, output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PKICertRepMessage()
PKICertRepMessage
message body. Since such an object is not valid, this constructor is intended primarily for use with the input(java.io.InputStream)
method.protected PKICertRepMessage(CertResponse cr)
PKICertRepMessage
message body with the specified CertResponse
.protected PKICertRepMessage(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addCertificate(java.security.cert.X509Certificate c) throws java.security.cert.CertificateEncodingException
Note the changes in the method signature
Previously public void addCertificate (X509)
Now public void addCertificate (X509Certificate )
Note : CertificateEncodingException is introduced
java.security.cert.CertificateEncodingException
public void addCertResponse(CertResponse cr)
CertResponse
to this response message body.public java.util.Vector getCertificates()
Vector
containg the CA X509
certificates if any, otherwise null
.public java.util.Vector getCertResponses()
Vector
of CertResponse
objects.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 Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |