|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 10g (10.1.4.0.1) B28166-01 |
|||||||||
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.RevAnnouncement
PKI message body of type Revocation Announcement. Used to announce when a CA has, or is about to, revoke a certificate.
Nested Class Summary |
Nested classes inherited from class oracle.security.crypto.cmp.PKIMessageBody |
PKIMessageBody.Type |
Constructor Summary | |
RevAnnouncement() Create an empty RevAnnouncement . |
|
RevAnnouncement(java.io.InputStream is) |
|
RevAnnouncement(PKIStatusInfo status, PKICertID certID, java.util.Date willBeRevokedAt, java.util.Date badSinceDate) Create a new RevAnnouncement . |
Method Summary | |
void |
addCRLDetail(oracle.security.crypto.cert.X509Extension detail) Add an X509Extension to the set of CRL details. |
java.util.Date |
getBadSinceDate() Get the date since which the certificate has been invalid. |
PKICertID |
getCertID() Get the certificate ID of the revoked certificate. |
oracle.security.crypto.cert.X509ExtensionSet |
getCRLDetails() Get the set of CRL details. |
PKIStatusInfo |
getStatus() Get the status info for this message. |
PKIMessageBody.Type |
getType() Returns one of the values defined in PKIMessageBody.Type . |
java.util.Date |
getWillBeRevokedAt() Get the date at which the certificate will be revoked (i.e., when it will be added to the relevant CRLs). |
void |
input(java.io.InputStream is) Initializes this object by reading its encoding from the given input stream. |
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 RevAnnouncement()
RevAnnouncement
.public RevAnnouncement(PKIStatusInfo status, PKICertID certID, java.util.Date willBeRevokedAt, java.util.Date badSinceDate)
RevAnnouncement
.status
- the status info for this message.certID
- the cert ID of the certificate to be revoked.willBeRevokedAt
- the date at which the certificate will be revoked.badSinceDate
- the date since which the certificate has been invalid.public RevAnnouncement(java.io.InputStream is) throws java.io.IOException
Method Detail |
public void addCRLDetail(oracle.security.crypto.cert.X509Extension detail)
X509Extension
to the set of CRL details.public oracle.security.crypto.cert.X509ExtensionSet getCRLDetails()
X509ExtensionSet
, or null
if none are defined.public PKIStatusInfo getStatus()
public PKICertID getCertID()
public java.util.Date getWillBeRevokedAt()
public java.util.Date getBadSinceDate()
public PKIMessageBody.Type getType()
PKIMessageBody
PKIMessageBody.Type
.getType
in class PKIMessageBody
public java.lang.String toString()
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 10g (10.1.4.0.1) B28166-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |