public class

BasicOCSPResp

extends Object
java.lang.Object
   ↳ org.bouncycastle.cert.ocsp.BasicOCSPResp

Class Overview

 BasicOCSPResponse       ::= SEQUENCE {
    tbsResponseData      ResponseData,
    signatureAlgorithm   AlgorithmIdentifier,
    signature            BIT STRING,
    certs                [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL }
 

Summary

Public Constructors
BasicOCSPResp(BasicOCSPResponse resp)
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BasicOCSPResp (BasicOCSPResponse resp)

Public Methods

public boolean equals (Object o)

public X509CertificateHolder[] getCerts ()

public Set getCriticalExtensionOIDs ()

public byte[] getEncoded ()

return the ASN.1 encoded representation of this object.

Throws
IOException

public X509Extension getExtension (ASN1ObjectIdentifier oid)

public List getExtensionOIDs ()

public Set getNonCriticalExtensionOIDs ()

public Date getProducedAt ()

public RespID getResponderId ()

public SingleResp[] getResponses ()

public byte[] getSignature ()

public ASN1ObjectIdentifier getSignatureAlgOID ()

public byte[] getTBSResponseData ()

Return the DER encoding of the tbsResponseData field.

Returns
  • DER encoding of tbsResponseData

public int getVersion ()

public boolean hasExtensions ()

public int hashCode ()

public boolean isSignatureValid (ContentVerifierProvider verifierProvider)

verify the signature against the tbsResponseData object we contain.

Throws
OCSPException