ASN1Encodable, Encodablepublic class TimeStampAndCRL extends ASN1Object
TimeStampAndCRL ::= SEQUENCE {
timeStamp TimeStampToken, -- according to RFC 3161
crl CertificateList OPTIONAL -- according to RFC 5280
}
| Constructor | Description |
|---|---|
TimeStampAndCRL(ContentInfo timeStamp) |
| Modifier and Type | Method | Description |
|---|---|---|
CertificateList |
getCertificateList() |
Deprecated.
use getCRL()
|
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, toASN1Objectpublic 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 getCertificateList()
public CertificateList getCRL()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object