public class TimeStampAndCRL
extends org.bouncycastle.asn1.ASN1Object
TimeStampAndCRL ::= SEQUENCE { timeStamp TimeStampToken, -- according to RFC 3161 crl CertificateList OPTIONAL -- according to RFC 5280 }
Constructor and Description |
---|
TimeStampAndCRL(ContentInfo timeStamp) |
TimeStampAndCRL(ContentInfo timeStamp,
org.bouncycastle.asn1.x509.CertificateList crl) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.x509.CertificateList |
getCertificateList()
Deprecated.
use getCRL()
|
org.bouncycastle.asn1.x509.CertificateList |
getCRL() |
static TimeStampAndCRL |
getInstance(java.lang.Object obj)
Return a TimeStampAndCRL object from the given object.
|
ContentInfo |
getTimeStampToken() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public TimeStampAndCRL(ContentInfo timeStamp)
public TimeStampAndCRL(ContentInfo timeStamp, org.bouncycastle.asn1.x509.CertificateList crl)
public static TimeStampAndCRL getInstance(java.lang.Object obj)
Accepted inputs:
TimeStampAndCRL
object
ASN1Sequence
input formats with TimeStampAndCRL structure inside
obj
- the object we want converted.java.lang.IllegalArgumentException
- if the object cannot be converted.public ContentInfo getTimeStampToken()
public org.bouncycastle.asn1.x509.CertificateList getCertificateList()
public org.bouncycastle.asn1.x509.CertificateList getCRL()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object