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:
Serializable
public class OCSPRef extends RevocationRef<OCSP>
Reference an OCSPResponse
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.x509.revocation.RevocationRef
digest
-
Constructor Summary
Constructors Constructor Description OCSPRef(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 Type Method Description protected Identifier
createIdentifier()
boolean
equals(Object obj)
Date
getProducedAt()
Gets the OCSP's production timeResponderId
getResponderId()
Gets the Responder Idint
hashCode()
String
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
- Overrides:
createIdentifier
in classRevocationRef<OCSP>
-
toString
- Overrides:
toString
in classRevocationRef<OCSP>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRevocationRef<OCSP>
-
equals
- Overrides:
equals
in classRevocationRef<OCSP>
-