Uses of Enum Class
eu.europa.esig.dss.enumerations.DigestAlgorithm
Packages that use DigestAlgorithm
Package
Description
-
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.cades
Methods in eu.europa.esig.dss.asic.cades that return DigestAlgorithmModifier and TypeMethodDescriptionASiCWithCAdESCommonParameters.getDigestAlgorithm()Returns a DigestAlgorithm to be used to hash a data to be timestampedConstructors in eu.europa.esig.dss.asic.cades with parameters of type DigestAlgorithmModifierConstructorDescriptionASiCWithCAdESTimestampParameters(DigestAlgorithm digestAlgorithm) The constructor defining aDigestAlgorithmASiCWithCAdESTimestampParameters(DigestAlgorithm digestAlgorithm, ASiCParameters asicParams) The constructor defining aDigestAlgorithmandASiCParameters -
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.cades.signature
Methods in eu.europa.esig.dss.asic.cades.signature that return DigestAlgorithmModifier and TypeMethodDescriptionprotected DigestAlgorithmASiCWithCAdESSignatureExtension.getReferenceDigestAlgorithmOrDefault(CAdESSignatureParameters params) Returns params.referenceDigestAlgorithm if exists, params.digestAlgorithm otherwiseMethods in eu.europa.esig.dss.asic.cades.signature with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionASiCWithCAdESLevelBaselineLTA.extend(ASiCContent asicContent, DigestAlgorithm digestAlgorithm) ExtendsasicContentwith 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
Constructors in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type DigestAlgorithmModifierConstructorDescriptionASiCEWithCAdESArchiveManifestBuilder(ASiCContent asicContent, DSSDocument lastArchiveManifest, DigestAlgorithm digestAlgorithm, String timestampFilename) The default constructorprotectedASiCEWithCAdESManifestBuilder(ASiCContent asicContent, String documentFilename, DigestAlgorithm digestAlgorithm) The default constructorprotectedASiCEWithCAdESManifestBuilder(ASiCContent asicContent, String documentFilename, DigestAlgorithm digestAlgorithm, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factoryASiCWithCAdESSignatureManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String signatureFilename) The default constructorASiCWithCAdESSignatureManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String signatureFilename, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factoryASiCWithCAdESTimestampManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String timestampFilename) The default constructorASiCWithCAdESTimestampManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String timestampFilename, ASiCWithCAdESFilenameFactory asicFilenameFactory) Constructor with filename factory -
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.common
Fields in eu.europa.esig.dss.asic.common declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected final DigestAlgorithmAbstractASiCManifestBuilder.digestAlgorithmThe DigestAlgorithm to use for reference digests computationMethods in eu.europa.esig.dss.asic.common with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected ElementAbstractASiCManifestBuilder.addDataObjectReference(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm) Adds a<DataObjectReference>elementConstructors in eu.europa.esig.dss.asic.common with parameters of type DigestAlgorithmModifierConstructorDescriptionprotectedAbstractASiCManifestBuilder(ASiCContent asicContent, String sigReferenceUri, DigestAlgorithm digestAlgorithm) Constructor to instantiate AbstractASiCManifestBuilder with a provided digest algorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.common.evidencerecord
Fields in eu.europa.esig.dss.asic.common.evidencerecord declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected final DigestAlgorithmZipContentEvidenceRecordDigestBuilder.digestAlgorithmThe digest algorithm to be used on hash computation.Constructors in eu.europa.esig.dss.asic.common.evidencerecord with parameters of type DigestAlgorithmModifierConstructorDescriptionASiCEvidenceRecordDigestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm) Creates a ASiCEvidenceRecordDigestBuilder to build hashes with the providedDigestAlgorithmfromASiCContentASiCEvidenceRecordDigestBuilder(DSSDocument asicContainer, DigestAlgorithm digestAlgorithm) Creates a ASiCEvidenceRecordDigestBuilder to build hashes with the providedDigestAlgorithmfrom aDSSDocument, represented by an ASiC containerASiCEvidenceRecordManifestBuilder(ASiCContent asicContent, DigestAlgorithm digestAlgorithm, String evidenceRecordFilename) Constructor to build a manifest from aASiCContentrepresenting the ASiC containerASiCEvidenceRecordManifestBuilder(DSSDocument asicContainer, DigestAlgorithm digestAlgorithm, String evidenceRecordFilename) Constructor to build a manifest from aeu.europa.esig.dss.model.DSSDocumentrepresenting the ASiC containerprotectedZipContentEvidenceRecordDigestBuilder(DigestAlgorithm digestAlgorithm) Constructor with defined digest algorithmZipContentEvidenceRecordDigestBuilder(DSSDocument zipContainer, DigestAlgorithm digestAlgorithm) Creates a ZipContentEvidenceRecordDigestBuilder to build hashes with the providedDigestAlgorithmfrom aDSSDocument, represented by a ZIP container -
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.common.merge
Fields in eu.europa.esig.dss.asic.common.merge declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected static final DigestAlgorithmDefaultContainerMerger.DEFAULT_DIGEST_ALGORITHMDigest algo used for internal documents comparison -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades
Fields in eu.europa.esig.dss.cades declared as DigestAlgorithmModifier and TypeFieldDescriptionstatic final DigestAlgorithmCMSUtils.DEFAULT_ARCHIVE_TIMESTAMP_HASH_ALGOThe default DigestAlgorithm for ArchiveTimestampMethods in eu.europa.esig.dss.cades with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionstatic voidCMSUtils.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.DigestCalculatorProviderCMSUtils.getDigestCalculatorProvider(DSSDocument toSignDocument, DigestAlgorithm digestAlgorithm) Returns aDigestCalculatorProvider -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.signature
Methods in eu.europa.esig.dss.cades.signature with parameters of type DigestAlgorithmModifier 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.AttributeCadesLevelBaselineLTATimestampExtractor.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).Constructors in eu.europa.esig.dss.cades.signature with parameters of type DigestAlgorithmModifierConstructorDescriptionCAdESTimestampParameters(DigestAlgorithm digestAlgorithm) The default constructorCustomMessageDigestCalculatorProvider(DigestAlgorithm messageDigestAlgo, byte[] messageDigestValue) The default constructor to create an object with a message digest provided in a form of byte arrayCustomMessageDigestCalculatorProvider(DigestAlgorithm messageDigestAlgo, String messageDigestValueBase64) Deprecated.since DSS 6.1. -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.validation
Methods in eu.europa.esig.dss.cades.validation that return DigestAlgorithmMethods in eu.europa.esig.dss.cades.validation that return types with arguments of type DigestAlgorithmModifier and TypeMethodDescriptionCAdESSignature.getMessageDigestAlgorithms()Returns a set of usedDigestAlgorithms incorporated into the CMSSignedDataMethods in eu.europa.esig.dss.cades.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionCAdESSignature.getSignatureDigestReference(DigestAlgorithm digestAlgorithm) TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch. 5.1.4.2.1.3 XML component: In case of CAdES signatures, the input to the digest value computation shall be one of the DER-encoded instances of SignedInfo type present within the CMS structure. -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.validation.evidencerecord
Constructors in eu.europa.esig.dss.cades.validation.evidencerecord with parameters of type DigestAlgorithmModifierConstructorDescriptionCAdESEvidenceRecordDigestBuilder(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate CAdESEvidenceRecordDigestBuilder with a custom digest algorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.validation.timestamp
Methods in eu.europa.esig.dss.cades.validation.timestamp with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected CAdESTimestampMessageDigestBuilderCAdESTimestampSource.getTimestampMessageImprintDigestBuilder(DigestAlgorithm digestAlgorithm) Constructors in eu.europa.esig.dss.cades.validation.timestamp with parameters of type DigestAlgorithmModifierConstructorDescriptionCAdESTimestampMessageDigestBuilder(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
Methods in eu.europa.esig.dss.diagnostic that return DigestAlgorithmModifier and TypeMethodDescriptionAbstractTokenProxy.getDigestAlgorithm()TokenProxy.getDigestAlgorithm()Returns the DigestAlgorithm used to create the signatureValueCertificateRefWrapper.getDigestMethod()Returns a usedDigestAlgorithmfor a certificate reference creationDiagnosticData.getFirstSignatureDigestAlgorithm()This method returns theDigestAlgorithmof the first signature.DiagnosticData.getSignatureDigestAlgorithm(String signatureId) This method returns theDigestAlgorithmfor the given signature. -
Uses of DigestAlgorithm in eu.europa.esig.dss.diagnostic.jaxb
Fields in eu.europa.esig.dss.diagnostic.jaxb declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected DigestAlgorithmXmlBasicSignature.digestAlgoUsedToSignThisTokenprotected DigestAlgorithmXmlDigestAlgoAndValue.digestMethodprotected DigestAlgorithmXmlSignatureDigestReference.digestMethodMethods in eu.europa.esig.dss.diagnostic.jaxb that return DigestAlgorithmModifier 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.Methods in eu.europa.esig.dss.diagnostic.jaxb with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionAdapter24.marshal(DigestAlgorithm value) Adapter25.marshal(DigestAlgorithm value) Adapter27.marshal(DigestAlgorithm value) voidXmlBasicSignature.setDigestAlgoUsedToSignThisToken(DigestAlgorithm value) Sets the value of the digestAlgoUsedToSignThisToken property.voidXmlDigestAlgoAndValue.setDigestMethod(DigestAlgorithm value) Sets the value of the digestMethod property.voidXmlSignatureDigestReference.setDigestMethod(DigestAlgorithm value) Sets the value of the digestMethod property. -
Uses of DigestAlgorithm in eu.europa.esig.dss.enumerations
Methods in eu.europa.esig.dss.enumerations that return DigestAlgorithmModifier and TypeMethodDescriptionstatic DigestAlgorithmDigestAlgorithm.forHttpHeader(String hashName) Returns the digest algorithm associated to the given JWS Http Header Hash Algorithm.static DigestAlgorithmReturns the digest algorithm associated with the given identifier, according to TS 119 182-1, Annex E (Digest algorithms identifiers for JAdES signatures)static DigestAlgorithmDigestAlgorithm.forJavaName(String javaName) Returns the digest algorithm associated to the given JCE name.static DigestAlgorithmReturns the digest algorithm associated to the given name.static DigestAlgorithmDigestAlgorithm.forName(String name, DigestAlgorithm defaultValue) Returns the digest algorithm associated to the given name.static DigestAlgorithmReturns the digest algorithm associated to the given OID.static DigestAlgorithmReturns the digest algorithm associated to the given XML url.SignatureAlgorithm.getDigestAlgorithm()This method returns the digest algorithm.static DigestAlgorithmReturns the enum constant of this class with the specified name.static DigestAlgorithm[]DigestAlgorithm.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in eu.europa.esig.dss.enumerations with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionstatic DigestAlgorithmDigestAlgorithm.forName(String name, DigestAlgorithm defaultValue) Returns the digest algorithm associated to the given name.static SignatureAlgorithmSignatureAlgorithm.getAlgorithm(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm) For given encryption algorithm and digest algorithm this function returns the signature algorithm.static SignatureAlgorithmSignatureAlgorithm.getAlgorithm(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf) Deprecated.since DSS 6.1. -
Uses of DigestAlgorithm in eu.europa.esig.dss.evidencerecord.asn1.digest
Methods in eu.europa.esig.dss.evidencerecord.asn1.digest with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionASN1ArchiveTimeStampSequenceDigestHelper.buildArchiveTimeStampSequenceDigest(DigestAlgorithm digestAlgorithm, int archiveTimeStampChainOrder) This method builds digest for a time-stamp chain renewal with the specifieddigestAlgorithmASN1ArchiveTimeStampSequenceDigestHelper.buildTimeStampRenewalDigest(ArchiveTimeStampObject archiveTimeStamp, DigestAlgorithm digestAlgorithm) This method builds digest for a time-stamp renewal with the specifieddigestAlgorithmASN1EvidenceRecordDataObjectDigestBuilderFactory.create(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructors in eu.europa.esig.dss.evidencerecord.asn1.digest with parameters of type DigestAlgorithmModifierConstructorDescriptionASN1EvidenceRecordDataObjectDigestBuilder(byte[] binaries, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given binaries using a provided digest algorithmASN1EvidenceRecordDataObjectDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithmASN1EvidenceRecordDataObjectDigestBuilder(InputStream inputStream, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given InputStream using a provided digest algorithmASN1EvidenceRecordRenewalDigestBuilder(ASN1EvidenceRecord asn1EvidenceRecord, DigestAlgorithm digestAlgorithm) Creates an instance ofXMLEvidenceRecordRenewalDigestBuilderallowing to build hash forXmlEvidenceRecord's renewal, with the provideddigestAlgorithm(see note below).ASN1EvidenceRecordRenewalDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofASN1EvidenceRecordRenewalDigestBuilderallowing to build hash for ASN.1 evidence recorddocument's renewal, with the provideddigestAlgorithm(see note below). -
Uses of DigestAlgorithm in eu.europa.esig.dss.evidencerecord.asn1.validation
Methods in eu.europa.esig.dss.evidencerecord.asn1.validation that return DigestAlgorithmModifier and TypeMethodDescriptionASN1ArchiveTimeStampObject.getDigestAlgorithm()Gets theDigestAlgorithmMethods in eu.europa.esig.dss.evidencerecord.asn1.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidASN1ArchiveTimeStampObject.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets theDigestAlgorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.evidencerecord.common.digest
Fields in eu.europa.esig.dss.evidencerecord.common.digest declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected final DigestAlgorithmAbstractDataObjectDigestBuilder.digestAlgorithmThe digest algorithm to be used on hash computationprotected final DigestAlgorithmAbstractEvidenceRecordRenewalDigestBuilder.digestAlgorithmThe digest algorithm to be used on hash computation for time-stamp chain renewal.Methods in eu.europa.esig.dss.evidencerecord.common.digest that return DigestAlgorithmModifier and TypeMethodDescriptionprotected DigestAlgorithmAbstractEvidenceRecordRenewalDigestBuilder.getDigestAlgorithm(ArchiveTimeStampChainObject archiveTimeStampChain) Extracts a digest algorithm defined within XMLArchiveTimeStampChainObjectConstructors in eu.europa.esig.dss.evidencerecord.common.digest with parameters of type DigestAlgorithmModifierConstructorDescriptionprotectedAbstractDataObjectDigestBuilder(byte[] binaries, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given binaries using a provided digest algorithmprotectedAbstractDataObjectDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithmprotectedAbstractDataObjectDigestBuilder(InputStream inputStream, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given InputStream using a provided digest algorithmprotectedAbstractEvidenceRecordRenewalDigestBuilder(DefaultEvidenceRecord evidenceRecord, DigestAlgorithm digestAlgorithm) Creates an instance ofEvidenceRecordRenewalDigestBuilderallowing to build hash for an evidence record's renewal, with the provideddigestAlgorithm(see note below). -
Uses of DigestAlgorithm in eu.europa.esig.dss.evidencerecord.common.validation
Methods in eu.europa.esig.dss.evidencerecord.common.validation that return DigestAlgorithmModifier and TypeMethodDescriptionArchiveTimeStampChainObject.getDigestAlgorithm()Gets DigestAlgorithm used for digest of data objects generationMethods in eu.europa.esig.dss.evidencerecord.common.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected DSSMessageDigestEvidenceRecordTimeStampSequenceVerifier.computeDigestValueGroupHash(DigestAlgorithm digestAlgorithm, DigestValueGroup digestValueGroup, DSSMessageDigest... otherObjectDigests) Computes a hash value for a group of hashesvoidArchiveTimeStampChainObject.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets DigestAlgorithm used on data objects' digest generation -
Uses of DigestAlgorithm in eu.europa.esig.dss.evidencerecord.xml.digest
Methods in eu.europa.esig.dss.evidencerecord.xml.digest with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionXMLEvidenceRecordRenewalDigestBuilderHelper.buildArchiveTimeStampSequenceDigest(DigestAlgorithm digestAlgorithm, String canonicalizationMethod, int archiveTimeStampChainOrder) This method builds digest for a time-stamp chain renewal with the specifieddigestAlgorithmandcanonicalizationMethodXMLEvidenceRecordRenewalDigestBuilderHelper.buildTimeStampRenewalDigest(ArchiveTimeStampObject archiveTimeStamp, DigestAlgorithm digestAlgorithm, String canonicalizationMethod) This method builds digest for a time-stamp renewal with the specifieddigestAlgorithmXMLEvidenceRecordDataObjectDigestBuilderFactory.create(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructors in eu.europa.esig.dss.evidencerecord.xml.digest with parameters of type DigestAlgorithmModifierConstructorDescriptionXMLEvidenceRecordDataObjectDigestBuilder(byte[] binaries, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given binaries using a provided digest algorithmXMLEvidenceRecordDataObjectDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithmXMLEvidenceRecordDataObjectDigestBuilder(InputStream inputStream, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given InputStream using a provided digest algorithmXMLEvidenceRecordRenewalDigestBuilder(XmlEvidenceRecord xmlEvidenceRecord, DigestAlgorithm digestAlgorithm) Creates an instance ofXMLEvidenceRecordRenewalDigestBuilderallowing to build hash forXmlEvidenceRecord's renewal, with the provideddigestAlgorithm(see note below).XMLEvidenceRecordRenewalDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofXMLEvidenceRecordRenewalDigestBuilderallowing to build hash for XML evidence recorddocument's renewal, with the provideddigestAlgorithm(see note below). -
Uses of DigestAlgorithm in eu.europa.esig.dss.jades
Methods in eu.europa.esig.dss.jades that return DigestAlgorithmMethods in eu.europa.esig.dss.jades with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionHTTPHeader.getDigest(DigestAlgorithm digestAlgorithm) Deprecated.byte[]HTTPHeader.getDigestValue(DigestAlgorithm digestAlgorithm) voidJAdESSignatureParameters.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)Constructors in eu.europa.esig.dss.jades with parameters of type DigestAlgorithmModifierConstructorDescriptionHTTPHeaderDigest(DSSDocument messageBodyDocument, DigestAlgorithm digestAlgorithm) The default constructorJAdESTimestampParameters(DigestAlgorithm digestAlgorithm) The default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.jades.signature
Methods in eu.europa.esig.dss.jades.signature with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected voidJAdESLevelBaselineB.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
Methods in eu.europa.esig.dss.jades.validation that return DigestAlgorithmMethods in eu.europa.esig.dss.jades.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionJAdESSignature.getSignatureDigestReference(DigestAlgorithm digestAlgorithm) -
Uses of DigestAlgorithm in eu.europa.esig.dss.jades.validation.timestamp
Methods in eu.europa.esig.dss.jades.validation.timestamp with parameters of type DigestAlgorithmModifier 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 JAdESTimestampMessageDigestBuilderJAdESTimestampSource.getTimestampMessageImprintDigestBuilder(DigestAlgorithm digestAlgorithm) Constructors in eu.europa.esig.dss.jades.validation.timestamp with parameters of type DigestAlgorithmModifierConstructorDescriptionJAdESTimestampMessageDigestBuilder(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
Methods in eu.europa.esig.dss.jaxb.parsers that return DigestAlgorithmModifier and TypeMethodDescriptionstatic DigestAlgorithmParses the value and returnsDigestAlgorithmMethods in eu.europa.esig.dss.jaxb.parsers with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionstatic StringDigestAlgorithmParser.print(DigestAlgorithm v) Gets a text name of the value -
Uses of DigestAlgorithm in eu.europa.esig.dss.model
Fields in eu.europa.esig.dss.model declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected DigestAlgorithmTimestampParameters.digestAlgorithmThe digest algorithm to provide to the timestamping authorityFields in eu.europa.esig.dss.model with type parameters of type DigestAlgorithmModifier and TypeFieldDescriptionprotected EnumMap<DigestAlgorithm, byte[]> CommonDocument.digestMapCached map of DigestAlgorithms and the corresponding digests for the documentMethods in eu.europa.esig.dss.model that return DigestAlgorithmModifier 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 attributeMethods in eu.europa.esig.dss.model with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidDigestDocument.addDigest(DigestAlgorithm digestAlgorithm, byte[] digestValue) This method allows to add a pair:DigestAlgorithmand the corresponding digest value calculated externally on the encapsulated file.voidDigestDocument.addDigest(DigestAlgorithm digestAlgorithm, String base64EncodeDigest) This method allows to add a pair:DigestAlgorithmand the corresponding digest value calculated externally on the encapsulated file.CommonDocument.getDigest(DigestAlgorithm digestAlgorithm) Deprecated.DSSDocument.getDigest(DigestAlgorithm digestAlgorithm) Deprecated.since DSS 6.1.ManifestFile.getDigestBase64String(DigestAlgorithm digestAlgorithm) Deprecated.since DSS 6.1.byte[]CommonDocument.getDigestValue(DigestAlgorithm digestAlgorithm) byte[]DigestDocument.getDigestValue(DigestAlgorithm digestAlgorithm) byte[]DSSDocument.getDigestValue(DigestAlgorithm digestAlgorithm) This method returns digest value of the current document's content using the provideddigestAlgorithmbyte[]ManifestFile.getDigestValue(DigestAlgorithm digestAlgorithm) Gets digest value of the manifest document for the givendigestAlgorithmvoidDigest.setAlgorithm(DigestAlgorithm algorithm) Sets the DigestAlgorithmvoidAbstractSerializableSignatureParameters.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Set the digest algorithmvoidPolicy.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Set the hash algorithm for the explicit signature policyvoidTimestampParameters.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets DigestAlgorithm to use for timestamped data's digest computationvoidAbstractSerializableSignatureParameters.setReferenceDigestAlgorithm(DigestAlgorithm referenceDigestAlgorithm) Sets the DigestAlgorithm to be used for reference digest calculationConstructors in eu.europa.esig.dss.model with parameters of type DigestAlgorithmModifierConstructorDescriptionDigest(DigestAlgorithm algorithm, byte[] value) Default constructorDigestDocument(DigestAlgorithm digestAlgorithm, byte[] digestValue) Creates DigestDocument with a digest provided in a form of byte arrayDigestDocument(DigestAlgorithm digestAlgorithm, byte[] digestValue, String name) Creates DigestDocument with a digest provided in a form of byte array with a specified document nameDigestDocument(DigestAlgorithm digestAlgorithm, String base64EncodeDigest) Creates DigestDocument with a digest provided in a form of base64-encoded StringDigestDocument(DigestAlgorithm digestAlgorithm, String base64EncodeDigest, String name) Creates DigestDocument with a digest provided in a form of base64-encoded String with a specified document nameDSSMessageDigest(DigestAlgorithm algorithm, byte[] value) Default constructor with provided digest algorithm and the corresponding hash valueprotectedTimestampParameters(DigestAlgorithm digestAlgorithm) The default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.model.identifier
Fields in eu.europa.esig.dss.model.identifier declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected static final DigestAlgorithmIdentifier.DIGEST_ALGOThe DigestAlgorithm to useMethods in eu.europa.esig.dss.model.identifier with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionbyte[]MultipleDigestIdentifier.getDigestValue(DigestAlgorithm digestAlgorithm) Returns a digest value for the givendigestAlgorithmprotected MessageDigestIdentifier.getMessageDigest(DigestAlgorithm digestAlgorithm) GetsMessageDigestof the DigestAlgorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.model.scope
Methods in eu.europa.esig.dss.model.scope with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionSignatureScope.getDigest(DigestAlgorithm digestAlgorithm) Gets digests of the document -
Uses of DigestAlgorithm in eu.europa.esig.dss.model.signature
Methods in eu.europa.esig.dss.model.signature that return DigestAlgorithmModifier and TypeMethodDescriptionSignatureDigestReference.getDigestAlgorithm()ReturnsDigestAlgorithmused to calculate digest value -
Uses of DigestAlgorithm in eu.europa.esig.dss.model.x509
Methods in eu.europa.esig.dss.model.x509 with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionbyte[]Token.getDigest(DigestAlgorithm digestAlgorithm) Returns the digest value of the wrapped token -
Uses of DigestAlgorithm in eu.europa.esig.dss.pades
Methods in eu.europa.esig.dss.pades that return DigestAlgorithmModifier and TypeMethodDescriptionPAdESCommonParameters.getDigestAlgorithm()Returns a DigestAlgorithm to be used to hash the signed/timestamped dataConstructors in eu.europa.esig.dss.pades with parameters of type DigestAlgorithmModifierConstructorDescriptionPAdESTimestampParameters(DigestAlgorithm digestAlgorithm) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.pades.validation
Methods in eu.europa.esig.dss.pades.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionPAdESSignature.getSignatureDigestReference(DigestAlgorithm digestAlgorithm) TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch. 5.1.4.2.1.3 XML component: In case of PAdES signatures, the input of the digest value computation shall be the result of decoding the hexadecimal string present within the Contents field of the Signature PDF dictionary enclosing one PAdES digital signature. -
Uses of DigestAlgorithm in eu.europa.esig.dss.pdf.encryption
Methods in eu.europa.esig.dss.pdf.encryption with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidDSSSecureRandomProvider.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Allows to set a DigestAlgorithm that will be applied on serialized parameters -
Uses of DigestAlgorithm in eu.europa.esig.dss.pki.jaxb
Fields in eu.europa.esig.dss.pki.jaxb declared as DigestAlgorithmMethods in eu.europa.esig.dss.pki.jaxb that return DigestAlgorithmModifier and TypeMethodDescriptionXmlCertificateType.getDigestAlgo()Gets the value of the digestAlgo property.Methods in eu.europa.esig.dss.pki.jaxb with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionAdapter4.marshal(DigestAlgorithm value) voidXmlCertificateType.setDigestAlgo(DigestAlgorithm value) Sets the value of the digestAlgo property. -
Uses of DigestAlgorithm in eu.europa.esig.dss.pki.x509.revocation.crl
Methods in eu.europa.esig.dss.pki.x509.revocation.crl with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidPKICRLSource.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets Digest Algorithm to be used on CRL request signature Default: SHA512 (DigestAlgorithm.SHA512) -
Uses of DigestAlgorithm in eu.europa.esig.dss.pki.x509.revocation.ocsp
Methods in eu.europa.esig.dss.pki.x509.revocation.ocsp with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidPKIOCSPSource.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets the digest algorithm to be used on OCSP response signature Default: SHA512 (DigestAlgorithm.SHA512) -
Uses of DigestAlgorithm in eu.europa.esig.dss.service.ocsp
Methods in eu.europa.esig.dss.service.ocsp with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidOnlineOCSPSource.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
Methods in eu.europa.esig.dss.service.tsp with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionOnlineTSPSource.getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest) -
Uses of DigestAlgorithm in eu.europa.esig.dss.signature
Methods in eu.europa.esig.dss.signature with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionAbstractSignatureParametersBuilder.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets a digest algorithm to be used to hash the signed data -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi
Methods in eu.europa.esig.dss.spi that return DigestAlgorithmModifier and TypeMethodDescriptionstatic DigestAlgorithmDSSRevocationUtils.getUsedDigestAlgorithm(org.bouncycastle.cert.ocsp.SingleResp singleResp) Returns a DigestAlgorithm used in the givensingleRespMethods in eu.europa.esig.dss.spi with parameters of type DigestAlgorithmModifier 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 thedocumentstatic byte[]DSSUtils.digest(DigestAlgorithm digestAlgo, InputStream inputStream) This method allows to digest the data in theInputStreamwith 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.AlgorithmIdentifierDSSASN1Utils.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 DigestDSSUtils.getDigest(DigestAlgorithm digestAlgo, DSSDocument dssDocument) ReturnsDigestof thedssDocumentstatic org.bouncycastle.operator.DigestCalculatorDSSRevocationUtils.getDigestCalculator(DigestAlgorithm digestAlgorithm) Gets aDigestCalculatorfor thedigestAlgorithmstatic MessageDigestDSSUtils.getMessageDigest(DigestAlgorithm digestAlgorithm) Gets the message digest from theDigestAlgorithmstatic org.bouncycastle.cert.ocsp.CertificateIDDSSRevocationUtils.getOCSPCertificateID(CertificateToken cert, CertificateToken issuerCert, DigestAlgorithm digestAlgorithm) Returns theCertificateIDfor the given certificate and its issuer's certificate.static DigestDocumentDSSUtils.toDigestDocument(DigestAlgorithm digestAlgorithm, byte[] digestValue) Creates aDigestDocumentwith the providedDigestAlgorithmanddigestValueConstructors in eu.europa.esig.dss.spi with parameters of type DigestAlgorithmModifierConstructorDescriptionDSSMessageDigestCalculator(DigestAlgorithm digestAlgorithm) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.policy
Methods in eu.europa.esig.dss.spi.policy with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionAbstractSignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) BasicASN1SignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) SignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) ReturnsDigeston the computed SignaturePolicy's contentZeroHashSignaturePolicyValidator.getComputedDigest(DSSDocument policyDocument, DigestAlgorithm digestAlgorithm) -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.signature
Methods in eu.europa.esig.dss.spi.signature that return DigestAlgorithmModifier and TypeMethodDescriptionAdvancedSignature.getDigestAlgorithm()Retrieves the digest algorithm used for generating the signature.Methods in eu.europa.esig.dss.spi.signature with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionAdvancedSignature.getSignatureDigestReference(DigestAlgorithm digestAlgorithm) Returns a signature reference element as defined in TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch. 5.1.4.2.1.3 XML component -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.validation
Methods in eu.europa.esig.dss.spi.validation that return DigestAlgorithmModifier and TypeMethodDescriptionCertificateVerifier.getDefaultDigestAlgorithm()Deprecated.since DSS 6.1CommonCertificateVerifier.getDefaultDigestAlgorithm()Deprecated.Methods in eu.europa.esig.dss.spi.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidCertificateVerifier.setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) Deprecated.since DSS 6.1.voidCommonCertificateVerifier.setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) Deprecated.Method parameters in eu.europa.esig.dss.spi.validation with type arguments of type DigestAlgorithmModifier and TypeMethodDescriptionvoidRevocationDataVerifier.setAcceptableDigestAlgorithms(Collection<DigestAlgorithm> acceptableDigestAlgorithms) Sets a collection of Digest Algorithms for acceptance. -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.validation.evidencerecord
Fields in eu.europa.esig.dss.spi.validation.evidencerecord declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected final DigestAlgorithmAbstractSignatureEvidenceRecordDigestBuilder.digestAlgorithmThe digest algorithm to be used on hash computation.Constructors in eu.europa.esig.dss.spi.validation.evidencerecord with parameters of type DigestAlgorithmModifierConstructorDescriptionprotectedAbstractSignatureEvidenceRecordDigestBuilder(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate builder with a custom digest algorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.validation.timestamp
Methods in eu.europa.esig.dss.spi.validation.timestamp with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected abstract TimestampMessageDigestBuilderSignatureTimestampSource.getTimestampMessageImprintDigestBuilder(DigestAlgorithm digestAlgorithm) Returns aTimestampMessageDigestBuilderto compute message digest with the providedDigestAlgorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.x509.evidencerecord.digest
Methods in eu.europa.esig.dss.spi.x509.evidencerecord.digest with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionDataObjectDigestBuilderFactory.create(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofDataObjectDigestBuilderto build hash for thedocument, according to the given implementation, using a provideddigestAlgorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.x509.tsp
Methods in eu.europa.esig.dss.spi.x509.tsp that return DigestAlgorithmModifier and TypeMethodDescriptionTimestampToken.getDigestAlgorithm()This method returns aDigestAlgorithmused for message-imprint computation of the timestamp tokenMethods in eu.europa.esig.dss.spi.x509.tsp with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected org.bouncycastle.tsp.TimeStampRequestKeyEntityTSPSource.createRequest(DigestAlgorithm digestAlgorithm, byte[] digest) Creates a request for a time-stamp token generationprotected org.bouncycastle.tsp.TimeStampResponseKeyEntityTSPSource.generateResponse(org.bouncycastle.tsp.TimeStampRequest request, DigestAlgorithm digestAlgorithm) This method generates a timestamp responsebyte[]TimestampToken.getDigest(DigestAlgorithm digestAlgorithm) CompositeTSPSource.getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digestValue) KeyEntityTSPSource.getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest) TSPSource.getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest) Gets a TimeStampResponse relevant to the provided digestprotected org.bouncycastle.tsp.TimeStampResponseGeneratorKeyEntityTSPSource.initResponseGenerator(DigestAlgorithm digestAlgorithm, Date getTime) This method initializes theTimeStampResponseGeneratorvoidKeyEntityTSPSource.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets the digest algorithm of the signature of the generated time-stamp token Default: DigestAlgorithm.SHA256Method parameters in eu.europa.esig.dss.spi.x509.tsp with type arguments of type DigestAlgorithmModifier and TypeMethodDescriptionvoidKeyEntityTSPSource.setAcceptedDigestAlgorithms(Collection<DigestAlgorithm> digestAlgorithms) Sets a collection of digest algorithms to be accepted within timestamp request Default: SHA-224, SHA-256, SHA-384, SHA-512 -
Uses of DigestAlgorithm in eu.europa.esig.dss.token
Methods in eu.europa.esig.dss.token with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected AlgorithmParameterSpecAbstractSignatureTokenConnection.createPSSParam(DigestAlgorithm digestAlgo) Createsjava.security.spec.AlgorithmParameterSpecfor the givendigestAlgoAbstractSignatureTokenConnection.sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) Deprecated.AbstractSignatureTokenConnection.sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry) SignatureTokenConnection.sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry) Deprecated.since DSS 6.1.SignatureTokenConnection.sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry) This method signs thetoBeSigneddata with the digestdigestAlgorithmand the givenkeyEntry. -
Uses of DigestAlgorithm in eu.europa.esig.dss.tsl.sha2
Fields in eu.europa.esig.dss.tsl.sha2 declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected static final DigestAlgorithmAbstractTrustedListWithSha2Predicate.SHA2_ALGORITHMThe default sha2 digest algorithm defined in ETSI TS 119 612 -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation
Methods in eu.europa.esig.dss.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidCertificateValidator.setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) This method allows to change the Digest Algorithm that will be used for tokens' digest calculation Default :DigestAlgorithm.SHA256voidDocumentValidator.setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) This method allows to change the Digest Algorithm that will be used for tokens' digest calculation Default :DigestAlgorithm.SHA256voidSignedDocumentValidator.setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav
Constructors in eu.europa.esig.dss.validation.process.bbb.sav with parameters of type DigestAlgorithmModifierConstructorDescriptionMessageImprintDigestAlgorithmValidation(I18nProvider i18nProvider, Date currentTime, DigestAlgorithm digestAlgorithm, CryptographicConstraint constraint) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav.cc
Fields in eu.europa.esig.dss.validation.process.bbb.sav.cc declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected final DigestAlgorithmAbstractCryptographicChecker.digestAlgorithmThe Digest algorithmMethods in eu.europa.esig.dss.validation.process.bbb.sav.cc with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected StringAbstractCryptographicCheck.getName(DigestAlgorithm digestAlgorithm) Returns name for a DigestAlgorithm safelyprotected booleanAbstractCryptographicChecker.isExpirationDateAvailable(DigestAlgorithm digestAlgorithm) Gets if the expiration date if defined for the givendigestAlgorithmConstructors in eu.europa.esig.dss.validation.process.bbb.sav.cc with parameters of type DigestAlgorithmModifierConstructorDescriptionprotectedAbstractCryptographicChecker(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, Date validationDate, MessageTag position, CryptographicConstraint constraint) Default constructorprotectedAbstractCryptographicChecker(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, String keyLengthUsedToSignThisToken, Date validationDate, MessageTag position, CryptographicConstraint constraint) Complete constructorprotectedDigestAlgorithmAtValidationTimeCheck(I18nProvider i18nProvider, DigestAlgorithm digestAlgo, Date validationDate, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructorprotectedDigestAlgorithmReliableCheck(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
Methods in eu.europa.esig.dss.validation.process.bbb.sav.checks that return types with arguments of type DigestAlgorithmModifier and TypeMethodDescriptionCryptographicConstraintWrapper.getReliableDigestAlgorithmsAtTime(Date validationTime) This method returns a list of reliableDigestAlgorithmaccording to the current validation policy at the given validation timeMethods in eu.europa.esig.dss.validation.process.bbb.sav.checks with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionCryptographicConstraintWrapper.getExpirationDate(DigestAlgorithm digestAlgorithm) Gets an expiration date for the digest algorithm with namedigestAlgoToSearch.booleanCryptographicConstraintWrapper.isDigestAlgorithmReliable(DigestAlgorithm digestAlgorithm) Checks if the givenDigestAlgorithmis reliable (acceptable)Constructors in eu.europa.esig.dss.validation.process.bbb.sav.checks with parameters of type DigestAlgorithmModifierConstructorDescriptionDigestMatcherCryptographicCheck(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.reports.diagnostic
Fields in eu.europa.esig.dss.validation.reports.diagnostic declared as DigestAlgorithmModifier and TypeFieldDescriptionprotected DigestAlgorithmDiagnosticDataBuilder.defaultDigestAlgorithmThe digest algorithm to use for digest computationMethods in eu.europa.esig.dss.validation.reports.diagnostic with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionCertificateDiagnosticDataBuilder.defaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) DiagnosticDataBuilder.defaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) This method allows to set the defaultDigestAlgorithmwhich will be used for tokens' DigestAlgoAndValue calculationSignedDocumentDiagnosticDataBuilder.defaultDigestAlgorithm(DigestAlgorithm digestAlgorithm) protected XmlDigestAlgoAndValueDiagnosticDataBuilder.getXmlDigestAlgoAndValue(DigestAlgorithm digestAlgo, byte[] digestValue) Builds aXmlDigestAlgoAndValueforDigestAlgorithmanddigestValueXmlDiagnosticDataFactory.setDefaultDigestAlgorithm(DigestAlgorithm defaultDigestAlgorithm) Sets the digest algorithm to be used to compute references to the data objects -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.dto
Methods in eu.europa.esig.dss.ws.dto that return DigestAlgorithmModifier and TypeMethodDescriptionDigestDTO.getAlgorithm()Gets theDigestAlgorithmRemoteDocument.getDigestAlgorithm()Returns the current used digest algorithm for a DigestDocumentMethods in eu.europa.esig.dss.ws.dto with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidDigestDTO.setAlgorithm(DigestAlgorithm algorithm) Sets theDigestAlgorithmvoidRemoteDocument.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets the usedDigestAlgorithmfor a DigestDocumentConstructors in eu.europa.esig.dss.ws.dto with parameters of type DigestAlgorithmModifierConstructorDescriptionDigestDTO(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
Methods in eu.europa.esig.dss.ws.server.signing.common with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionRemoteSignatureTokenConnection.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) Deprecated.since DSS 6.1.RemoteSignatureTokenConnection.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) This method signs thetoBeSigneddata with the digestdigestAlgorithmand the givenalias.RemoteSignatureTokenConnectionImpl.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) Deprecated.RemoteSignatureTokenConnectionImpl.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.rest
Methods in eu.europa.esig.dss.ws.server.signing.rest with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionRestSignatureTokenConnectionImpl.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) Deprecated.RestSignatureTokenConnectionImpl.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.rest.client
Methods in eu.europa.esig.dss.ws.server.signing.rest.client with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionRestSignatureTokenConnection.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) Deprecated.since DSS 6.1.RestSignatureTokenConnection.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) This method signs thetoBeSigneddata with the digestdigestAlgorithmand the givenalias. -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.soap
Methods in eu.europa.esig.dss.ws.server.signing.soap with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionSoapSignatureTokenConnectionImpl.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) Deprecated.SoapSignatureTokenConnectionImpl.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.server.signing.soap.client
Methods in eu.europa.esig.dss.ws.server.signing.soap.client with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionSoapSignatureTokenConnection.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias) Deprecated.since DSS 6.1.SoapSignatureTokenConnection.sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias) This method signs thetoBeSigneddata with the digestdigestAlgorithmand the givenalias. -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.signature.dto.parameters
Methods in eu.europa.esig.dss.ws.signature.dto.parameters that return DigestAlgorithmModifier and TypeMethodDescriptionRemoteSignatureParameters.getDigestAlgorithm()Get the digest algorithmRemoteTimestampParameters.getDigestAlgorithm()Gets the digest algorithmRemoteTrustedListSignatureParameters.getDigestAlgorithm()Gets a digest algorithm used on signingRemoteBLevelParameters.getPolicyDigestAlgorithm()Return the hash algorithm for the signature policyRemoteSignatureParameters.getReferenceDigestAlgorithm()Get the digest algorithm for ds:Reference or message-digest attributeRemoteTrustedListSignatureParameters.getReferenceDigestAlgorithm()Gets aDigestAlgorithmto be used on an enveloped-signature reference creationMethods in eu.europa.esig.dss.ws.signature.dto.parameters with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidRemoteSignatureParameters.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Set the digest algorithmvoidRemoteTimestampParameters.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets the digest algorithm for message-imprint hash computationvoidRemoteTrustedListSignatureParameters.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets a digest algorithm used on signingvoidRemoteBLevelParameters.setPolicyDigestAlgorithm(DigestAlgorithm digestAlgorithm) Set the hash algorithm for the explicit signature policyvoidRemoteSignatureParameters.setReferenceDigestAlgorithm(DigestAlgorithm referenceDigestAlgorithm) Sets the digest algorithm for ds:Reference or message-digest attributevoidRemoteTrustedListSignatureParameters.setReferenceDigestAlgorithm(DigestAlgorithm referenceDigestAlgorithm) Sets aDigestAlgorithmto be used on an enveloped-signature reference creationConstructors in eu.europa.esig.dss.ws.signature.dto.parameters with parameters of type DigestAlgorithmModifierConstructorDescriptionRemoteTimestampParameters(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
Methods in eu.europa.esig.dss.ws.timestamp.remote with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionRemoteTimestampService.getTimestampResponse(DigestAlgorithm digestAlgorithm, byte[] value) Timestamps thevalue -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades
Methods in eu.europa.esig.dss.xades that return DigestAlgorithmModifier and TypeMethodDescriptionstatic DigestAlgorithmDSSXMLUtils.getReferenceDigestAlgorithmOrDefault(XAdESSignatureParameters params) Returns params.referenceDigestAlgorithm if exists, params.digestAlgorithm otherwiseXAdESSignatureParameters.getSigningCertificateDigestMethod()XAdESSignatureParameters.getTokenReferencesDigestAlgorithm()Gets aDigestAlgorithmto create CompleteCertificateRefs/CompleteRevocationRefs withMethods in eu.europa.esig.dss.xades that return types with arguments of type DigestAlgorithmModifier and TypeMethodDescriptionstatic Set<DigestAlgorithm> DSSXMLUtils.getReferenceDigestAlgos(Element referenceContainer) Returns a list ofDigestAlgorithmfor all references containing inside the providedreferenceContainerMethods in eu.europa.esig.dss.xades with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionstatic voidDSSXMLUtils.incorporateDigestMethod(Element parentElement, DigestAlgorithm digestAlgorithm, DSSNamespace namespace) This method creates the ds:DigestMethod DOM objectTrustedListSignatureParametersBuilder.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) TrustedListSignatureParametersBuilder.setReferenceDigestAlgorithm(DigestAlgorithm digestAlgorithm) Sets an Enveloped ReferenceDigestAlgorithmto usevoidXAdESSignatureParameters.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.voidXAdESSignatureParameters.setTokenReferencesDigestAlgorithm(DigestAlgorithm tokenReferencesDigestAlgorithm) Sets aDigestAlgorithmto create CompleteCertificateRefs/CompleteRevocationRefs for -C level Default : SHA512Constructors in eu.europa.esig.dss.xades with parameters of type DigestAlgorithmModifierConstructorDescriptionXAdESTimestampParameters(DigestAlgorithm digestAlgorithm) Constructor with digest algorithmXAdESTimestampParameters(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.evidencerecord
Constructors in eu.europa.esig.dss.xades.evidencerecord with parameters of type DigestAlgorithmModifierConstructorDescriptionXAdESEvidenceRecordDigestBuilder(DSSDocument signatureDocument, DigestAlgorithm digestAlgorithm) Constructor to instantiate XAdESEvidenceRecordDigestBuilder with a custom digest algorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.reference
Methods in eu.europa.esig.dss.xades.reference that return DigestAlgorithmModifier and TypeMethodDescriptionDSSReference.getDigestMethodAlgorithm()Gets DigestAlgorithm to use for digest value computationMethods in eu.europa.esig.dss.xades.reference with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionvoidDSSReference.setDigestMethodAlgorithm(DigestAlgorithm digestMethod) Sets DigestAlgorithm to use for digest value computation Default : DigestAlgorithm.SHA256Constructors in eu.europa.esig.dss.xades.reference with parameters of type DigestAlgorithmModifierConstructorDescriptionReferenceBuilder(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
Methods in eu.europa.esig.dss.xades.signature with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionprotected ElementXAdESBuilder.incorporateCert(Element parentDom, CertificateToken certificate, DigestAlgorithm digestAlgorithm) Creates Cert DOM object:protected voidXAdESBuilder.incorporateCertDigest(Element parentDom, DigestAlgorithm digestAlgorithm, Token token) This method creates the xades:CertDigest DOM object.protected voidXAdESBuilder.incorporateDigestMethod(Element parentDom, DigestAlgorithm digestAlgorithm) This method creates the ds:DigestMethod DOM object.protected voidXAdESBuilder.incorporateDigestValue(Element parentDom, DigestAlgorithm digestAlgorithm, Token token) This method creates the ds:DigestValue DOM object for a givenTokenConstructors in eu.europa.esig.dss.xades.signature with parameters of type DigestAlgorithmModifierConstructorDescriptionManifestBuilder(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
Methods in eu.europa.esig.dss.xades.validation that return DigestAlgorithmMethods in eu.europa.esig.dss.xades.validation with parameters of type DigestAlgorithmModifier and TypeMethodDescriptionXAdESSignature.getSignatureDigestReference(DigestAlgorithm digestAlgorithm) TS 119 442 - V1.1.1 - Electronic Signatures and Infrastructures (ESI), ch. 5.1.4.2.1.3 XML component: In case of XAdES signatures, the input of the digest value computation shall be the result of applying the canonicalization algorithm identified within the CanonicalizationMethod child element's value to the corresponding ds:Signature element and its contents.Constructors in eu.europa.esig.dss.xades.validation with parameters of type DigestAlgorithmModifierConstructorDescriptionDetachedSignatureResolver(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm) Default constructorDigestDocumentXMLSignatureInput(DigestDocument document, DigestAlgorithm digestAlgorithm) Constructor for anXMLSignatureInputfrom aDigestDocumentprotectedDSSDocumentXMLSignatureInput(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor for anXMLSignatureInputfrom a base64-encoded document digest -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.validation.policy
Methods in eu.europa.esig.dss.xades.validation.policy with parameters of type DigestAlgorithmModifier 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
Methods in eu.europa.esig.dss.xades.validation.timestamp with parameters of type DigestAlgorithmModifier 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 XAdESTimestampMessageDigestBuilderXAdESTimestampSource.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 RefsOnlyTimestampConstructors in eu.europa.esig.dss.xades.validation.timestamp with parameters of type DigestAlgorithmModifierConstructorDescriptionXAdESTimestampMessageDigestBuilder(XAdESSignature signature, DigestAlgorithm digestAlgorithm) Default constructor to be used for a new timestamp creation.