Skip navigation links

Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10666-03


oracle.security.crypto.cmp
Class RevAnnouncement

java.lang.Object
  extended by oracle.security.crypto.cmp.PKIMessageBody
      extended by oracle.security.crypto.cmp.RevAnnouncement

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class RevAnnouncement
extends PKIMessageBody

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/interfaces 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

RevAnnouncement

public RevAnnouncement()
Create an empty RevAnnouncement.

RevAnnouncement

public RevAnnouncement(PKIStatusInfo status,
                       PKICertID certID,
                       java.util.Date willBeRevokedAt,
                       java.util.Date badSinceDate)
Create a new RevAnnouncement.
Parameters:
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.

RevAnnouncement

public RevAnnouncement(java.io.InputStream is)
                throws java.io.IOException
Throws:
java.io.IOException

Method Detail

addCRLDetail

public void addCRLDetail(oracle.security.crypto.cert.X509Extension detail)
Add an X509Extension to the set of CRL details.

getCRLDetails

public oracle.security.crypto.cert.X509ExtensionSet getCRLDetails()
Get the set of CRL details.
Returns:
a X509ExtensionSet, or null if none are defined.

getStatus

public PKIStatusInfo getStatus()
Get the status info for this message.

getCertID

public PKICertID getCertID()
Get the certificate ID of the revoked certificate.

getWillBeRevokedAt

public 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).

getBadSinceDate

public java.util.Date getBadSinceDate()
Get the date since which the certificate has been invalid.

getType

public PKIMessageBody.Type getType()
Description copied from class: PKIMessageBody
Returns one of the values defined in PKIMessageBody.Type.
Specified by:
getType in class PKIMessageBody

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Initializes this object by reading its encoding from the given input stream.
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10666-03


Copyright © 2005, 2011 , Oracle. All rights reserved.