Package eu.europa.esig.dss.spi.x509
Class CertificateRef
java.lang.Object
eu.europa.esig.dss.spi.x509.CertificateRef
- All Implemented Interfaces:
IdentifierBasedObject
,Serializable
This class represents a Certificate Reference entry extracted from a signature
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the certificate digestGets theSignerIdentifier
(for a reference extracted from a signature or timestamp, when present)getDSSId()
Returns the certificate reference identifierReturns the certificate referenceString
idGets theResponderId
(for a reference extracted from an OCSP response)Gets the X.509 Public Key Certificate location URLint
hashCode()
void
setCertDigest
(Digest certDigest) Sets the certificate digestvoid
setCertificateIdentifier
(SignerIdentifier signerIdentifier) Sets theSignerIdentifier
void
setResponderId
(ResponderId responderId) Sets theResponderId
void
setX509Url
(String x509Url) Sets the X.509 Public Key Certificate location URLtoString()
-
Constructor Details
-
CertificateRef
public CertificateRef()Default constructor instantiating object with null values
-
-
Method Details
-
getCertDigest
-
setCertDigest
-
getCertificateIdentifier
Gets theSignerIdentifier
(for a reference extracted from a signature or timestamp, when present)- Returns:
SignerIdentifier
-
setCertificateIdentifier
Sets theSignerIdentifier
- Parameters:
signerIdentifier
-SignerIdentifier
-
getResponderId
Gets theResponderId
(for a reference extracted from an OCSP response)- Returns:
SignerIdentifier
-
setResponderId
Sets theResponderId
- Parameters:
responderId
-ResponderId
-
getX509Url
-
setX509Url
-
getDSSId
Returns the certificate reference identifier- Specified by:
getDSSId
in interfaceIdentifierBasedObject
- Returns:
Identifier
-
getDSSIdAsString
-
toString
-
equals
-
hashCode
-