public class TimeStampAndCRL extends ASN1Object
TimeStampAndCRL ::= SEQUENCE { timeStamp TimeStampToken, -- according to RFC 3161 crl CertificateList OPTIONAL -- according to RFC 5280 }
Modifier and Type | Field and Description |
---|---|
private CertificateList |
crl |
private ContentInfo |
timeStamp |
Modifier | Constructor and Description |
---|---|
private |
TimeStampAndCRL(ASN1Sequence seq) |
|
TimeStampAndCRL(ContentInfo timeStamp) |
Modifier and Type | Method and Description |
---|---|
CertificateList |
getCertificateList()
Deprecated.
use getCRL()
|
CertificateList |
getCRL() |
static TimeStampAndCRL |
getInstance(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, toASN1Object
private ContentInfo timeStamp
private CertificateList crl
public TimeStampAndCRL(ContentInfo timeStamp)
private TimeStampAndCRL(ASN1Sequence seq)
public static TimeStampAndCRL getInstance(Object obj)
Accepted inputs:
TimeStampAndCRL
object
ASN1Sequence
input formats with TimeStampAndCRL structure inside
obj
- the object we want converted.IllegalArgumentException
- if the object cannot be converted.public ContentInfo getTimeStampToken()
public CertificateList getCertificateList()
public CertificateList getCRL()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object