public class BasicOCSPResp extends 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(Object o) |
X509CertificateHolder[] |
getCerts() |
Set |
getCriticalExtensionOIDs() |
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
X509Extension |
getExtension(ASN1ObjectIdentifier oid) |
List |
getExtensionOIDs() |
Set |
getNonCriticalExtensionOIDs() |
Date |
getProducedAt() |
RespID |
getResponderId() |
SingleResp[] |
getResponses() |
byte[] |
getSignature() |
ASN1ObjectIdentifier |
getSignatureAlgOID() |
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 int getVersion()
public RespID getResponderId()
public Date getProducedAt()
public SingleResp[] getResponses()
public boolean hasExtensions()
public X509Extension 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
IOException
Copyright © 2015. All rights reserved.