Top Fields Constructors Methods
org.bouncycastle.asn1.ocsp

public Class OCSPResponse

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

Field Summary

Modifier and TypeField and Description
pack-priv ResponseBytes
pack-priv OCSPResponseStatus

Constructor Summary

AccessConstructor and Description
public
OCSPResponse(OCSPResponseStatus responseStatus, ResponseBytes responseBytes)

private

Method Summary

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

public static OCSPResponse
public ResponseBytes
public OCSPResponseStatus
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:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

responseBytesback to summary
pack-priv ResponseBytes responseBytes
responseStatusback to summary
pack-priv OCSPResponseStatus responseStatus

Constructor Detail

OCSPResponseback to summary
public OCSPResponse(OCSPResponseStatus responseStatus, ResponseBytes responseBytes)
OCSPResponseback to summary
private OCSPResponse(ASN1Sequence seq)

Method Detail

getInstanceback to summary
public static OCSPResponse getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static OCSPResponse getInstance(Object obj)
getResponseBytesback to summary
public ResponseBytes getResponseBytes()
getResponseStatusback to summary
public OCSPResponseStatus getResponseStatus()
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.

OCSPResponse ::= SEQUENCE {
    responseStatus         OCSPResponseStatus,
    responseBytes          [0] EXPLICIT ResponseBytes OPTIONAL }
Returns:ASN1Primitive

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

a primitive representation of this object.