Bouncy Castle Cryptography 1.48

org.bouncycastle.asn1.ocsp
Class ResponseBytes

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Object
      extended by org.bouncycastle.asn1.ocsp.ResponseBytes
All Implemented Interfaces:
ASN1Encodable

public class ResponseBytes
extends ASN1Object


Constructor Summary
ResponseBytes(ASN1ObjectIdentifier responseType, ASN1OctetString response)
           
ResponseBytes(ASN1Sequence seq)
           
 
Method Summary
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.
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseBytes

public ResponseBytes(ASN1ObjectIdentifier responseType,
                     ASN1OctetString response)

ResponseBytes

public ResponseBytes(ASN1Sequence seq)
Method Detail

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

Bouncy Castle Cryptography 1.48