Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


oracle.security.crypto.jce.cert
Class CRLImpl

java.lang.Object
  extended by java.security.cert.CRL
      extended by java.security.cert.X509CRL
          extended by oracle.security.crypto.jce.cert.CRLImpl

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

public class CRLImpl
extends java.security.cert.X509CRL
implements oracle.security.crypto.asn1.ASN1Object

Field Summary
protected  boolean decoded
           

 

Constructor Summary
CRLImpl()
           
CRLImpl(java.io.InputStream is)
          Construct from the specified input stream.

 

Method Summary
 boolean equals(java.lang.Object o)
          Compare this certificate to the specified object.
 java.util.Set getCriticalExtensionOIDs()
           
 byte[] getEncoded()
          Returns the ASN.1 encoding.
 byte[] getExtensionValue(java.lang.String oid)
           
 java.security.Principal getIssuerDN()
          Returns the name of the issuer.
 java.util.Date getNextUpdate()
          Get the next update.
 java.util.Set getNonCriticalExtensionOIDs()
           
 java.security.cert.X509CRLEntry getRevokedCertificate(java.math.BigInteger serialNo)
           
 java.util.Set getRevokedCertificates()
           
 java.lang.String getSigAlgName()
           
 java.lang.String getSigAlgOID()
          Get the string representation of the signature algorithm used to sign this certificate.
 byte[] getSigAlgParams()
           
 byte[] getSignature()
          Returns the signature bytes, signing the certificate first if needed.
 byte[] getTBSCertList()
           
 java.util.Date getThisUpdate()
          Get the this update.
 int getVersion()
           
 int hashCode()
           
 boolean hasUnsupportedCriticalExtension()
           
 void input(java.io.InputStream is)
           
 boolean isRevoked(java.security.cert.Certificate cert)
           
 int length()
          Returns length of DER encoding of this certificate.
 void output(java.io.OutputStream os)
          Output to the specified output stream.
 java.lang.String toString()
          Returns a verbose humanly readable representation of this certificate.
 void verify(java.security.PublicKey key)
          Verifies this certificate.
 void verify(java.security.PublicKey key, java.lang.String sigProvider)
          Verifies this certificate.

 

Methods inherited from class java.security.cert.X509CRL
getIssuerX500Principal, getRevokedCertificate

 

Methods inherited from class java.security.cert.CRL
getType

 

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

 

Field Detail

decoded

protected boolean decoded

Constructor Detail

CRLImpl

public CRLImpl()

CRLImpl

public CRLImpl(java.io.InputStream is)
        throws java.io.IOException
Construct from the specified input stream.
Throws:
java.io.IOException

Method Detail

isRevoked

public boolean isRevoked(java.security.cert.Certificate cert)
Specified by:
isRevoked in class java.security.cert.CRL

getRevokedCertificate

public java.security.cert.X509CRLEntry getRevokedCertificate(java.math.BigInteger serialNo)
Specified by:
getRevokedCertificate in class java.security.cert.X509CRL

getRevokedCertificates

public java.util.Set getRevokedCertificates()
Specified by:
getRevokedCertificates in class java.security.cert.X509CRL

input

public void input(java.io.InputStream is)
           throws java.io.IOException
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
Output to the specified output stream.
Specified by:
output in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

length

public int length()
Returns length of DER encoding of this certificate.

Throws a StreamableOutputException if an error occurs while generating the DER encoding.

Specified by:
length in interface oracle.security.crypto.util.Streamable

getEncoded

public byte[] getEncoded()
Returns the ASN.1 encoding.

Throws a StreamableOutputException if an error occurs while generating the encoded bytes.

Specified by:
getEncoded in class java.security.cert.X509CRL

getTBSCertList

public byte[] getTBSCertList()
Specified by:
getTBSCertList in class java.security.cert.X509CRL

getSignature

public byte[] getSignature()
Returns the signature bytes, signing the certificate first if needed.
Specified by:
getSignature in class java.security.cert.X509CRL

verify

public void verify(java.security.PublicKey key,
                   java.lang.String sigProvider)
            throws java.security.cert.CRLException,
                   java.security.NoSuchAlgorithmException,
                   java.security.InvalidKeyException,
                   java.security.NoSuchProviderException,
                   java.security.SignatureException
Verifies this certificate.
Specified by:
verify in class java.security.cert.X509CRL
Throws:
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException

verify

public void verify(java.security.PublicKey key)
            throws java.security.cert.CRLException,
                   java.security.NoSuchAlgorithmException,
                   java.security.InvalidKeyException,
                   java.security.NoSuchProviderException,
                   java.security.SignatureException
Verifies this certificate.
Specified by:
verify in class java.security.cert.X509CRL
Throws:
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException

getThisUpdate

public java.util.Date getThisUpdate()
Get the this update.
Specified by:
getThisUpdate in class java.security.cert.X509CRL

getNextUpdate

public java.util.Date getNextUpdate()
Get the next update.
Specified by:
getNextUpdate in class java.security.cert.X509CRL

getIssuerDN

public java.security.Principal getIssuerDN()
Returns the name of the issuer.
Specified by:
getIssuerDN in class java.security.cert.X509CRL

getSigAlgOID

public java.lang.String getSigAlgOID()
Get the string representation of the signature algorithm used to sign this certificate.
Specified by:
getSigAlgOID in class java.security.cert.X509CRL

getSigAlgName

public java.lang.String getSigAlgName()
Specified by:
getSigAlgName in class java.security.cert.X509CRL

getSigAlgParams

public byte[] getSigAlgParams()
Specified by:
getSigAlgParams in class java.security.cert.X509CRL

getVersion

public int getVersion()
Specified by:
getVersion in class java.security.cert.X509CRL

getCriticalExtensionOIDs

public java.util.Set getCriticalExtensionOIDs()
Specified by:
getCriticalExtensionOIDs in interface java.security.cert.X509Extension

getNonCriticalExtensionOIDs

public java.util.Set getNonCriticalExtensionOIDs()
Specified by:
getNonCriticalExtensionOIDs in interface java.security.cert.X509Extension

getExtensionValue

public byte[] getExtensionValue(java.lang.String oid)
Specified by:
getExtensionValue in interface java.security.cert.X509Extension

hasUnsupportedCriticalExtension

public boolean hasUnsupportedCriticalExtension()
Specified by:
hasUnsupportedCriticalExtension in interface java.security.cert.X509Extension

equals

public boolean equals(java.lang.Object o)
Compare this certificate to the specified object. Returns true if and only if the argument is not null and is an X509 object which has the same DER encoding as this object.
Overrides:
equals in class java.security.cert.X509CRL

hashCode

public int hashCode()
Overrides:
hashCode in class java.security.cert.X509CRL

toString

public java.lang.String toString()
Returns a verbose humanly readable representation of this certificate. This method is recommended to be used only for debugging.
Specified by:
toString in class java.security.cert.CRL

Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


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