Top Description Fields Constructors Methods
org.bouncycastle.asn1.ocsp

public Class ResponseBytes

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1ObjectIdentifier, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence

OCSP RFC 2560, RFC 6960
ResponseBytes ::=       SEQUENCE {
    responseType   OBJECT IDENTIFIER,
    response       OCTET STRING }

Field Summary

Modifier and TypeField and Description
pack-priv ASN1OctetString
pack-priv ASN1ObjectIdentifier

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public static ResponseBytes
getInstance(ASN1TaggedObject obj, boolean explicit)

public static ResponseBytes
public ASN1OctetString
public ASN1ObjectIdentifier
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

responseback to summary
pack-priv ASN1OctetString response
responseTypeback to summary
pack-priv ASN1ObjectIdentifier responseType

Constructor Detail

ResponseBytesback to summary
public ResponseBytes(ASN1ObjectIdentifier responseType, ASN1OctetString response)
ResponseBytesback to summary
private ResponseBytes(ASN1Sequence seq)

Method Detail

getInstanceback to summary
public static ResponseBytes getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static ResponseBytes getInstance(Object obj)
getResponseback to summary
public ASN1OctetString getResponse()
getResponseTypeback to summary
public ASN1ObjectIdentifier getResponseType()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

ResponseBytes ::=       SEQUENCE {
    responseType   OBJECT IDENTIFIER,
    response       OCTET STRING }
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.