Package org.bouncycastle.asn1.x509
Class CertificateList
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.CertificateList
-
- All Implemented Interfaces:
ASN1Encodable,Encodable
public class CertificateList extends ASN1Object
PKIX RFC-2459 The X.509 v2 CRL syntax is as follows. For signature calculation, the data that is to be signed is ASN.1 DER encoded.CertificateList ::= SEQUENCE { tbsCertList TBSCertList, signatureAlgorithm AlgorithmIdentifier, signatureValue BIT STRING }
-
-
Constructor Summary
Constructors Constructor Description CertificateList(ASN1Sequence seq)Deprecated.use getInstance() method.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateListgetInstance(Object obj)static CertificateListgetInstance(ASN1TaggedObject obj, boolean explicit)X500NamegetIssuer()TimegetNextUpdate()EnumerationgetRevokedCertificateEnumeration()TBSCertList.CRLEntry[]getRevokedCertificates()DERBitStringgetSignature()AlgorithmIdentifiergetSignatureAlgorithm()TBSCertListgetTBSCertList()TimegetThisUpdate()intgetVersionNumber()inthashCode()Returns an integer hash code for this object.ASN1PrimitivetoASN1Primitive()Method providing a primitive representation of this object suitable for encoding.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
-
-
-
-
Constructor Detail
-
CertificateList
public CertificateList(ASN1Sequence seq)
Deprecated.use getInstance() method.- Parameters:
seq-
-
-
Method Detail
-
getInstance
public static CertificateList getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
public static CertificateList getInstance(Object obj)
-
getTBSCertList
public TBSCertList getTBSCertList()
-
getRevokedCertificates
public TBSCertList.CRLEntry[] getRevokedCertificates()
-
getRevokedCertificateEnumeration
public Enumeration getRevokedCertificateEnumeration()
-
getSignatureAlgorithm
public AlgorithmIdentifier getSignatureAlgorithm()
-
getSignature
public DERBitString getSignature()
-
getVersionNumber
public int getVersionNumber()
-
getIssuer
public X500Name getIssuer()
-
getThisUpdate
public Time getThisUpdate()
-
getNextUpdate
public Time getNextUpdate()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
hashCode
public int hashCode()
Description copied from class:ObjectReturns an integer hash code for this object. By contract, any two objects for whichObject.equals(java.lang.Object)returnstruemust return the same hash code value. This means that subclasses ofObjectusually override both methods or neither method.Note that hash values must not change over time unless information used in equals comparisons also changes.
See Writing a correct
hashCodemethod if you intend implementing your ownhashCodemethod.- Overrides:
hashCodein classASN1Object- Returns:
- this object's hash code.
- See Also:
Object.equals(java.lang.Object)
-
-