Class ResponseBytes
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class ResponseBytes extends ASN1Object
OCSP RFC 2560, RFC 6960
ResponseBytes ::= SEQUENCE { responseType OBJECT IDENTIFIER, response OCTET STRING }
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1ObjectIdentifier
responseType
public ASN1OctetString
response
-
Constructor Summary
Constructors Constructor Description ResponseBytes(ASN1ObjectIdentifier responseType, ASN1OctetString response)
-
Method Summary
Modifier and Type Method Description ASN1ObjectIdentifier
getResponseType()
ASN1OctetString
getResponse()
static ResponseBytes
getInstance(ASN1TaggedObject obj, boolean explicit)
static ResponseBytes
getInstance(Object obj)
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. -
-
Constructor Detail
-
ResponseBytes
ResponseBytes(ASN1ObjectIdentifier responseType, ASN1OctetString response)
-
-
Method Detail
-
getResponseType
ASN1ObjectIdentifier getResponseType()
-
getResponse
ASN1OctetString getResponse()
-
getInstance
static ResponseBytes getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static ResponseBytes getInstance(Object obj)
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
ResponseBytes ::= SEQUENCE { responseType OBJECT IDENTIFIER, response OCTET STRING }
-
-
-
-