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 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
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
-
getX509Url
Gets the X.509 Public Key Certificate location URL- Returns:
String
-
setX509Url
Sets the X.509 Public Key Certificate location URL- Parameters:
x509Url
-String
-
getDSSId
Returns the certificate reference identifier- Specified by:
getDSSId
in interfaceIdentifierBasedObject
- Returns:
Identifier
-
getDSSIdAsString
Returns the certificate referenceString
id- Returns:
String
id
-
toString
-
equals
-
hashCode
public int hashCode()
-