Package org.bouncycastle.asn1.ocsp
Class ResponseData
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.ocsp.ResponseData
-
- All Implemented Interfaces:
ASN1Encodable,Encodable
public class ResponseData extends ASN1Object
OCSP RFC 2560, RFC 6960ResponseData ::= SEQUENCE { version [0] EXPLICIT Version DEFAULT v1, responderID ResponderID, producedAt GeneralizedTime, responses SEQUENCE OF SingleResponse, responseExtensions [1] EXPLICIT Extensions OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description ResponseData(ASN1Integer version, ResponderID responderID, ASN1GeneralizedTime producedAt, ASN1Sequence responses, Extensions responseExtensions)ResponseData(ResponderID responderID, ASN1GeneralizedTime producedAt, ASN1Sequence responses, Extensions responseExtensions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseDatagetInstance(java.lang.Object obj)static ResponseDatagetInstance(ASN1TaggedObject obj, boolean explicit)ASN1GeneralizedTimegetProducedAt()ResponderIDgetResponderID()ExtensionsgetResponseExtensions()ASN1SequencegetResponses()ASN1IntegergetVersion()ASN1PrimitivetoASN1Primitive()Produce an object suitable for an ASN1OutputStream.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
ResponseData
public ResponseData(ASN1Integer version, ResponderID responderID, ASN1GeneralizedTime producedAt, ASN1Sequence responses, Extensions responseExtensions)
-
ResponseData
public ResponseData(ResponderID responderID, ASN1GeneralizedTime producedAt, ASN1Sequence responses, Extensions responseExtensions)
-
-
Method Detail
-
getInstance
public static ResponseData getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
public static ResponseData getInstance(java.lang.Object obj)
-
getVersion
public ASN1Integer getVersion()
-
getResponderID
public ResponderID getResponderID()
-
getProducedAt
public ASN1GeneralizedTime getProducedAt()
-
getResponses
public ASN1Sequence getResponses()
-
getResponseExtensions
public Extensions getResponseExtensions()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.ResponseData ::= SEQUENCE { version [0] EXPLICIT Version DEFAULT v1, responderID ResponderID, producedAt GeneralizedTime, responses SEQUENCE OF SingleResponse, responseExtensions [1] EXPLICIT Extensions OPTIONAL }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
-