Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


oracle.security.crypto.cmp
Class RevDetails

java.lang.Object
  extended byoracle.security.crypto.cmp.RevDetails


public class RevDetails
extends java.lang.Object

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(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

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(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()

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

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Writes this object's encoding to the specified output stream.
Throws:
java.io.IOException

length

public int length()
Returns the length of this object's encoding in bytes.

Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g Release 2 (10.1.2.0.2)

B15559-01


Copyright © 2005 , Oracle. All rights reserved.