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

public class OCSPRef extends RevocationRef<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>
Reference an OCSPResponse
See Also:
  • Constructor Details

    • OCSPRef

      public OCSPRef(eu.europa.esig.dss.model.Digest digest, Date producedAt, ResponderId responderId)
      The default constructor for OCSPRef.
      Parameters:
      digest - Digest
      producedAt - Date
      responderId - ResponderId
    • OCSPRef

      public OCSPRef(org.bouncycastle.asn1.esf.OcspResponsesID ocspResponsesID)
      The default constructor for OCSPRef.
      Parameters:
      ocspResponsesID - OcspResponsesID
  • Method Details

    • getProducedAt

      public Date getProducedAt()
      Gets the OCSP's production time
      Returns:
      Date
    • getResponderId

      public ResponderId getResponderId()
      Gets the Responder Id
      Returns:
      ResponderId
    • createIdentifier

      protected eu.europa.esig.dss.model.identifier.Identifier createIdentifier()
      Description copied from class: RevocationRef
      Creates the unique identifier
      Overrides:
      createIdentifier in class RevocationRef<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>
      Returns:
      Identifier
    • toString

      public String toString()
      Overrides:
      toString in class RevocationRef<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class RevocationRef<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class RevocationRef<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>