Uses of Class
eu.europa.esig.dss.enumerations.DigestAlgorithm
-
Uses of DigestAlgorithm in eu.europa.esig.dss.asic.cades
Methods in eu.europa.esig.dss.asic.cades that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
ASiCWithCAdESCommonParameters. 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 DigestAlgorithm Constructor Description ASiCWithCAdESTimestampParameters(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.manifest
Methods in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type DigestAlgorithm Modifier and Type Method Description protected Element
AbstractManifestBuilder. addDataObjectReference(Document documentDom, Element asicManifestDom, DSSDocument document, DigestAlgorithm digestAlgorithm)
Adds a<DataObjectReference>
elementConstructors in eu.europa.esig.dss.asic.cades.signature.manifest with parameters of type DigestAlgorithm Constructor Description ASiCEWithCAdESArchiveManifestBuilder(List<DSSDocument> signatures, List<DSSDocument> timestamps, List<DSSDocument> signedFiles, List<DSSDocument> manifests, DSSDocument lastArchiveManifets, DigestAlgorithm digestAlgorithm, String timestampFileUri)
The default constructorASiCEWithCAdESManifestBuilder(SigningOperation operation, List<DSSDocument> documents, DigestAlgorithm digestAlgorithm, String documentUri)
The default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades
Fields in eu.europa.esig.dss.cades declared as DigestAlgorithm Modifier and Type Field Description static DigestAlgorithm
CMSUtils. DEFAULT_ARCHIVE_TIMESTAMP_HASH_ALGO
The default DigestAlgorithm for ArchiveTimestampMethods in eu.europa.esig.dss.cades with parameters of type DigestAlgorithm Modifier and Type Method Description static 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
Methods in eu.europa.esig.dss.cades.signature with parameters of type DigestAlgorithm Modifier and Type Method Description org.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).Constructors in eu.europa.esig.dss.cades.signature with parameters of type DigestAlgorithm Constructor Description CAdESTimestampParameters(DigestAlgorithm digestAlgorithm)
The default constructorCustomMessageDigestCalculatorProvider(DigestAlgorithm messageDigestAlgo, String messageDigestValueBase64)
The default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.cades.validation
Methods in eu.europa.esig.dss.cades.validation that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
CAdESSignature. getDigestAlgorithm()
Methods in eu.europa.esig.dss.cades.validation that return types with arguments of type DigestAlgorithm Modifier and Type Method Description Set<DigestAlgorithm>
CAdESSignature. getMessageDigestAlgorithms()
Returns a set of usedDigestAlgorithm
s incorporated into the CMSSignedDataMethods in eu.europa.esig.dss.cades.validation with parameters of type DigestAlgorithm Modifier and Type Method Description SignatureDigestReference
CAdESSignature. 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.diagnostic
Methods in eu.europa.esig.dss.diagnostic that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
AbstractTokenProxy. getDigestAlgorithm()
DigestAlgorithm
TokenProxy. getDigestAlgorithm()
DigestAlgorithm
DiagnosticData. getFirstSignatureDigestAlgorithm()
This method returns theDigestAlgorithm
of the first signature.DigestAlgorithm
DiagnosticData. getSignatureDigestAlgorithm(String signatureId)
This method returns theDigestAlgorithm
for the given signature. -
Uses of DigestAlgorithm in eu.europa.esig.dss.diagnostic.jaxb
Fields in eu.europa.esig.dss.diagnostic.jaxb declared as DigestAlgorithm Modifier and Type Field Description protected DigestAlgorithm
XmlBasicSignature. digestAlgoUsedToSignThisToken
protected DigestAlgorithm
XmlDigestAlgoAndValue. digestMethod
protected DigestAlgorithm
XmlSignatureDigestReference. digestMethod
Methods in eu.europa.esig.dss.diagnostic.jaxb that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
XmlBasicSignature. getDigestAlgoUsedToSignThisToken()
Gets the value of the digestAlgoUsedToSignThisToken property.DigestAlgorithm
XmlDigestAlgoAndValue. getDigestMethod()
Gets the value of the digestMethod property.DigestAlgorithm
XmlSignatureDigestReference. getDigestMethod()
Gets the value of the digestMethod property.DigestAlgorithm
Adapter19. unmarshal(String value)
DigestAlgorithm
Adapter20. unmarshal(String value)
DigestAlgorithm
Adapter22. unmarshal(String value)
Methods in eu.europa.esig.dss.diagnostic.jaxb with parameters of type DigestAlgorithm Modifier and Type Method Description String
Adapter19. marshal(DigestAlgorithm value)
String
Adapter20. marshal(DigestAlgorithm value)
String
Adapter22. 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
Methods in eu.europa.esig.dss.enumerations that return DigestAlgorithm Modifier and Type Method Description static DigestAlgorithm
DigestAlgorithm. forHttpHeader(String hashName)
Returns the digest algorithm associated to the given JWS Http Header Hash Algorithm.static DigestAlgorithm
DigestAlgorithm. forJAdES(String algoId)
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
DigestAlgorithm. forName(String name)
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
DigestAlgorithm. forOID(String oid)
Returns the digest algorithm associated to the given OID.static DigestAlgorithm
DigestAlgorithm. forXML(String xmlName)
Returns the digest algorithm associated to the given XML url.DigestAlgorithm
SignatureAlgorithm. getDigestAlgorithm()
This method returns the digest algorithm.static DigestAlgorithm
DigestAlgorithm. valueOf(String name)
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.Methods in eu.europa.esig.dss.enumerations with parameters of type DigestAlgorithm Modifier and Type Method Description static 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
Methods in eu.europa.esig.dss.jades that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
JAdESSignatureParameters. getSigningCertificateDigestMethod()
Methods in eu.europa.esig.dss.jades with parameters of type DigestAlgorithm Modifier and Type Method Description String
HTTPHeader. 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)Constructors in eu.europa.esig.dss.jades with parameters of type DigestAlgorithm Constructor Description HTTPHeaderDigest(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 DigestAlgorithm Modifier and Type Method Description protected 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
Methods in eu.europa.esig.dss.jades.validation that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
JAdESSignature. getDigestAlgorithm()
Methods in eu.europa.esig.dss.jades.validation with parameters of type DigestAlgorithm Modifier and Type Method Description SignatureDigestReference
JAdESSignature. getSignatureDigestReference(DigestAlgorithm digestAlgorithm)
-
Uses of DigestAlgorithm in eu.europa.esig.dss.jaxb.parsers
Methods in eu.europa.esig.dss.jaxb.parsers that return DigestAlgorithm Modifier and Type Method Description static DigestAlgorithm
DigestAlgorithmParser. parse(String v)
Parses the value and returnsDigestAlgorithm
Methods in eu.europa.esig.dss.jaxb.parsers with parameters of type DigestAlgorithm Modifier and Type Method Description static String
DigestAlgorithmParser. 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 DigestAlgorithm Modifier and Type Field Description protected DigestAlgorithm
TimestampParameters. digestAlgorithm
The digest algorithm to provide to the timestamping authorityFields in eu.europa.esig.dss.model with type parameters of type DigestAlgorithm Modifier and Type Field Description protected EnumMap<DigestAlgorithm,String>
CommonDocument. base64EncodeDigestMap
Cached map of DigestAlgorithms and the corresponding digests for the documentMethods in eu.europa.esig.dss.model that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
Digest. getAlgorithm()
Gets the DigestAlgorithmDigestAlgorithm
AbstractSerializableSignatureParameters. getDigestAlgorithm()
Get the digest algorithmDigestAlgorithm
Policy. getDigestAlgorithm()
Return the hash algorithm for the signature policyDigestAlgorithm
SerializableSignatureParameters. getDigestAlgorithm()
Get the digest algorithmDigestAlgorithm
SerializableTimestampParameters. getDigestAlgorithm()
Returns a DigestAlgorithm to be used to hash a data to be timestampedDigestAlgorithm
TimestampParameters. getDigestAlgorithm()
DigestAlgorithm
AbstractSerializableSignatureParameters. getReferenceDigestAlgorithm()
Get the digest algorithm for ds:Reference or message-digest attributeMethods in eu.europa.esig.dss.model with parameters of type DigestAlgorithm Modifier and Type Method Description void
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.String
CommonDocument. getDigest(DigestAlgorithm digestAlgorithm)
String
DigestDocument. getDigest(DigestAlgorithm digestAlgorithm)
String
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 calculationConstructors in eu.europa.esig.dss.model with parameters of type DigestAlgorithm Constructor Description Digest(DigestAlgorithm algorithm, byte[] value)
Default constructorDigestDocument(DigestAlgorithm digestAlgorithm, String base64EncodeDigest)
Creates DigestDocument.DigestDocument(DigestAlgorithm digestAlgorithm, String base64EncodeDigest, String name)
Creates DigestDocument.TimestampParameters(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 DigestAlgorithm Modifier and Type Field Description protected static DigestAlgorithm
Identifier. DIGEST_ALGO
The DigestAlgorithm to useMethods in eu.europa.esig.dss.model.identifier with parameters of type DigestAlgorithm Modifier and Type Method Description byte[]
MultipleDigestIdentifier. getDigestValue(DigestAlgorithm digestAlgorithm)
protected MessageDigest
Identifier. getMessageDigest(DigestAlgorithm digestAlgorithm)
GetsMessageDigest
of the DigestAlgorithm -
Uses of DigestAlgorithm in eu.europa.esig.dss.model.x509
Methods in eu.europa.esig.dss.model.x509 with parameters of type DigestAlgorithm Modifier and Type Method Description byte[]
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 DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
PAdESCommonParameters. getDigestAlgorithm()
Returns a DigestAlgorithm to be used to hash the signed/timestamped dataConstructors in eu.europa.esig.dss.pades with parameters of type DigestAlgorithm Constructor Description PAdESTimestampParameters(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 DigestAlgorithm Modifier and Type Method Description SignatureDigestReference
PAdESSignature. 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 DigestAlgorithm Modifier and Type Method Description void
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
Methods in eu.europa.esig.dss.service.ocsp with parameters of type DigestAlgorithm Modifier and Type Method Description void
OnlineOCSPSource. setCertIDDigestAlgorithm(DigestAlgorithm certIDDigestAlgorithm)
This method allows setting of DigestAlgorithm to be used in hash calculation for CertID element in an OCSP request buildingMethod parameters in eu.europa.esig.dss.service.ocsp with type arguments of type DigestAlgorithm Modifier and Type Method Description void
OnlineOCSPSource. setDigestAlgorithmsForExclusion(Collection<DigestAlgorithm> digestAlgorithmsForExclusion)
Sets a collection of DigestAlgorithms for exclusion If an OCSPToken is signed with a listed algorithm, the OCSPToken will be skipped -
Uses of DigestAlgorithm in eu.europa.esig.dss.service.tsp
Methods in eu.europa.esig.dss.service.tsp with parameters of type DigestAlgorithm Modifier and Type Method Description TimestampBinary
OnlineTSPSource. getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest)
-
Uses of DigestAlgorithm in eu.europa.esig.dss.spi
Methods in eu.europa.esig.dss.spi that return DigestAlgorithm Modifier and Type Method Description static DigestAlgorithm
DSSRevocationUtils. getUsedDigestAlgorithm(org.bouncycastle.cert.ocsp.SingleResp singleResp)
Returns a DigestAlgorithm used in the givensingleResp
Methods in eu.europa.esig.dss.spi with parameters of type DigestAlgorithm Modifier and Type Method Description static 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. -
Uses of DigestAlgorithm in eu.europa.esig.dss.spi.x509.tsp
Methods in eu.europa.esig.dss.spi.x509.tsp with parameters of type DigestAlgorithm Modifier and Type Method Description TimestampBinary
CompositeTSPSource. getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digestValue)
TimestampBinary
TSPSource. getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest)
Gets a TimeStampResponse relevant to the provided digest -
Uses of DigestAlgorithm in eu.europa.esig.dss.token
Methods in eu.europa.esig.dss.token with parameters of type DigestAlgorithm Modifier and Type Method Description protected AlgorithmParameterSpec
AbstractSignatureTokenConnection. createPSSParam(DigestAlgorithm digestAlgo)
Createsjava.security.spec.AlgorithmParameterSpec
for the givendigestAlgo
SignatureValue
AbstractSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)
SignatureValue
AbstractSignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, DSSPrivateKeyEntry keyEntry)
SignatureValue
SignatureTokenConnection. sign(ToBeSigned toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, DSSPrivateKeyEntry keyEntry)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenkeyEntry
.SignatureValue
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
Fields in eu.europa.esig.dss.validation declared as DigestAlgorithm Modifier and Type Field Description protected DigestAlgorithm
DiagnosticDataBuilder. defaultDigestAlgorithm
The digest algorithm to use for digest computationMethods in eu.europa.esig.dss.validation that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
CertificateVerifier. getDefaultDigestAlgorithm()
This method returns a default Digest Algorithm what will be used for digest calculationDigestAlgorithm
CommonCertificateVerifier. getDefaultDigestAlgorithm()
protected DigestAlgorithm
SignedDocumentValidator. getDefaultDigestAlgorithm()
Returns a default digest algorithm defined for a digest calculationDigestAlgorithm
AdvancedSignature. getDigestAlgorithm()
Retrieves the digest algorithm used for generating the signature.DigestAlgorithm
SignatureDigestReference. getDigestAlgorithm()
ReturnsDigestAlgorithm
used to calculate digest valueMethods in eu.europa.esig.dss.validation with parameters of type DigestAlgorithm Modifier and Type Method Description CertificateDiagnosticDataBuilder
CertificateDiagnosticDataBuilder. defaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
DiagnosticDataBuilder
DiagnosticDataBuilder. defaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
This method allows to set the defaultDigestAlgorithm
which will be used for tokens' DigestAlgoAndValue calculationSignedDocumentDiagnosticDataBuilder
SignedDocumentDiagnosticDataBuilder. defaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
String
ManifestFile. getDigestBase64String(DigestAlgorithm digestAlgorithm)
Gets base64 encoded digest string of the manifest document for the givendigestAlgorithm
SignatureDigestReference
AdvancedSignature. 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 componentprotected XmlDigestAlgoAndValue
DiagnosticDataBuilder. getXmlDigestAlgoAndValue(DigestAlgorithm digestAlgo, byte[] digestValue)
void
CertificateVerifier. setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
This method allows to change the Digest Algorithm that will be used for tokens' digest calculationvoid
CommonCertificateVerifier. setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
void
XmlPolicyBuilder. setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Sets a defaultDigestAlgorithm
to compute a signature policy store digest, when SignaturePolicyIdentifier is not presentprotected void
SignedDocumentValidator. setSignedScopeFinderDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Sets the default algorithm to use for aSignatureScopeFinder
-
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.policy
Methods in eu.europa.esig.dss.validation.policy with parameters of type DigestAlgorithm Modifier and Type Method Description Digest
AbstractSignaturePolicyValidator. getComputedDigest(DigestAlgorithm digestAlgorithm)
Digest
BasicASNSignaturePolicyValidator. getComputedDigest(DigestAlgorithm digestAlgorithm)
Digest
NonASN1SignaturePolicyValidator. getComputedDigest(DigestAlgorithm digestAlgorithm)
Digest
SignaturePolicyValidator. getComputedDigest(DigestAlgorithm digestAlgorithm)
ReturnsDigest
on the computed SignaturePolicy's content -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav
Fields in eu.europa.esig.dss.validation.process.bbb.sav declared as DigestAlgorithm Modifier and Type Field Description protected DigestAlgorithm
MessageImprintDigestAlgorithmValidation. digestAlgorithm
Constructors in eu.europa.esig.dss.validation.process.bbb.sav with parameters of type DigestAlgorithm Constructor Description MessageImprintDigestAlgorithmValidation(I18nProvider i18nProvider, Date currentTime, DigestAlgorithm digestAlgorithm, CryptographicConstraint constraint)
-
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 DigestAlgorithm Modifier and Type Field Description protected DigestAlgorithm
AbstractCryptographicChecker. digestAlgorithm
The Digest algorithmConstructors in eu.europa.esig.dss.validation.process.bbb.sav.cc with parameters of type DigestAlgorithm Constructor Description AbstractCryptographicChecker(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, Date validationDate, MessageTag position, CryptographicConstraint constraint)
Default constructorAbstractCryptographicChecker(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, MaskGenerationFunction maskGenerationFunction, String keyLengthUsedToSignThisToken, Date validationDate, MessageTag position, CryptographicConstraint constraint)
Complete constructorDigestAlgorithmOnValidationTimeCheck(I18nProvider i18nProvider, DigestAlgorithm digestAlgo, Date validationDate, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper)
Default constructorDigestAlgorithmReliableCheck(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
Constructors in eu.europa.esig.dss.validation.process.bbb.sav.checks with parameters of type DigestAlgorithm Constructor Description DigestCryptographicCheck(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, T result, Date validationDate, MessageTag position, CryptographicConstraint constraint)
DigestCryptographicCheck(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, T result, Date validationDate, MessageTag position, String referenceName, CryptographicConstraint constraint)
MessageImprintCryptographicCheck(I18nProvider i18nProvider, DigestAlgorithm digestAlgorithm, XmlSAV result, Date validationDate, CryptographicConstraint constraint)
Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.validation.scope
Methods in eu.europa.esig.dss.validation.scope that return DigestAlgorithm Modifier and Type Method Description protected DigestAlgorithm
AbstractSignatureScopeFinder. getDefaultDigestAlgorithm()
Returns the usedDigestAlgorithm
Methods in eu.europa.esig.dss.validation.scope with parameters of type DigestAlgorithm Modifier and Type Method Description void
AbstractSignatureScopeFinder. setDefaultDigestAlgorithm(DigestAlgorithm defaultDigestAlgorithm)
void
SignatureScopeFinder. setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Sets the default DigestAlgorithm to use forSignatureScope
digest computation -
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.dto
Methods in eu.europa.esig.dss.ws.dto that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
DigestDTO. getAlgorithm()
Gets theDigestAlgorithm
DigestAlgorithm
RemoteDocument. getDigestAlgorithm()
Returns the current used digest algorithm for a DigestDocumentMethods in eu.europa.esig.dss.ws.dto with parameters of type DigestAlgorithm Modifier and Type Method Description void
DigestDTO. setAlgorithm(DigestAlgorithm algorithm)
Sets theDigestAlgorithm
void
RemoteDocument. setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Sets the usedDigestAlgorithm
for a DigestDocumentConstructors in eu.europa.esig.dss.ws.dto with parameters of type DigestAlgorithm Constructor Description DigestDTO(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 DigestAlgorithm Modifier and Type Method Description SignatureValueDTO
RemoteSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.SignatureValueDTO
RemoteSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, String alias)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenalias
.SignatureValueDTO
RemoteSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
SignatureValueDTO
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 DigestAlgorithm Modifier and Type Method Description SignatureValueDTO
RestSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
SignatureValueDTO
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 DigestAlgorithm Modifier and Type Method Description SignatureValueDTO
RestSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.SignatureValueDTO
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
Methods in eu.europa.esig.dss.ws.server.signing.soap with parameters of type DigestAlgorithm Modifier and Type Method Description SignatureValueDTO
SoapSignatureTokenConnectionImpl. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
SignatureValueDTO
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 DigestAlgorithm Modifier and Type Method Description SignatureValueDTO
SoapSignatureTokenConnection. sign(ToBeSignedDTO toBeSigned, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf, String alias)
This method signs thetoBeSigned
data with the digestdigestAlgorithm
, the maskmgf
and the givenalias
.SignatureValueDTO
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
Methods in eu.europa.esig.dss.ws.signature.dto.parameters that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
RemoteSignatureParameters. getDigestAlgorithm()
Get the digest algorithmDigestAlgorithm
RemoteTimestampParameters. getDigestAlgorithm()
DigestAlgorithm
RemoteBLevelParameters. getPolicyDigestAlgorithm()
Return the hash algorithm for the signature policyDigestAlgorithm
RemoteSignatureParameters. getReferenceDigestAlgorithm()
Get the digest algorithm for ds:Reference or message-digest attributeMethods in eu.europa.esig.dss.ws.signature.dto.parameters with parameters of type DigestAlgorithm Modifier and Type Method Description void
RemoteSignatureParameters. setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set the digest algorithmvoid
RemoteTimestampParameters. setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
void
RemoteBLevelParameters. setPolicyDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set the hash algorithm for the explicit signature policyvoid
RemoteSignatureParameters. setReferenceDigestAlgorithm(DigestAlgorithm referenceDigestAlgorithm)
Constructors in eu.europa.esig.dss.ws.signature.dto.parameters with parameters of type DigestAlgorithm Constructor Description RemoteTimestampParameters(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm)
RemoteTimestampParameters(TimestampContainerForm timestampForm, DigestAlgorithm digestAlgorithm, String canonicalizationMethod)
-
Uses of DigestAlgorithm in eu.europa.esig.dss.ws.timestamp.remote
Methods in eu.europa.esig.dss.ws.timestamp.remote with parameters of type DigestAlgorithm Modifier and Type Method Description TimestampResponseDTO
RemoteTimestampService. 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 DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
XAdESSignatureParameters. getSigningCertificateDigestMethod()
Methods in eu.europa.esig.dss.xades with parameters of type DigestAlgorithm Modifier and Type Method Description TrustedListSignatureParametersBuilder
TrustedListSignatureParametersBuilder. 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.Constructors in eu.europa.esig.dss.xades with parameters of type DigestAlgorithm Constructor Description XAdESTimestampParameters(DigestAlgorithm digestAlgorithm)
Constructor with digest algorithmXAdESTimestampParameters(DigestAlgorithm digestAlgorithm, String canonicalizationMethod)
Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.reference
Methods in eu.europa.esig.dss.xades.reference that return DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
DSSReference. getDigestMethodAlgorithm()
Gets DigestAlgorithm to use for digest value computationMethods in eu.europa.esig.dss.xades.reference with parameters of type DigestAlgorithm Modifier and Type Method Description void
DSSReference. setDigestMethodAlgorithm(DigestAlgorithm digestMethod)
Sets DigestAlgorithm to use for digest value computation -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.signature
Methods in eu.europa.esig.dss.xades.signature that return DigestAlgorithm Modifier and Type Method Description protected DigestAlgorithm
XAdESBuilder. getReferenceDigestAlgorithmOrDefault(XAdESSignatureParameters params)
Returns params.referenceDigestAlgorithm if exists, params.digestAlgorithm otherwiseMethods in eu.europa.esig.dss.xades.signature with parameters of type DigestAlgorithm Modifier and Type Method Description protected void
XAdESBuilder. incorporateDigestMethod(Element parentDom, DigestAlgorithm digestAlgorithm)
This method creates the ds:DigestMethod DOM objectprotected void
XAdESBuilder. incorporateDigestValue(Element parentDom, DigestAlgorithm digestAlgorithm, DSSDocument originalDocument)
This method creates the ds:DigestValue DOM object.protected void
XAdESBuilder. incorporateDigestValue(Element parentDom, DigestAlgorithm digestAlgorithm, Token token)
This method creates the ds:DigestValue DOM object.Constructors in eu.europa.esig.dss.xades.signature with parameters of type DigestAlgorithm Constructor Description ManifestBuilder(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 DigestAlgorithm Modifier and Type Method Description DigestAlgorithm
XAdESSignature. getDigestAlgorithm()
Methods in eu.europa.esig.dss.xades.validation with parameters of type DigestAlgorithm Modifier and Type Method Description SignatureDigestReference
XAdESSignature. 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 DigestAlgorithm Constructor Description DetachedSignatureResolver(List<DSSDocument> documents, DigestAlgorithm digestAlgorithm)
Default constructor -
Uses of DigestAlgorithm in eu.europa.esig.dss.xades.validation.policy
Methods in eu.europa.esig.dss.xades.validation.policy with parameters of type DigestAlgorithm Modifier and Type Method Description Digest
XMLSignaturePolicyValidator. getComputedDigest(DigestAlgorithm digestAlgorithm)