public class ResponseBytes extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
(package private) ASN1OctetString |
response |
(package private) DERObjectIdentifier |
responseType |
BER, DER
Constructor and Description |
---|
ResponseBytes(ASN1Sequence seq) |
ResponseBytes(DERObjectIdentifier 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() |
DERObjectIdentifier |
getResponseType() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
DERObjectIdentifier responseType
ASN1OctetString response
public ResponseBytes(DERObjectIdentifier responseType, ASN1OctetString response)
public ResponseBytes(ASN1Sequence seq)
public static ResponseBytes getInstance(ASN1TaggedObject obj, boolean explicit)
public static ResponseBytes getInstance(java.lang.Object obj)
public DERObjectIdentifier getResponseType()
public ASN1OctetString getResponse()
public DERObject toASN1Object()
ResponseBytes ::= SEQUENCE { responseType OBJECT IDENTIFIER, response OCTET STRING }
toASN1Object
in class ASN1Encodable
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.