|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.RevokedCertificate
This class represents a revoked certificate, that is, an entry in an X.509 CRL.
A revoked certificate consists of a serial number, a revocation date, and optionally a set of CRL entry extensions.
CRL
Constructor Summary | |
RevokedCertificate(java.math.BigInteger sn, java.util.Date rd) Creates a new revoked certificate, with the given serial number, revocation date. |
|
RevokedCertificate(java.math.BigInteger sn, java.util.Date rd, java.util.Vector exts) Creates a new revoked certificate, with the given serial number, revocation date, and set of extensions. |
|
RevokedCertificate(java.math.BigInteger sn, java.util.Date rd, X509ExtensionSet exts) Creates a new revoked certificate, with the given serial number, revocation date, and set of extensions. |
|
RevokedCertificate(java.io.InputStream is) |
Method Summary | |
void |
addExtension(X509Extension ext) |
java.util.Enumeration |
extensionTypes() Returns an enumeration of the this revoked certificate's extension types. |
X509Extension |
getExtension(oracle.security.crypto.asn1.ASN1ObjectID type) Returns the extension with the specified OID. |
java.util.Vector |
getExtensions() Returns a vector of the CRL entry extensions for this revoked certificate. |
X509ExtensionSet |
getExtensionSet() Returns the CRL entry extensions for this revoked certificate. |
java.util.Date |
getRevocationDate() Returns the date on which the certificate was revoked. |
java.math.BigInteger |
getSerialNo() Returns the serial number of the certificate which was revoked. |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
java.lang.String |
toString() Returns a string representation of this RevokedCertificate object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RevokedCertificate(java.math.BigInteger sn, java.util.Date rd)
sn
- the serial numberrd
- the revocation datepublic RevokedCertificate(java.math.BigInteger sn, java.util.Date rd, X509ExtensionSet exts)
sn
- the serial numberrd
- the revocation dateexts
- the set of extensionspublic RevokedCertificate(java.math.BigInteger sn, java.util.Date rd, java.util.Vector exts)
sn
- the serial numberrd
- the revocation dateexts
- the set of extension - each element must be an instance of X509Extension
.public RevokedCertificate(java.io.InputStream is) throws java.io.IOException
Method Detail |
public java.math.BigInteger getSerialNo()
public java.util.Date getRevocationDate()
public void addExtension(X509Extension ext)
public X509ExtensionSet getExtensionSet()
public java.util.Vector getExtensions()
Vector
of X509Extension
, or null
if no extensions are defined.public java.util.Enumeration extensionTypes()
Enumeration
of ASN1ObjectID
, or null
if no extensions are defined.public X509Extension getExtension(oracle.security.crypto.asn1.ASN1ObjectID type)
type
- the OID for the type of extensionnull
if it is not present.public java.lang.String toString()
RevokedCertificate
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
|
Oracle Security Developer Tools Security Engine Java API Reference 10g (10.1.4.0.1) B28175-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |