Class OCSPResponseBinary

All Implemented Interfaces:
IdentifierBasedObject, Serializable

public class OCSPResponseBinary extends EncapsulatedRevocationTokenIdentifier<OCSP>
The binary of an OCSP response token
See Also:
  • Method Details

    • build

      public static OCSPResponseBinary build(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp)
      Builds the OCSPResponseBinary
      Parameters:
      basicOCSPResp - BasicOCSPResp
      Returns:
      OCSPResponseBinary
    • getBasicOCSPResp

      public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp()
      Returns BasicOCSPResp
      Returns:
      BasicOCSPResp
    • getBasicOCSPRespContent

      public byte[] getBasicOCSPRespContent()
      Returns the OCSP token binaries
      Returns:
      binaries
    • getAsn1ObjectIdentifier

      public org.bouncycastle.asn1.ASN1ObjectIdentifier getAsn1ObjectIdentifier()
      Gets the ASN1ObjectIdentifier
      Returns:
      ASN1ObjectIdentifier
    • setAsn1ObjectIdentifier

      public void setAsn1ObjectIdentifier(org.bouncycastle.asn1.ASN1ObjectIdentifier asn1ObjectIdentifier)
      Sets the ASN1ObjectIdentifier
      Parameters:
      asn1ObjectIdentifier - ASN1ObjectIdentifier