public class RevAnnouncement extends PKIMessageBody
PKIMessageBody.Type| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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() |
inputInstance, length, outputpublic 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
java.io.IOExceptionpublic 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()
PKIMessageBodyPKIMessageBody.Type.getType in class PKIMessageBodypublic java.lang.String toString()
toString in class java.lang.Object
public void input(java.io.InputStream is)
throws java.io.IOException
java.io.IOException