Package org.bouncycastle.asn1.ocsp
Class OCSPResponse
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ocsp.OCSPResponse
- All Implemented Interfaces:
ASN1Encodable
,Encodable
OCSP RFC 2560, RFC 6960
OCSPResponse ::= SEQUENCE { responseStatus OCSPResponseStatus, responseBytes [0] EXPLICIT ResponseBytes OPTIONAL }
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOCSPResponse
(OCSPResponseStatus responseStatus, ResponseBytes responseBytes) -
Method Summary
Modifier and TypeMethodDescriptionstatic OCSPResponse
getInstance
(Object obj) static OCSPResponse
getInstance
(ASN1TaggedObject obj, boolean explicit) Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
OCSPResponse
-
-
Method Details
-
getInstance
-
getInstance
-
getResponseStatus
-
getResponseBytes
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.OCSPResponse ::= SEQUENCE { responseStatus OCSPResponseStatus, responseBytes [0] EXPLICIT ResponseBytes OPTIONAL }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-