Top Inners Fields Constructors Methods
org.bouncycastle.jcajce.provider.asymmetric.x509

pack-priv Class X509CRLObject

extends X509CRLImpl
Class Inheritance
Imports
java.io.IOException, java.security.cert.CRLException, org.bouncycastle.asn1.ASN1BitString, .ASN1Encodable, .ASN1Encoding, org.bouncycastle.asn1.x509.CertificateList, .Extension, .IssuingDistributionPoint, org.bouncycastle.jcajce.util.JcaJceHelper, org.bouncycastle.util.Arrays

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final Object
private volatile int
private volatile boolean
private X509CRLInternal
Inherited from org.bouncycastle.jcajce.provider.asymmetric.x509.X509CRLImpl:
bcHelpercisIndirectsigAlgNamesigAlgParams

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static String
private static byte[]
public boolean
equals(Object
the object to test for equality with this CRL.
other
)

Overrides java.security.cert.X509CRL.equals.

Compares this CRL for equality with the given object.
public byte[]
getEncoded()

Implements abstract java.security.cert.X509CRL.getEncoded.

Returns the ASN.1 DER-encoded form of this CRL.
private X509CRLInternal
public int
hashCode()

Overrides java.security.cert.X509CRL.hashCode.

Returns a hashcode value for this CRL from its encoded form.
private static boolean
Inherited from org.bouncycastle.jcajce.provider.asymmetric.x509.X509CRLImpl:
getCriticalExtensionOIDsgetExtensionOctetsgetExtensionValuegetExtensionValuegetIssuerDNgetIssuerX500PrincipalgetNextUpdategetNonCriticalExtensionOIDsgetRevokedCertificategetRevokedCertificatesgetSigAlgNamegetSigAlgOIDgetSigAlgParamsgetSignaturegetTBSCertListgetThisUpdategetVersionhasUnsupportedCriticalExtensionisRevokedtoStringverifyverifyverify

Field Detail

cacheLockback to summary
private final Object cacheLock
hashValueback to summary
private volatile int hashValue
hashValueSetback to summary
private volatile boolean hashValueSet
internalCRLValueback to summary
private X509CRLInternal internalCRLValue

Constructor Detail

X509CRLObjectback to summary
pack-priv X509CRLObject(JcaJceHelper bcHelper, CertificateList c) throws CRLException

Method Detail

createSigAlgNameback to summary
private static String createSigAlgName(CertificateList c) throws CRLException
createSigAlgParamsback to summary
private static byte[] createSigAlgParams(CertificateList c) throws CRLException
equalsback to summary
public boolean equals(Object other)

Overrides java.security.cert.X509CRL.equals.

Doc from java.security.cert.X509CRL.equals.

Compares this CRL for equality with the given object. If the other object is an instanceof X509CRL, then its encoded form is retrieved and compared with the encoded form of this CRL.

Parameters
other:Object

the object to test for equality with this CRL.

Returns:boolean

true iff the encoded forms of the two CRLs match, false otherwise.

getEncodedback to summary
public byte[] getEncoded() throws CRLException

Implements abstract java.security.cert.X509CRL.getEncoded.

Doc from java.security.cert.X509CRL.getEncoded.

Returns the ASN.1 DER-encoded form of this CRL.

Returns:byte[]

the encoded form of this certificate

Exceptions
CRLException:
if an encoding error occurs.
getInternalCRLback to summary
private X509CRLInternal getInternalCRL()
hashCodeback to summary
public int hashCode()

Overrides java.security.cert.X509CRL.hashCode.

Doc from java.security.cert.X509CRL.hashCode.

Returns a hashcode value for this CRL from its encoded form.

Returns:int

the hashcode value.

isIndirectCRLback to summary
private static boolean isIndirectCRL(CertificateList c) throws CRLException
org.bouncycastle.jcajce.provider.asymmetric.x509 back to summary

private Class X509CRLObject.X509CRLException

extends CRLException
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Throwable

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Throwable
getCause()

Overrides java.lang.Throwable.getCause.

Returns the cause of this throwable or null if the cause is nonexistent or unknown.

Field Detail

causeback to summary
private final Throwable cause

Hides java.lang.Throwable.cause.

Constructor Detail

X509CRLExceptionback to summary
pack-priv X509CRLException(String msg, Throwable cause)
X509CRLExceptionback to summary
pack-priv X509CRLException(Throwable cause)

Method Detail

getCauseback to summary
public Throwable getCause()

Overrides java.lang.Throwable.getCause.

Doc from java.lang.Throwable.getCause.

Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.)

This implementation returns the cause that was supplied via one of the constructors requiring a Throwable, or that was set after creation with the initCause(Throwable) method. While it is typically unnecessary to override this method, a subclass can override it to return a cause set by some other means. This is appropriate for a "legacy chained throwable" that predates the addition of chained exceptions to Throwable. Note that it is not necessary to override any of the PrintStackTrace methods, all of which invoke the getCause method to determine the cause of a throwable.

Returns:Throwable

the cause of this throwable or null if the cause is nonexistent or unknown.