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

pack-priv Class X509CRLInternal

extends X509CRLImpl
Class Inheritance
Imports
java.security.cert.CRLException, org.bouncycastle.asn1.x509.CertificateList, org.bouncycastle.jcajce.util.JcaJceHelper

This class exists to let equals(Object) and hashCode() methods be delegated efficiently to the platform default implementations (especially important for compatibility of hashCode() calculations). Those methods fall back to calling getEncoded() for third-party subclasses, and this class allows us to avoid cloning the return value of getEncoded() for those callers.

Field Summary

Modifier and TypeField and Description
private final byte[]
private final CRLException
Inherited from org.bouncycastle.jcajce.provider.asymmetric.x509.X509CRLImpl:
bcHelpercisIndirectsigAlgNamesigAlgParams

Constructor Summary

AccessConstructor and Description
pack-priv
X509CRLInternal(JcaJceHelper bcHelper, CertificateList c, String sigAlgName, byte[] sigAlgParams, boolean isIndirect, byte[] encoding, CRLException exception)

Method Summary

Modifier and TypeMethod and Description
public byte[]
getEncoded()

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

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

Inherited from org.bouncycastle.jcajce.provider.asymmetric.x509.X509CRLImpl:
getCriticalExtensionOIDsgetExtensionOctetsgetExtensionValuegetExtensionValuegetIssuerDNgetIssuerX500PrincipalgetNextUpdategetNonCriticalExtensionOIDsgetRevokedCertificategetRevokedCertificatesgetSigAlgNamegetSigAlgOIDgetSigAlgParamsgetSignaturegetTBSCertListgetThisUpdategetVersionhasUnsupportedCriticalExtensionisRevokedtoStringverifyverifyverify

Field Detail

encodingback to summary
private final byte[] encoding
exceptionback to summary
private final CRLException exception

Constructor Detail

X509CRLInternalback to summary
pack-priv X509CRLInternal(JcaJceHelper bcHelper, CertificateList c, String sigAlgName, byte[] sigAlgParams, boolean isIndirect, byte[] encoding, CRLException exception)

Method Detail

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.