public class SingleResponse extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private CertID |
certID |
private CertStatus |
certStatus |
private ASN1GeneralizedTime |
nextUpdate |
private Extensions |
singleExtensions |
private ASN1GeneralizedTime |
thisUpdate |
Modifier | Constructor and Description |
---|---|
private |
SingleResponse(ASN1Sequence seq) |
|
SingleResponse(CertID certID,
CertStatus certStatus,
ASN1GeneralizedTime thisUpdate,
ASN1GeneralizedTime nextUpdate,
Extensions singleExtensions) |
|
SingleResponse(CertID certID,
CertStatus certStatus,
ASN1GeneralizedTime thisUpdate,
ASN1GeneralizedTime nextUpdate,
X509Extensions singleExtensions)
Deprecated.
use method taking ASN1GeneralizedTime and Extensions
|
Modifier and Type | Method and Description |
---|---|
CertID |
getCertID() |
CertStatus |
getCertStatus() |
static SingleResponse |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static SingleResponse |
getInstance(Object obj) |
ASN1GeneralizedTime |
getNextUpdate() |
Extensions |
getSingleExtensions() |
ASN1GeneralizedTime |
getThisUpdate() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private CertStatus certStatus
private ASN1GeneralizedTime thisUpdate
private ASN1GeneralizedTime nextUpdate
private Extensions singleExtensions
public SingleResponse(CertID certID, CertStatus certStatus, ASN1GeneralizedTime thisUpdate, ASN1GeneralizedTime nextUpdate, X509Extensions singleExtensions)
certID
- certStatus
- thisUpdate
- nextUpdate
- singleExtensions
- public SingleResponse(CertID certID, CertStatus certStatus, ASN1GeneralizedTime thisUpdate, ASN1GeneralizedTime nextUpdate, Extensions singleExtensions)
private SingleResponse(ASN1Sequence seq)
public static SingleResponse getInstance(ASN1TaggedObject obj, boolean explicit)
public static SingleResponse getInstance(Object obj)
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