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) |
Modifier and Type | Method and Description |
---|---|
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 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 getCRL()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object