org.bouncycastle.asn1.ocsp
Class ResponseBytes
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ocsp.ResponseBytes
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class ResponseBytes
- extends ASN1Object
OCSP RFC 2560, RFC 6960
ResponseBytes ::= SEQUENCE {
responseType OBJECT IDENTIFIER,
response OCTET STRING }
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ResponseBytes
public ResponseBytes(ASN1ObjectIdentifier responseType,
ASN1OctetString response)
ResponseBytes
public ResponseBytes(ASN1Sequence seq)
- Deprecated. use getInstance()
getInstance
public static ResponseBytes getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static ResponseBytes getInstance(java.lang.Object obj)
getResponseType
public ASN1ObjectIdentifier getResponseType()
getResponse
public ASN1OctetString getResponse()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Produce an object suitable for an ASN1OutputStream.
ResponseBytes ::= SEQUENCE {
responseType OBJECT IDENTIFIER,
response OCTET STRING }
- Specified by:
toASN1Primitive
in interface ASN1Encodable
- Specified by:
toASN1Primitive
in class ASN1Object
- Returns:
- a primitive representation of this object.