public class ResponseBytes extends ASN1Object
Constructor and Description |
---|
ResponseBytes(ASN1ObjectIdentifier responseType,
ASN1OctetString response) |
ResponseBytes(ASN1Sequence seq)
Deprecated.
use getInstance()
|
Modifier and Type | Method and Description |
---|---|
static ResponseBytes |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static ResponseBytes |
getInstance(java.lang.Object obj) |
ASN1OctetString |
getResponse() |
ASN1ObjectIdentifier |
getResponseType() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public ResponseBytes(ASN1ObjectIdentifier responseType, ASN1OctetString response)
public ResponseBytes(ASN1Sequence seq)
public static ResponseBytes getInstance(ASN1TaggedObject obj, boolean explicit)
public static ResponseBytes getInstance(java.lang.Object obj)
public ASN1ObjectIdentifier getResponseType()
public ASN1OctetString getResponse()
public ASN1Primitive toASN1Primitive()
ResponseBytes ::= SEQUENCE { responseType OBJECT IDENTIFIER, response OCTET STRING }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object