Class OCSPResponse
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class OCSPResponse extends ASN1Object
OCSP RFC 2560, RFC 6960
OCSPResponse ::= SEQUENCE { responseStatus OCSPResponseStatus, responseBytes [0] EXPLICIT ResponseBytes OPTIONAL }
-
-
Field Summary
Fields Modifier and Type Field Description public OCSPResponseStatus
responseStatus
public ResponseBytes
responseBytes
-
Constructor Summary
Constructors Constructor Description OCSPResponse(OCSPResponseStatus responseStatus, ResponseBytes responseBytes)
-
Method Summary
Modifier and Type Method Description OCSPResponseStatus
getResponseStatus()
ResponseBytes
getResponseBytes()
static OCSPResponse
getInstance(ASN1TaggedObject obj, boolean explicit)
static OCSPResponse
getInstance(Object obj)
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
-
Constructor Detail
-
OCSPResponse
OCSPResponse(OCSPResponseStatus responseStatus, ResponseBytes responseBytes)
-
-
Method Detail
-
getResponseStatus
OCSPResponseStatus getResponseStatus()
-
getResponseBytes
ResponseBytes getResponseBytes()
-
getInstance
static OCSPResponse getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static OCSPResponse getInstance(Object obj)
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
OCSPResponse ::= SEQUENCE { responseStatus OCSPResponseStatus, responseBytes [0] EXPLICIT ResponseBytes OPTIONAL }
-
-
-
-