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 RevocationResponse

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

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

public class RevocationResponse
extends PKIMessageBody

PKI message body of type Revocation Response.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.crypto.cmp.PKIMessageBody
PKIMessageBody.Type

 

Constructor Summary
RevocationResponse()
          Creates an empty RevocationResponse.
RevocationResponse(java.io.InputStream is)
           
RevocationResponse(PKIStatusInfo stat)
          Create a new RevocationReponse message body with the specified PKIStatuesInfo.
RevocationResponse(PKIStatusInfo stat, PKICertID certID)
          Create a new RevocationReponse message body with the specified PKIStatuesInfo and cert ID.

 

Method Summary
 void addCRL(oracle.security.crypto.cert.CRL crl)
          Add a CRL to this RevocationResponse.
 void addStatus(PKIStatusInfo stat)
          Add a PKIStatusInfo to this RevocationResponse message.
 void addStatus(PKIStatusInfo stat, PKICertID certID)
          Add a PKIStatusInfo and a corresponding CertId to this RevocationResponse message.
 java.util.Vector getCRLs()
          Return the sequence of CRL.
 java.util.Vector getRevCertIDs()
          Return the sequence of CertId.
 java.util.Vector getStatus()
          Return the sequence of PKIStatusInfo.
 PKIMessageBody.Type getType()
          Returns one of the values defined in PKIMessageBody.Type.
 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

RevocationResponse

public RevocationResponse()
Creates an empty RevocationResponse. At least one PKIStatusInfo must be added in order for the message to be valid.

RevocationResponse

public RevocationResponse(PKIStatusInfo stat)
Create a new RevocationReponse message body with the specified PKIStatuesInfo.

RevocationResponse

public RevocationResponse(PKIStatusInfo stat,
                          PKICertID certID)
Create a new RevocationReponse message body with the specified PKIStatuesInfo and cert ID.

RevocationResponse

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

Method Detail

addStatus

public void addStatus(PKIStatusInfo stat)
Add a PKIStatusInfo to this RevocationResponse message. It is an error to invoke both this method and the form taking a CertId second argument on the same RevocationResponse object.

addStatus

public void addStatus(PKIStatusInfo stat,
                      PKICertID certID)
Add a PKIStatusInfo and a corresponding CertId to this RevocationResponse message. It is an error to invoke both this method and the form taking a single PKIStatusInfo argument on the same RevocationResponse object.

addCRL

public void addCRL(oracle.security.crypto.cert.CRL crl)
Add a CRL to this RevocationResponse.

getStatus

public java.util.Vector getStatus()
Return the sequence of PKIStatusInfo.

getRevCertIDs

public java.util.Vector getRevCertIDs()
Return the sequence of CertId.

getCRLs

public java.util.Vector getCRLs()
Return the sequence of CRL.

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.