Top Description Inners Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class TBSCertList

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, .NoSuchElementException, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1GeneralizedTime, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .ASN1UTCTime, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x500.X500Name

PKIX RFC-2459 - TBSCertList object.
TBSCertList  ::=  SEQUENCE  {
     version                 Version OPTIONAL,
                                  -- if present, shall be v2
     signature               AlgorithmIdentifier,
     issuer                  Name,
     thisUpdate              Time,
     nextUpdate              Time OPTIONAL,
     revokedCertificates     SEQUENCE OF SEQUENCE  {
          userCertificate         CertificateSerialNumber,
          revocationDate          Time,
          crlEntryExtensions      Extensions OPTIONAL
                                        -- if present, shall be v2
                               }  OPTIONAL,
     crlExtensions           [0]  EXPLICIT Extensions OPTIONAL
                                        -- if present, shall be v2
                               }

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
pack-priv Extensions
pack-priv X500Name
pack-priv Time
pack-priv ASN1Sequence
pack-priv AlgorithmIdentifier
pack-priv Time
pack-priv ASN1Integer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Extensions
public static TBSCertList
getInstance(ASN1TaggedObject obj, boolean explicit)

public static TBSCertList
public X500Name
public Time
public Enumeration<E>
public TBSCertList.CRLEntry[]
public AlgorithmIdentifier
public Time
public ASN1Integer
public int
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

crlExtensionsback to summary
pack-priv Extensions crlExtensions
issuerback to summary
pack-priv X500Name issuer
nextUpdateback to summary
pack-priv Time nextUpdate
revokedCertificatesback to summary
pack-priv ASN1Sequence revokedCertificates
signatureback to summary
pack-priv AlgorithmIdentifier signature
thisUpdateback to summary
pack-priv Time thisUpdate
versionback to summary
pack-priv ASN1Integer version

Constructor Detail

TBSCertListback to summary
public TBSCertList(ASN1Sequence seq)

Method Detail

getExtensionsback to summary
public Extensions getExtensions()
getInstanceback to summary
public static TBSCertList getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static TBSCertList getInstance(Object obj)
getIssuerback to summary
public X500Name getIssuer()
getNextUpdateback to summary
public Time getNextUpdate()
getRevokedCertificateEnumerationback to summary
public Enumeration<E> getRevokedCertificateEnumeration()
getRevokedCertificatesback to summary
public TBSCertList.CRLEntry[] getRevokedCertificates()
getSignatureback to summary
public AlgorithmIdentifier getSignature()
getThisUpdateback to summary
public Time getThisUpdate()
getVersionback to summary
public ASN1Integer getVersion()
getVersionNumberback to summary
public int getVersionNumber()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

org.bouncycastle.asn1.x509 back to summary

public Class TBSCertList.CRLEntry

extends ASN1Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv Extensions
pack-priv ASN1Sequence

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Extensions
public static TBSCertList.CRLEntry
public Time
public ASN1Integer
public boolean
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

crlEntryExtensionsback to summary
pack-priv Extensions crlEntryExtensions
seqback to summary
pack-priv ASN1Sequence seq

Constructor Detail

CRLEntryback to summary
private CRLEntry(ASN1Sequence seq)

Method Detail

getExtensionsback to summary
public Extensions getExtensions()
getInstanceback to summary
public static TBSCertList.CRLEntry getInstance(Object o)
getRevocationDateback to summary
public Time getRevocationDate()
getUserCertificateback to summary
public ASN1Integer getUserCertificate()
hasExtensionsback to summary
public boolean hasExtensions()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

org.bouncycastle.asn1.x509 back to summary

private Class TBSCertList.EmptyEnumeration

extends Object
implements Enumeration
Class Inheritance
All Implemented Interfaces
java.util.Enumeration

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.
public Object
nextElement()

Implements java.util.Enumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EmptyEnumerationback to summary
private EmptyEnumeration()

Method Detail

hasMoreElementsback to summary
public boolean hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Doc from java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.

Returns:boolean

true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElementback to summary
public Object nextElement()

Implements java.util.Enumeration.nextElement.

Doc from java.util.Enumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Returns:Object

the next element of this enumeration.

org.bouncycastle.asn1.x509 back to summary

private Class TBSCertList.RevokedCertificatesEnumeration

extends Object
implements Enumeration
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.asn1.x509.TBSCertList.RevokedCertificatesEnumeration
All Implemented Interfaces
java.util.Enumeration

Field Summary

Modifier and TypeField and Description
private final Enumeration<E>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.
public Object
nextElement()

Implements java.util.Enumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

enback to summary
private final Enumeration<E> en

Constructor Detail

RevokedCertificatesEnumerationback to summary
pack-priv RevokedCertificatesEnumeration(Enumeration<E> en)

Method Detail

hasMoreElementsback to summary
public boolean hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Doc from java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.

Returns:boolean

true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElementback to summary
public Object nextElement()

Implements java.util.Enumeration.nextElement.

Doc from java.util.Enumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Returns:Object

the next element of this enumeration.