org.bouncycastle.asn1.ocsp
Class SingleResponse
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ocsp.SingleResponse
- All Implemented Interfaces:
- ASN1Encodable
public class SingleResponse
- extends ASN1Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SingleResponse
public SingleResponse(CertID certID,
CertStatus certStatus,
DERGeneralizedTime thisUpdate,
DERGeneralizedTime nextUpdate,
X509Extensions singleExtensions)
- Parameters:
certID
- certStatus
- thisUpdate
- nextUpdate
- singleExtensions
-
SingleResponse
public SingleResponse(CertID certID,
CertStatus certStatus,
DERGeneralizedTime thisUpdate,
DERGeneralizedTime nextUpdate,
Extensions singleExtensions)
getInstance
public static SingleResponse getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static SingleResponse getInstance(java.lang.Object obj)
getCertID
public CertID getCertID()
getCertStatus
public CertStatus getCertStatus()
getThisUpdate
public DERGeneralizedTime getThisUpdate()
getNextUpdate
public DERGeneralizedTime getNextUpdate()
getSingleExtensions
public Extensions getSingleExtensions()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Produce an object suitable for an ASN1OutputStream.
SingleResponse ::= SEQUENCE {
certID CertID,
certStatus CertStatus,
thisUpdate GeneralizedTime,
nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL,
singleExtensions [1] EXPLICIT Extensions OPTIONAL }
- Specified by:
toASN1Primitive
in interface ASN1Encodable
- Specified by:
toASN1Primitive
in class ASN1Object