public class BasicOCSPResponse extends ASN1Object
BasicOCSPResponse ::= SEQUENCE { tbsResponseData ResponseData, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING, certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL }
Constructor and Description |
---|
BasicOCSPResponse(ResponseData tbsResponseData,
AlgorithmIdentifier signatureAlgorithm,
DERBitString signature,
ASN1Sequence certs) |
Modifier and Type | Method and Description |
---|---|
ASN1Sequence |
getCerts() |
static BasicOCSPResponse |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static BasicOCSPResponse |
getInstance(java.lang.Object obj) |
DERBitString |
getSignature() |
AlgorithmIdentifier |
getSignatureAlgorithm() |
ResponseData |
getTbsResponseData() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public BasicOCSPResponse(ResponseData tbsResponseData, AlgorithmIdentifier signatureAlgorithm, DERBitString signature, ASN1Sequence certs)
public static BasicOCSPResponse getInstance(ASN1TaggedObject obj, boolean explicit)
public static BasicOCSPResponse getInstance(java.lang.Object obj)
public ResponseData getTbsResponseData()
public AlgorithmIdentifier getSignatureAlgorithm()
public DERBitString getSignature()
public ASN1Sequence getCerts()
public ASN1Primitive toASN1Primitive()
BasicOCSPResponse ::= SEQUENCE { tbsResponseData ResponseData, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING, certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object