Module jpms_dss_spi

Class OCSPResponseBinary

java.lang.Object
eu.europa.esig.dss.model.identifier.Identifier
eu.europa.esig.dss.model.identifier.MultipleDigestIdentifier
eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>
eu.europa.esig.dss.spi.x509.revocation.ocsp.OCSPResponseBinary
All Implemented Interfaces:
eu.europa.esig.dss.model.identifier.IdentifierBasedObject, Serializable

public class OCSPResponseBinary extends eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>
The binary of an OCSP response token
See Also:
  • Field Summary

    Fields inherited from class eu.europa.esig.dss.model.identifier.Identifier

    DIGEST_ALGO
  • Method Summary

    Modifier and Type
    Method
    Description
    build(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp)
    Builds the OCSPResponseBinary
    org.bouncycastle.asn1.ASN1ObjectIdentifier
    Gets the ASN1ObjectIdentifier
    org.bouncycastle.cert.ocsp.BasicOCSPResp
    Returns BasicOCSPResp
    byte[]
    Returns the OCSP token binaries
    void
    setAsn1ObjectIdentifier(org.bouncycastle.asn1.ASN1ObjectIdentifier asn1ObjectIdentifier)
    Sets the ASN1ObjectIdentifier

    Methods inherited from class eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier

    getDSSId

    Methods inherited from class eu.europa.esig.dss.model.identifier.MultipleDigestIdentifier

    getBinaries, getDigestValue, isMatch

    Methods inherited from class eu.europa.esig.dss.model.identifier.Identifier

    asXmlId, equals, getMessageDigest, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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