public class RevDetails
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object
RevocationRequest
Constructor and Description |
---|
RevDetails()
Create a new, empty
RevDetails . |
RevDetails(CertTemplate certTemp)
Create a new
RevDetails with the given certificate template. |
RevDetails(CertTemplate certTemp, X509ExtensionSet extensions)
Create a new
RevDetails with the given certificate template and crlEntryExtensions. |
RevDetails(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(X509Extension ext)
Add a
X509Extension to the set of CRL entry details. |
CertTemplate |
getCertTemplate()
Returns the certificate template.
|
X509Extension |
getExtension(oracle.security.crypto.asn1.ASN1ObjectID id)
Returns the first extension with the specified ID, or
null if it is not present. |
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() |
public RevDetails()
RevDetails
.public RevDetails(CertTemplate certTemp)
RevDetails
with the given certificate template.public RevDetails(CertTemplate certTemp, X509ExtensionSet extensions)
RevDetails
with the given certificate template and crlEntryExtensions.public RevDetails(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public CertTemplate getCertTemplate()
public X509ExtensionSet getExtensions()
public X509Extension getExtension(oracle.security.crypto.asn1.ASN1ObjectID id)
null
if it is not present.id
- the ID numbernull
if it is not present.public void addExtension(X509Extension ext)
X509Extension
to the set of CRL entry details.public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
input
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
output
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public int length()
length
in interface oracle.security.crypto.util.Streamable