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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the certificate digestGets theSignerIdentifier(for a reference extracted from a signature or timestamp, when present)getDSSId()Returns the certificate reference identifierReturns the certificate referenceStringidGets theResponderId(for a reference extracted from an OCSP response)inthashCode()voidsetCertDigest(Digest certDigest) Sets the certificate digestvoidsetCertificateIdentifier(SignerIdentifier signerIdentifier) Sets theSignerIdentifiervoidsetResponderId(ResponderId responderId) Sets theResponderIdtoString()
-
Constructor Details
-
CertificateRef
public CertificateRef()Default constructor instantiating object with null values
-
-
Method Details
-
getCertDigest
Gets the certificate digest- Returns:
Digest
-
setCertDigest
Sets the certificate digest- Parameters:
certDigest-Digest
-
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
-
getDSSId
Returns the certificate reference identifier- Specified by:
getDSSIdin interfaceIdentifierBasedObject- Returns:
Identifier
-
getDSSIdAsString
Returns the certificate referenceStringid- Returns:
Stringid
-
toString
-
equals
-
hashCode
public int hashCode()
-