Skip navigation links

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

E10666-05


oracle.security.crypto.cmp
Class RevDetails

java.lang.Object
  extended by oracle.security.crypto.cmp.RevDetails

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

public class RevDetails
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object

Specifies details for a revocation request message body.

See Also:
RevocationRequest

Constructor Summary
RevDetails()
          Create a new, empty RevDetails.
RevDetails(CertTemplate certTemp)
          Create a new RevDetails with the given certificate template.
RevDetails(CertTemplate certTemp, oracle.security.crypto.cert.X509ExtensionSet extensions)
          Create a new RevDetails with the given certificate template and crlEntryExtensions.
RevDetails(java.io.InputStream is)
           

 

Method Summary
 void addExtension(oracle.security.crypto.cert.X509Extension ext)
          Add a X509Extension to the set of CRL entry details.
 CertTemplate getCertTemplate()
          Returns the certificate template.
 oracle.security.crypto.cert.X509Extension getExtension(oracle.security.crypto.asn1.ASN1ObjectID id)
          Returns the first extension with the specified ID, or null if it is not present.
 oracle.security.crypto.cert.X509ExtensionSet getExtensions()
          Returns all the CRL entry extensions for the revoked certificate.
 void input(java.io.InputStream is)
          Initializes this object by reading its encoding from the given input stream.
 int length()
          Returns the length of this object's encoding in bytes.
 void output(java.io.OutputStream os)
          Writes this object's encoding to the specified output stream.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

RevDetails

public RevDetails()
Create a new, empty RevDetails.

RevDetails

public RevDetails(CertTemplate certTemp)
Create a new RevDetails with the given certificate template.

RevDetails

public RevDetails(CertTemplate certTemp,
                  oracle.security.crypto.cert.X509ExtensionSet extensions)
Create a new RevDetails with the given certificate template and crlEntryExtensions.

RevDetails

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

Method Detail

getCertTemplate

public CertTemplate getCertTemplate()
Returns the certificate template.

getExtensions

public oracle.security.crypto.cert.X509ExtensionSet getExtensions()
Returns all the CRL entry extensions for the revoked certificate.
Returns:
the CRL entry extensions

getExtension

public oracle.security.crypto.cert.X509Extension getExtension(oracle.security.crypto.asn1.ASN1ObjectID id)
Returns the first extension with the specified ID, or null if it is not present.
Parameters:
id - the ID number
Returns:
the first extension with the specified ID, or null if it is not present.

addExtension

public void addExtension(oracle.security.crypto.cert.X509Extension ext)
Add a X509Extension to the set of CRL entry details.

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.
Specified by:
input in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Writes this object's encoding to the specified output stream.
Specified by:
output in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

length

public int length()
Returns the length of this object's encoding in bytes.
Specified by:
length in interface oracle.security.crypto.util.Streamable

Skip navigation links

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

E10666-05


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