public class ResponseBytes extends ASN1Object
ResponseBytes ::= SEQUENCE { responseType OBJECT IDENTIFIER, response OCTET STRING }
Constructor and Description |
---|
ResponseBytes(ASN1ObjectIdentifier responseType,
ASN1OctetString response) |
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.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public ResponseBytes(ASN1ObjectIdentifier responseType, ASN1OctetString response)
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