public class BasicOCSPResp
extends java.lang.Object
BasicOCSPResponse ::= SEQUENCE {
tbsResponseData ResponseData,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING,
certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL }
| Constructor and Description |
|---|
BasicOCSPResp(BasicOCSPResponse resp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
X509CertificateHolder[] |
getCerts() |
java.util.Set |
getCriticalExtensionOIDs() |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
Extension |
getExtension(ASN1ObjectIdentifier oid) |
java.util.List |
getExtensionOIDs() |
java.util.Set |
getNonCriticalExtensionOIDs() |
java.util.Date |
getProducedAt() |
RespID |
getResponderId() |
SingleResp[] |
getResponses() |
byte[] |
getSignature() |
ASN1ObjectIdentifier |
getSignatureAlgOID() |
AlgorithmIdentifier |
getSignatureAlgorithmID()
Return the algorithm identifier describing the signature used in the response.
|
byte[] |
getTBSResponseData()
Return the DER encoding of the tbsResponseData field.
|
int |
getVersion() |
boolean |
hasExtensions() |
int |
hashCode() |
boolean |
isSignatureValid(org.bouncycastle.operator.ContentVerifierProvider verifierProvider)
verify the signature against the tbsResponseData object we contain.
|
public byte[] getTBSResponseData()
public AlgorithmIdentifier getSignatureAlgorithmID()
public int getVersion()
public RespID getResponderId()
public java.util.Date getProducedAt()
public SingleResp[] getResponses()
public boolean hasExtensions()
public Extension getExtension(ASN1ObjectIdentifier oid)
public java.util.List getExtensionOIDs()
public java.util.Set getCriticalExtensionOIDs()
public java.util.Set getNonCriticalExtensionOIDs()
public ASN1ObjectIdentifier getSignatureAlgOID()
public byte[] getSignature()
public X509CertificateHolder[] getCerts()
public boolean isSignatureValid(org.bouncycastle.operator.ContentVerifierProvider verifierProvider)
throws OCSPException
OCSPExceptionpublic byte[] getEncoded()
throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object