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)Gets the X.509 Public Key Certificate location URLinthashCode()voidsetCertDigest(Digest certDigest) Sets the certificate digestvoidsetCertificateIdentifier(SignerIdentifier signerIdentifier) Sets theSignerIdentifiervoidsetResponderId(ResponderId responderId) Sets theResponderIdvoidsetX509Url(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:
getDSSIdin interfaceIdentifierBasedObject- Returns:
Identifier
-
getDSSIdAsString
-
toString
-
equals
-
hashCode
-