public class SingleResponse extends ASN1Object
Constructor and Description |
---|
SingleResponse(CertID certID,
CertStatus certStatus,
ASN1GeneralizedTime thisUpdate,
ASN1GeneralizedTime nextUpdate,
Extensions singleExtensions) |
Modifier and Type | Method and Description |
---|---|
CertID |
getCertID() |
CertStatus |
getCertStatus() |
static SingleResponse |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static SingleResponse |
getInstance(java.lang.Object obj) |
ASN1GeneralizedTime |
getNextUpdate() |
Extensions |
getSingleExtensions() |
ASN1GeneralizedTime |
getThisUpdate() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public SingleResponse(CertID certID, CertStatus certStatus, ASN1GeneralizedTime thisUpdate, ASN1GeneralizedTime nextUpdate, Extensions singleExtensions)
public static SingleResponse getInstance(ASN1TaggedObject obj, boolean explicit)
public static SingleResponse getInstance(java.lang.Object obj)
public CertID getCertID()
public CertStatus getCertStatus()
public ASN1GeneralizedTime getThisUpdate()
public ASN1GeneralizedTime getNextUpdate()
public Extensions getSingleExtensions()
public ASN1Primitive toASN1Primitive()
SingleResponse ::= SEQUENCE { certID CertID, certStatus CertStatus, thisUpdate GeneralizedTime, nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL, singleExtensions [1] EXPLICIT Extensions OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object