Package eu.europa.esig.dss.validation
Class SignatureDigestReference
java.lang.Object
eu.europa.esig.dss.validation.SignatureDigestReference
A signature reference element references a specific electronic signature.
Contains Digest of a referenced signature
-
Constructor Summary
ConstructorDescriptionSignatureDigestReference
(Digest digest) The default constructorSignatureDigestReference
(String canonicalizationMethod, Digest digest) The constructor for XAdES Signature Digest Reference -
Method Summary
Modifier and TypeMethodDescriptionReturns canonicalization method used to calculate digestReturnsDigestAlgorithm
used to calculate digest valuebyte[]
Returns calculated digest value
-
Constructor Details
-
Method Details
-
getCanonicalizationMethod
Returns canonicalization method used to calculate digest- Returns:
String
-
getDigestAlgorithm
ReturnsDigestAlgorithm
used to calculate digest value- Returns:
DigestAlgorithm
-
getDigestValue
public byte[] getDigestValue()Returns calculated digest value- Returns:
- byte array
-