Class OCSPRef
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.RevocationRef<OCSP>
eu.europa.esig.dss.spi.x509.revocation.ocsp.OCSPRef
- All Implemented Interfaces:
IdentifierBasedObject
,Serializable
Reference an OCSPResponse
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.x509.revocation.RevocationRef
digest
-
Constructor Summary
ConstructorDescriptionOCSPRef
(Digest digest, Date producedAt, ResponderId responderId) The default constructor for OCSPRef.OCSPRef
(org.bouncycastle.asn1.esf.OcspResponsesID ocspResponsesID) The default constructor for OCSPRef. -
Method Summary
Modifier and TypeMethodDescriptionprotected Identifier
Creates the unique identifierboolean
Gets the OCSP's production timeGets the Responder Idint
hashCode()
toString()
Methods inherited from class eu.europa.esig.dss.spi.x509.revocation.RevocationRef
getDigest, getDSSId, getDSSIdAsString
-
Constructor Details
-
OCSPRef
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
Gets the OCSP's production time- Returns:
Date
-
getResponderId
Gets the Responder Id- Returns:
ResponderId
-
createIdentifier
Description copied from class:RevocationRef
Creates the unique identifier- Overrides:
createIdentifier
in classRevocationRef<OCSP>
- Returns:
Identifier
-
toString
- Overrides:
toString
in classRevocationRef<OCSP>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRevocationRef<OCSP>
-
equals
- Overrides:
equals
in classRevocationRef<OCSP>
-