public class TimeStampAndCRL extends 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 |
---|---|
CertificateList |
getCRL() |
static TimeStampAndCRL |
getInstance(java.lang.Object obj)
Return a TimeStampAndCRL object from the given object.
|
ContentInfo |
getTimeStampToken() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
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 CertificateList getCRL()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object