Uses of Enum
eu.europa.esig.dss.enumerations.DigestAlgorithm
Package
Description
-
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.cades
Modifier and TypeMethodDescriptionASiCWithCAdESCommonParameters.getDigestAlgorithm()
Returns a DigestAlgorithm to be used to hash a data to be timestampedModifierConstructorDescriptionASiCWithCAdESTimestampParameters
(DigestAlgorithm digestAlgorithm) The constructor defining aDigestAlgorithm
ASiCWithCAdESTimestampParameters
(DigestAlgorithm digestAlgorithm, ASiCParameters asicParams) The constructor defining aDigestAlgorithm
andASiCParameters
-
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.cades.signature
Modifier and TypeMethodDescriptionprotected DigestAlgorithm
ASiCWithCAdESSignatureExtension.getReferenceDigestAlgorithmOrDefault
(CAdESSignatureParameters params) Returns params.referenceDigestAlgorithm if exists, params.digestAlgorithm otherwiseModifier and TypeMethodDescriptionASiCWithCAdESLevelBaselineLTA.extend
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm) ExtendsasicContent
with an ArchiveManifest timestamp NOTE: This method is to be used for a direct timestamping with an ArchiveManifest, without in-depth signature attributes (the signature extension is still applied). -
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.cades.signature.manifest
Modifier and TypeMethodDescriptionprotected Element
AbstractManifestBuilder.addDataObjectReference
(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>
elementModifierConstructorDescriptionASiCEWithCAdESArchiveManifestBuilder
(ASiCContent asicContent, DSSDocument lastArchiveManifest, DigestAlgorithm digestAlgorithm, String timestampFileUri) The default constructorprotected
ASiCEWithCAdESManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri) The default constructorprotected
ASiCEWithCAdESManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factoryASiCWithCAdESSignatureManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri) The default constructorASiCWithCAdESSignatureManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factoryASiCWithCAdESTimestampManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri) The default constructorASiCWithCAdESTimestampManifestBuilder
(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String documentUri, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory -
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.common.merge
Modifier and TypeFieldDescriptionprotected static final DigestAlgorithm
DefaultContainerMerger.DEFAULT_DIGEST_ALGORITHM
Digest algo used for internal documents comparison -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades
Modifier and TypeFieldDescriptionstatic final DigestAlgorithm
CMSUtils.DEFAULT_ARCHIVE_TIMESTAMP_HASH_ALGO
The default DigestAlgorithm for ArchiveTimestampModifier and TypeMethodDescriptionstatic void
CMSUtils.addSigningCertificateAttribute
(org.bouncycastle.asn1.ASN1EncodableVector signedAttributes, DigestAlgorithm digestAlgorithm, CertificateToken signingToken) Method to add signing certificate to ASN.1 DER encoded signed attributes.static org.bouncycastle.operator.DigestCalculatorProvider
CMSUtils.getDigestCalculatorProvider
(DSSDocument toSignDocument, DigestAlgorithm digestAlgorithm) Returns aDigestCalculatorProvider
-
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.signature
Modifier and TypeMethodDescriptionCadesLevelBaselineLTATimestampExtractor.getArchiveTimestampV3MessageImprint
(org.bouncycastle.cms.SignerInformation signerInformation, org.bouncycastle.asn1.cms.Attribute atsHashIndexAttribute, DSSDocument originalDocument, DigestAlgorithm digestAlgorithm) Computes a message-imprint for an archive-time-stamp-v3org.bouncycastle.asn1.cms.Attribute
CadesLevelBaselineLTATimestampExtractor.getAtsHashIndex
(org.bouncycastle.cms.SignerInformation signerInformation, DigestAlgorithm hashIndexDigestAlgorithm, org.bouncycastle.asn1.ASN1ObjectIdentifier atsHashIndexVersionIdentifier) The ats-hash-index unsigned attribute provides an unambiguous imprint of the essential components of a CAdES signature for use in the archive time-stamp (see 6.4.3).ModifierConstructorDescriptionCAdESTimestampParameters
(DigestAlgorithm digestAlgorithm) The default constructorCustomMessageDigestCalculatorProvider
(DigestAlgorithm messageDigestAlgo, String messageDigestValueBase64) The default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.validation
Modifier and TypeMethodDescriptionCAdESSignature.getMessageDigestAlgorithms()
Returns a set of usedDigestAlgorithm
s incorporated into the CMSSignedDataModifier and TypeMethodDescriptionCAdESSignature.getSignatureDigestReference
(DigestAlgorithm digestAlgorithm) TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch. -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.validation.timestamp
Modifier and TypeMethodDescriptionprotected CAdESTimestampMessageDigestBuilder
CAdESTimestampSource.getTimestampMessageImprintDigestBuilder
(DigestAlgorithm digestAlgorithm) ModifierConstructorDescriptionCAdESTimestampMessageDigestBuilder
(CAdESSignature signature, ListCertificateSource certificateSource, DigestAlgorithm digestAlgorithm) The constructor to compute message-imprint for timestamps related to thesignature
-
Uses of DigestAlgorithm in eu.europa.esig.dss.diagnostic
Modifier and TypeMethodDescriptionAbstractTokenProxy.getDigestAlgorithm()
TokenProxy.getDigestAlgorithm()
Returns the DigestAlgorithm used to create the signatureValueCertificateRefWrapper.getDigestMethod()
Returns a usedDigestAlgorithm
for a certificate reference creationDiagnosticData.getFirstSignatureDigestAlgorithm()
This method returns theDigestAlgorithm
of the first signature.DiagnosticData.getSignatureDigestAlgorithm
(String signatureId) This method returns theDigestAlgorithm
for the given signature. -
Uses of DigestAlgorithm in eu.europa.esig.dss.diagnostic.jaxb
Modifier and TypeFieldDescriptionprotected DigestAlgorithm
XmlBasicSignature.digestAlgoUsedToSignThisToken
protected DigestAlgorithm
XmlDigestAlgoAndValue.digestMethod
protected DigestAlgorithm
XmlSignatureDigestReference.digestMethod
Modifier and TypeMethodDescriptionXmlBasicSignature.getDigestAlgoUsedToSignThisToken()
Gets the value of the digestAlgoUsedToSignThisToken property.XmlDigestAlgoAndValue.getDigestMethod()
Gets the value of the digestMethod property.XmlSignatureDigestReference.getDigestMethod()
Gets the value of the digestMethod property.Modifier and TypeMethodDescriptionAdapter23.marshal
(DigestAlgorithm value) Adapter24.marshal
(DigestAlgorithm value) Adapter26.marshal
(DigestAlgorithm value) void
XmlBasicSignature.setDigestAlgoUsedToSignThisToken
(DigestAlgorithm value) Sets the value of the digestAlgoUsedToSignThisToken property.void
XmlDigestAlgoAndValue.setDigestMethod
(DigestAlgorithm value) Sets the value of the digestMethod property.void
XmlSignatureDigestReference.setDigestMethod
(DigestAlgorithm value) Sets the value of the digestMethod property. -
Uses of DigestAlgorithm in eu.europa.esig.dss.enumerations
Modifier and TypeMethodDescriptionstatic DigestAlgorithm
DigestAlgorithm.forHttpHeader
(String hashName) Returns the digest algorithm associated to the given JWS Http Header Hash Algorithm.static DigestAlgorithm
Returns the digest algorithm associated with the given identifier, according to TS 119 182-1, Annex E (Digest algorithms identifiers for JAdES signatures)static DigestAlgorithm
DigestAlgorithm.forJavaName
(String javaName) Returns the digest algorithm associated to the given JCE name.static DigestAlgorithm
Returns the digest algorithm associated to the given name.static DigestAlgorithm
DigestAlgorithm.forName
(String name, DigestAlgorithm defaultValue) Returns the digest algorithm associated to the given name.static DigestAlgorithm
Returns the digest algorithm associated to the given OID.static DigestAlgorithm
Returns the digest algorithm associated to the given XML url.SignatureAlgorithm.getDigestAlgorithm()
This method returns the digest algorithm.static DigestAlgorithm
Returns the enum constant of this type with the specified name.static DigestAlgorithm[]
DigestAlgorithm.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic DigestAlgorithm
DigestAlgorithm.forName
(String name, DigestAlgorithm defaultValue) Returns the digest algorithm associated to the given name.static SignatureAlgorithm
SignatureAlgorithm.getAlgorithm
(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm) For given encryption algorithm and digest algorithm this function returns the signature algorithm.static SignatureAlgorithm
SignatureAlgorithm.getAlgorithm
(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf) For given encryption algorithm and digest algorithm this function returns the signature algorithm. -
Uses of DigestAlgorithm in eu.europa.esig.dss.jades
Modifier and TypeMethodDescriptionHTTPHeader.getDigest
(DigestAlgorithm digestAlgorithm) void
JAdESSignatureParameters.setSigningCertificateDigestMethod
(DigestAlgorithm signingCertificateDigestMethod) The digest method indicates the digest algorithm to be used to calculate the certificate digest to define a signing certificate ('x5t#256' for SHA256 or 'x5t#o' for other algorithms) Default: DigestAlgorithm.SHA256 ('x5t#256' attribute will be created)ModifierConstructorDescriptionHTTPHeaderDigest
(DSSDocument messageBodyDocument, DigestAlgorithm digestAlgorithm) The default constructorJAdESTimestampParameters
(DigestAlgorithm digestAlgorithm) The default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.jades.signature
Modifier and TypeMethodDescriptionprotected void
JAdESLevelBaselineB.incorporateSigningCertificateOtherDigestReference
(CertificateToken signingCertificate, DigestAlgorithm digestAlgorithm) Incorporates 5.2.2.2 The x5t#o (X509 certificate digest) header parameter -
Uses of DigestAlgorithm in eu.europa.esig.dss.jades.validation
Modifier and TypeMethodDescriptionJAdESSignature.getSignatureDigestReference
(DigestAlgorithm digestAlgorithm) -
Uses of DigestAlgorithm in eu.europa.esig.dss.jades.validation.timestamp
Modifier and TypeMethodDescriptionJAdESTimestampSource.getArchiveTimestampData
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Returns message-imprint digest for an ArchiveTimestampJAdESTimestampSource.getSignatureTimestampData
(DigestAlgorithm digestAlgorithm) Returns the message-imprint digest for a SignatureTimestamp (BASE64URL(JWS Signature Value))protected JAdESTimestampMessageDigestBuilder
JAdESTimestampSource.getTimestampMessageImprintDigestBuilder
(DigestAlgorithm digestAlgorithm) ModifierConstructorDescriptionJAdESTimestampMessageDigestBuilder
(JAdESSignature signature, DigestAlgorithm digestAlgorithm) The constructor to compute message-imprint for timestamps related to thesignature
-
Uses of DigestAlgorithm in eu.europa.esig.dss.jaxb.parsers
Modifier and TypeMethodDescriptionstatic DigestAlgorithm
Parses the value and returnsDigestAlgorithm
Modifier and TypeMethodDescriptionstatic String
DigestAlgorithmParser.print
(DigestAlgorithm v) Gets a text name of the value -
Uses of DigestAlgorithm in eu.europa.esig.dss.model
Modifier and TypeFieldDescriptionprotected DigestAlgorithm
TimestampParameters.digestAlgorithm
The digest algorithm to provide to the timestamping authorityModifier and TypeFieldDescriptionprotected EnumMap<DigestAlgorithm,
String> CommonDocument.base64EncodeDigestMap
Cached map of DigestAlgorithms and the corresponding digests for the documentModifier and TypeMethodDescriptionDigest.getAlgorithm()
Gets the DigestAlgorithmAbstractSerializableSignatureParameters.getDigestAlgorithm()
Policy.getDigestAlgorithm()
Return the hash algorithm for the signature policySerializableSignatureParameters.getDigestAlgorithm()
Get the digest algorithmSerializableTimestampParameters.getDigestAlgorithm()
Returns a DigestAlgorithm to be used to hash a data to be timestampedTimestampParameters.getDigestAlgorithm()
AbstractSerializableSignatureParameters.getReferenceDigestAlgorithm()
Get the digest algorithm for ds:Reference or message-digest attributeModifier and TypeMethodDescriptionvoid
DigestDocument.addDigest
(DigestAlgorithm digestAlgorithm, String base64EncodeDigest) This method allows to add a pair:DigestAlgorithm
and the corresponding digest value calculated externally on the encapsulated file.CommonDocument.getDigest
(DigestAlgorithm digestAlgorithm) DigestDocument.getDigest
(DigestAlgorithm digestAlgorithm) DSSDocument.getDigest
(DigestAlgorithm digestAlgorithm) This method returns the encoded digest value of the currentDSSDocument
using the base64 algorithm.void
Digest.setAlgorithm
(DigestAlgorithm algorithm) Sets the DigestAlgorithmvoid
AbstractSerializableSignatureParameters.setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Set the digest algorithmvoid
Policy.setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Set the hash algorithm for the explicit signature policyvoid
TimestampParameters.setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets DigestAlgorithm to use for timestamped data's digest computationvoid
AbstractSerializableSignatureParameters.setReferenceDigestAlgorithm
(DigestAlgorithm referenceDigestAlgorithm) Sets the DigestAlgorithm to be used for reference digest calculationModifierConstructorDescriptionDigest
(DigestAlgorithm algorithm, byte[] value) Default constructorDigestDocument
(DigestAlgorithm digestAlgorithm, String base64EncodeDigest) Creates DigestDocument.DigestDocument
(DigestAlgorithm digestAlgorithm, String base64EncodeDigest, String name) Creates DigestDocument.DSSMessageDigest
(DigestAlgorithm algorithm, byte[] value) Default constructor with provided digest algorithm and the corresponding hash valueprotected
TimestampParameters
(DigestAlgorithm digestAlgorithm) The default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.model.identifier
Modifier and TypeFieldDescriptionprotected static final DigestAlgorithm
Identifier.DIGEST_ALGO
The DigestAlgorithm to useModifier and TypeMethodDescriptionbyte[]
MultipleDigestIdentifier.getDigestValue
(DigestAlgorithm digestAlgorithm) Returns a digest value for the givendigestAlgorithm
protected MessageDigest
Identifier.getMessageDigest
(DigestAlgorithm digestAlgorithm) GetsMessageDigest
of the DigestAlgorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.model.x509
Modifier and TypeMethodDescriptionbyte[]
Token.getDigest
(DigestAlgorithm digestAlgorithm) Returns the digest value of the wrapped token -
Uses of DigestAlgorithm in eu.europa.esig.dss.pades
Modifier and TypeMethodDescriptionPAdESCommonParameters.getDigestAlgorithm()
Returns a DigestAlgorithm to be used to hash the signed/timestamped dataModifierConstructorDescriptionPAdESTimestampParameters
(DigestAlgorithm digestAlgorithm) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.pades.validation
Modifier and TypeMethodDescriptionPAdESSignature.getSignatureDigestReference
(DigestAlgorithm digestAlgorithm) TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch. -
Uses of DigestAlgorithm in eu.europa.esig.dss.pdf.encryption
Modifier and TypeMethodDescriptionvoid
DSSSecureRandomProvider.setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Allows to set a DigestAlgorithm that will be applied on serialized parameters -
Uses of DigestAlgorithm in eu.europa.esig.dss.service.ocsp
Modifier and TypeMethodDescriptionvoid
OnlineOCSPSource.setCertIDDigestAlgorithm
(DigestAlgorithm certIDDigestAlgorithm) This method allows setting of DigestAlgorithm to be used in hash calculation for CertID element in an OCSP request building -
Uses of DigestAlgorithm in eu.europa.esig.dss.service.tsp
Modifier and TypeMethodDescriptionOnlineTSPSource.getTimeStampResponse
(DigestAlgorithm digestAlgorithm, byte[] digest) -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi
Modifier and TypeMethodDescriptionstatic DigestAlgorithm
DSSRevocationUtils.getUsedDigestAlgorithm
(org.bouncycastle.cert.ocsp.SingleResp singleResp) Returns a DigestAlgorithm used in the givensingleResp
Modifier and TypeMethodDescriptionstatic byte[]
DSSUtils.digest
(DigestAlgorithm digestAlgorithm, byte[] data) This method allows to digest the data with the given algorithm.static byte[]
DSSUtils.digest
(DigestAlgorithm digestAlgorithm, byte[]... data) Computes the digest on the data concatenationstatic byte[]
DSSUtils.digest
(DigestAlgorithm digestAlgorithm, DSSDocument document) Computes the digests for thedocument
static byte[]
DSSUtils.digest
(DigestAlgorithm digestAlgo, InputStream inputStream) This method allows to digest the data in theInputStream
with the given algorithm.static byte[]
DSSUtils.encodeRSADigest
(DigestAlgorithm digestAlgorithm, byte[] digest) This method wraps the digest value in a DigestInfo (combination of digest algorithm and value).static org.bouncycastle.asn1.x509.AlgorithmIdentifier
DSSASN1Utils.getAlgorithmIdentifier
(DigestAlgorithm digestAlgorithm) Gets the ASN.1 algorithm identifier structure corresponding to a digest algorithmstatic byte[]
DSSASN1Utils.getAsn1SignaturePolicyDigest
(DigestAlgorithm digestAlgorithm, byte[] policyBytes) This method computes the digest of an ASN1 signature policy (used in CAdES) TS 101 733 5.8.1 : If the signature policy is defined using ASN.1, then the hash is calculated on the value without the outer type and length fields, and the hashing algorithm shall be as specified in the field sigPolicyHash.static Digest
DSSUtils.getDigest
(DigestAlgorithm digestAlgo, DSSDocument dssDocument) ReturnsDigest
of thedssDocument
static org.bouncycastle.operator.DigestCalculator
DSSRevocationUtils.getDigestCalculator
(DigestAlgorithm digestAlgorithm) Gets aDigestCalculator
for thedigestAlgorithm
static MessageDigest
DSSUtils.getMessageDigest
(DigestAlgorithm digestAlgorithm) Gets the message digest from theDigestAlgorithm
static org.bouncycastle.cert.ocsp.CertificateID
DSSRevocationUtils.getOCSPCertificateID
(CertificateToken cert, CertificateToken issuerCert, DigestAlgorithm digestAlgorithm) Returns theCertificateID
for the given certificate and its issuer's certificate.static DigestDocument
DSSUtils.toDigestDocument
(DigestAlgorithm digestAlgorithm, byte[] digestValue) Creates aDigestDocument
with the providedDigestAlgorithm
anddigestValue
ModifierConstructorDescriptionDSSMessageDigestCalculator
(DigestAlgorithm digestAlgorithm) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.x509.tsp
Modifier and TypeMethodDescriptionCompositeTSPSource.getTimeStampResponse
(DigestAlgorithm digestAlgorithm, byte[] digestValue) TSPSource.getTimeStampResponse
(DigestAlgorithm digestAlgorithm, byte[] digest) Gets a TimeStampResponse relevant to the provided digest -
Uses of DigestAlgorithm in eu.europa.esig.dss.token
Modifier and TypeMethodDescriptionprotected AlgorithmParameterSpec
AbstractSignatureTokenConnection.createPSSParam
(DigestAlgorithm digestAlgo) Createsjava.security.spec.AlgorithmParameterSpec
for the givendigestAlgo
AbstractSignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) AbstractSignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry) SignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenkeyEntry
.SignatureTokenConnection.sign
(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry) This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenkeyEntry
. -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation
Modifier and TypeFieldDescriptionprotected DigestAlgorithm
DiagnosticDataBuilder.defaultDigestAlgorithm
The digest algorithm to use for digest computationModifier and TypeFieldDescriptionprotected Collection<DigestAlgorithm>
RevocationDataVerifier.acceptableDigestAlgorithms
A collection of Digest Algorithms to accept from CRL/OCSP responders.Modifier and TypeMethodDescriptionCertificateVerifier.getDefaultDigestAlgorithm()
This method returns a default Digest Algorithm what will be used for digest calculationCommonCertificateVerifier.getDefaultDigestAlgorithm()
protected DigestAlgorithm
SignedDocumentValidator.getDefaultDigestAlgorithm()
Returns a default digest algorithm defined for a digest calculationAdvancedSignature.getDigestAlgorithm()
Retrieves the digest algorithm used for generating the signature.SignatureDigestReference.getDigestAlgorithm()
ReturnsDigestAlgorithm
used to calculate digest valueModifier and TypeMethodDescriptionCertificateDiagnosticDataBuilder.defaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) DiagnosticDataBuilder.defaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) This method allows to set the defaultDigestAlgorithm
which will be used for tokens' DigestAlgoAndValue calculationSignedDocumentDiagnosticDataBuilder.defaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) ManifestFile.getDigestBase64String
(DigestAlgorithm digestAlgorithm) Gets base64 encoded digest string of the manifest document for the givendigestAlgorithm
AdvancedSignature.getSignatureDigestReference
(DigestAlgorithm digestAlgorithm) Returns a signature reference element as defined in TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch.protected XmlDigestAlgoAndValue
DiagnosticDataBuilder.getXmlDigestAlgoAndValue
(DigestAlgorithm digestAlgo, byte[] digestValue) Builds aXmlDigestAlgoAndValue
forDigestAlgorithm
anddigestValue
void
CertificateVerifier.setDefaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) This method allows to change the Digest Algorithm that will be used for tokens' digest calculation Default :DigestAlgorithm.SHA256
void
CommonCertificateVerifier.setDefaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Modifier and TypeMethodDescriptionvoid
RevocationDataVerifier.setAcceptableDigestAlgorithms
(Collection<DigestAlgorithm> acceptableDigestAlgorithms) Sets a collection of Digest Algorithms for acceptance. -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.policy
Modifier and TypeMethodDescriptionAbstractSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) BasicASNSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) SignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) ReturnsDigest
on the computed SignaturePolicy's contentZeroHashSignaturePolicyValidator.getComputedDigest
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav
ModifierConstructorDescriptionMessageImprintDigestAlgorithmValidation
(I18nProvider i18nProvider, Date currentTime, DigestAlgorithm digestAlgorithm, CryptographicConstraint constraint) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav.cc
Modifier and TypeFieldDescriptionprotected final DigestAlgorithm
AbstractCryptographicChecker.digestAlgorithm
The Digest algorithmModifier and TypeMethodDescriptionprotected String
AbstractCryptographicCheck.getName
(DigestAlgorithm digestAlgorithm) Returns name for a DigestAlgorithm safelyprotected boolean
AbstractCryptographicChecker.isExpirationDateAvailable
(DigestAlgorithm digestAlgorithm) Gets if the expiration date if defined for the givendigestAlgorithm
ModifierConstructorDescriptionprotected
AbstractCryptographicChecker
(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, Date validationDate, MessageTag position, CryptographicConstraint constraint) Default constructorprotected
AbstractCryptographicChecker
(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, MaskGenerationFunction maskGenerationFunction, String keyLengthUsedToSignThisToken, Date validationDate, MessageTag position, CryptographicConstraint constraint) Complete constructorprotected
DigestAlgorithmAtValidationTimeCheck
(I18nProvider i18nProvider, DigestAlgorithm digestAlgo, Date validationDate, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructorprotected
DigestAlgorithmReliableCheck
(I18nProvider i18nProvider, DigestAlgorithm digestAlgo, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructorDigestCryptographicChecker
(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, Date validationDate, MessageTag position, CryptographicConstraint constraint) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav.checks
Modifier and TypeMethodDescriptionCryptographicConstraintWrapper.getReliableDigestAlgorithms()
This method returns a list of reliableDigestAlgorithm
according to the current validation policyCryptographicConstraintWrapper.getReliableDigestAlgorithmsAtTime
(Date validationTime) This method returns a list of reliableDigestAlgorithm
according to the current validation policy at the given validation timeModifier and TypeMethodDescriptionCryptographicConstraintWrapper.getExpirationDate
(DigestAlgorithm digestAlgorithm) Gets an expiration date for the digest algorithm with namedigestAlgoToSearch
.boolean
CryptographicConstraintWrapper.isDigestAlgorithmReliable
(DigestAlgorithm digestAlgorithm) Checks if the givenDigestAlgorithm
is reliable (acceptable)ModifierConstructorDescriptionDigestMatcherCryptographicCheck
(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, T result, Date validationDate, MessageTag position, CryptographicConstraint constraint) Default constructorMessageImprintCryptographicCheck
(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, XmlSAV result, Date validationDate, CryptographicConstraint constraint) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.scope
Modifier and TypeMethodDescriptionprotected DigestAlgorithm
AbstractSignatureScopeFinder.getDefaultDigestAlgorithm()
Returns the usedDigestAlgorithm
Modifier and TypeMethodDescriptionvoid
AbstractSignatureScopeFinder.setDefaultDigestAlgorithm
(DigestAlgorithm defaultDigestAlgorithm) Sets the default DigestAlgorithm to use forSignatureScope
digest computationvoid
SignatureScopeFinder.setDefaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets the default DigestAlgorithm to use forSignatureScope
digest computationvoid
TimestampScopeFinder.setDefaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets the default DigestAlgorithm to use forSignatureScope
digest computation -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.timestamp
Modifier and TypeMethodDescriptionTimestampToken.getDigestAlgorithm()
This method returns aDigestAlgorithm
used for message-imprint computation of the timestamp tokenModifier and TypeMethodDescriptionprotected abstract TimestampMessageDigestBuilder
SignatureTimestampSource.getTimestampMessageImprintDigestBuilder
(DigestAlgorithm digestAlgorithm) Returns aTimestampMessageDigestBuilder
to compute message digest with the providedDigestAlgorithm
-
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.dto
Modifier and TypeMethodDescriptionDigestDTO.getAlgorithm()
Gets theDigestAlgorithm
RemoteDocument.getDigestAlgorithm()
Returns the current used digest algorithm for a DigestDocumentModifier and TypeMethodDescriptionvoid
DigestDTO.setAlgorithm
(DigestAlgorithm algorithm) Sets theDigestAlgorithm
void
RemoteDocument.setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets the usedDigestAlgorithm
for a DigestDocumentModifierConstructorDescriptionDigestDTO
(DigestAlgorithm algorithm, byte[] value) The default constructorRemoteDocument
(byte[] bytes, DigestAlgorithm digestAlgorithm, String name) This constructor allows to create an instance of RemoteDocument with a digest document -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.common
Modifier and TypeMethodDescriptionRemoteSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.RemoteSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenalias
.RemoteSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) RemoteSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.rest
Modifier and TypeMethodDescriptionRestSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) RestSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.rest.client
Modifier and TypeMethodDescriptionRestSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.RestSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenalias
. -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.soap
Modifier and TypeMethodDescriptionSoapSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) SoapSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.soap.client
Modifier and TypeMethodDescriptionSoapSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.SoapSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenalias
. -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.signature.dto.parameters
Modifier and TypeMethodDescriptionRemoteSignatureParameters.getDigestAlgorithm()
Get the digest algorithmRemoteTimestampParameters.getDigestAlgorithm()
Gets the digest algorithmRemoteBLevelParameters.getPolicyDigestAlgorithm()
Return the hash algorithm for the signature policyRemoteSignatureParameters.getReferenceDigestAlgorithm()
Get the digest algorithm for ds:Reference or message-digest attributeRemoteTrustedListSignatureParameters.getReferenceDigestAlgorithm()
Gets aDigestAlgorithm
to be used on an enveloped-signature reference creationModifier and TypeMethodDescriptionvoid
RemoteSignatureParameters.setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Set the digest algorithmvoid
RemoteTimestampParameters.setDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets the digest algorithm for message-imprint hash computationvoid
RemoteBLevelParameters.setPolicyDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Set the hash algorithm for the explicit signature policyvoid
RemoteSignatureParameters.setReferenceDigestAlgorithm
(DigestAlgorithm referenceDigestAlgorithm) Sets the digest algorithm for ds:Reference or message-digest attributevoid
RemoteTrustedListSignatureParameters.setReferenceDigestAlgorithm
(DigestAlgorithm referenceDigestAlgorithm) Sets aDigestAlgorithm
to be used on an enveloped-signature reference creationModifierConstructorDescriptionRemoteTimestampParameters
(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm) Default constructorRemoteTimestampParameters
(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Constructor with a canonicalization method (to be used for XAdES) -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.timestamp.remote
Modifier and TypeMethodDescriptionRemoteTimestampService.getTimestampResponse
(DigestAlgorithm digestAlgorithm, byte[] value) Timestamps thevalue
-
Uses of DigestAlgorithm in eu.europa.esig.dss.xades
Modifier and TypeMethodDescriptionXAdESSignatureParameters.getSigningCertificateDigestMethod()
XAdESSignatureParameters.getTokenReferencesDigestAlgorithm()
Gets aDigestAlgorithm
to create CompleteCertificateRefs/CompleteRevocationRefs withModifier and TypeMethodDescriptionstatic List<DigestAlgorithm>
DSSXMLUtils.getReferenceDigestAlgos
(Element referenceContainer) Returns a list ofDigestAlgorithm
for all references containing inside the providedreferenceContainer
Modifier and TypeMethodDescriptionstatic void
DSSXMLUtils.incorporateDigestMethod
(Element parentElement, DigestAlgorithm digestAlgorithm, DSSNamespace namespace) This method creates the ds:DigestMethod DOM objectTrustedListSignatureParametersBuilder.setReferenceDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets an Enveloped ReferenceDigestAlgorithm
to usevoid
XAdESSignatureParameters.setSigningCertificateDigestMethod
(DigestAlgorithm signingCertificateDigestMethod) This property is a part of the standard:
7.2.2 The SigningCertificate element (101 903 V1.4.2 (2010-12) XAdES)
The digest method indicates the digest algorithm to be used to calculate the CertDigest element that contains the digest for each certificate referenced in the sequence.void
XAdESSignatureParameters.setTokenReferencesDigestAlgorithm
(DigestAlgorithm tokenReferencesDigestAlgorithm) Sets aDigestAlgorithm
to create CompleteCertificateRefs/CompleteRevocationRefs for -C level Default : SHA256ModifierConstructorDescriptionXAdESTimestampParameters
(DigestAlgorithm digestAlgorithm) Constructor with digest algorithmXAdESTimestampParameters
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.reference
Modifier and TypeMethodDescriptionDSSReference.getDigestMethodAlgorithm()
Gets DigestAlgorithm to use for digest value computationModifier and TypeMethodDescriptionvoid
DSSReference.setDigestMethodAlgorithm
(DigestAlgorithm digestMethod) Sets DigestAlgorithm to use for digest value computation Default : DigestAlgorithm.SHA256ModifierConstructorDescriptionReferenceBuilder
(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm, ReferenceIdProvider referenceIdProvider) The default constructor for a detached references creation -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.signature
Modifier and TypeMethodDescriptionprotected DigestAlgorithm
XAdESBuilder.getReferenceDigestAlgorithmOrDefault
(XAdESSignatureParameters params) Returns params.referenceDigestAlgorithm if exists, params.digestAlgorithm otherwiseModifier and TypeMethodDescriptionprotected Element
XAdESBuilder.incorporateCert
(Element parentDom, CertificateToken certificate, DigestAlgorithm digestAlgorithm) Creates Cert DOM object:protected void
XAdESBuilder.incorporateCertDigest
(Element parentDom, DigestAlgorithm digestAlgorithm, Token token) This method creates the xades:CertDigest DOM object.protected void
XAdESBuilder.incorporateDigestMethod
(Element parentDom, DigestAlgorithm digestAlgorithm) This method creates the ds:DigestMethod DOM object.protected void
XAdESBuilder.incorporateDigestValue
(Element parentDom, DigestAlgorithm digestAlgorithm, Token token) This method creates the ds:DigestValue DOM object for a givenToken
ModifierConstructorDescriptionManifestBuilder
(DigestAlgorithm digestAlgorithm, List<DSSDocument> documents) Constructor for the builder (the Id of the Manifest tag will be equals to "manifest")ManifestBuilder
(String manifestId, DigestAlgorithm digestAlgorithm, List<DSSDocument> documents) Constructor for the builderManifestBuilder
(String manifestId, DigestAlgorithm digestAlgorithm, List<DSSDocument> documents, DSSNamespace xmldsigNamespace) Constructor for the builder -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.validation
Modifier and TypeMethodDescriptionXAdESSignature.getSignatureDigestReference
(DigestAlgorithm digestAlgorithm) TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch.ModifierConstructorDescriptionDetachedSignatureResolver
(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.validation.policy
Modifier and TypeMethodDescriptionXMLSignaturePolicyValidator.getDigestAfterTransforms
(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm, Element transformsElement) Computes Digests after processing of giventransformsElement
-
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.validation.timestamp
Modifier and TypeMethodDescriptionXAdESTimestampSource.getArchiveTimestampData
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Returns message-imprint digest for an ArchiveTimeStampXAdESTimestampSource.getSignatureTimestampMessageDigest
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Returns message-imprint digest for a SignatureTimestampprotected XAdESTimestampMessageDigestBuilder
XAdESTimestampSource.getTimestampMessageImprintDigestBuilder
(DigestAlgorithm digestAlgorithm) XAdESTimestampSource.getTimestampX1MessageDigest
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod, boolean en319132) Returns message-imprint digest for a SigAndRefsTimestampXAdESTimestampSource.getTimestampX2MessageDigest
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod, boolean en319132) Returns message-imprint digest for a RefsOnlyTimestampModifierConstructorDescriptionXAdESTimestampMessageDigestBuilder
(XAdESSignature signature, DigestAlgorithm digestAlgorithm) Default constructor to be used for a new timestamp creation.