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 6960
ResponseData ::= SEQUENCE {
version [0] EXPLICIT Version DEFAULT v1,
responderID ResponderID,
producedAt GeneralizedTime,
responses SEQUENCE OF SingleResponse,
responseExtensions [1] EXPLICIT Extensions OPTIONAL }
Constructor Summary |
ResponseData(ASN1Integer version,
ResponderID responderID,
ASN1GeneralizedTime producedAt,
ASN1Sequence responses,
Extensions responseExtensions)
|
ResponseData(ResponderID responderID,
ASN1GeneralizedTime producedAt,
ASN1Sequence responses,
Extensions responseExtensions)
|
ResponseData(ResponderID responderID,
ASN1GeneralizedTime producedAt,
ASN1Sequence responses,
X509Extensions responseExtensions)
Deprecated. use method taking Extensions |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ResponseData
public ResponseData(ASN1Integer version,
ResponderID responderID,
ASN1GeneralizedTime producedAt,
ASN1Sequence responses,
Extensions responseExtensions)
ResponseData
public ResponseData(ResponderID responderID,
ASN1GeneralizedTime producedAt,
ASN1Sequence responses,
X509Extensions responseExtensions)
- Deprecated. use method taking Extensions
- Parameters:
responderID
- producedAt
- responses
- responseExtensions
-
ResponseData
public ResponseData(ResponderID responderID,
ASN1GeneralizedTime producedAt,
ASN1Sequence responses,
Extensions responseExtensions)
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 }
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.