Constructor and Description |
---|
BasicOCSPResp(BasicOCSPResponse resp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
X509CertificateHolder[] |
getCerts() |
Set |
getCriticalExtensionOIDs() |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
Extension |
getExtension(ASN1ObjectIdentifier oid) |
List |
getExtensionOIDs() |
Set |
getNonCriticalExtensionOIDs() |
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(ContentVerifierProvider verifierProvider)
verify the signature against the tbsResponseData object we contain.
|
public BasicOCSPResp(BasicOCSPResponse resp)
public byte[] getTBSResponseData()
public AlgorithmIdentifier getSignatureAlgorithmID()
public int getVersion()
public RespID getResponderId()
public Date getProducedAt()
public SingleResp[] getResponses()
public boolean hasExtensions()
public Extension getExtension(ASN1ObjectIdentifier oid)
public List getExtensionOIDs()
public Set getCriticalExtensionOIDs()
public Set getNonCriticalExtensionOIDs()
public ASN1ObjectIdentifier getSignatureAlgOID()
public byte[] getSignature()
public X509CertificateHolder[] getCerts()
public boolean isSignatureValid(ContentVerifierProvider verifierProvider) throws OCSPException
OCSPException
public byte[] getEncoded() throws IOException
getEncoded
in interface Encodable
IOException
Copyright © 2020 BouncyCastle.org. All rights reserved.