Uses of Class
eu.europa.esig.dss.model.DSSMessageDigest
Package
Description
-
Uses of DSSMessageDigest in eu.europa.esig.dss.cades.signature
Modifier and TypeMethodDescriptionCadesLevelBaselineLTATimestampExtractor.getArchiveTimestampV3MessageImprint
(org.bouncycastle.cms.SignerInformation signerInformation, org.bouncycastle.asn1.cms.Attribute atsHashIndexAttribute, DSSDocument originalDocument, DigestAlgorithm digestAlgorithm) Computes a message-imprint for an archive-time-stamp-v3 -
Uses of DSSMessageDigest in eu.europa.esig.dss.cades.validation.timestamp
Modifier and TypeMethodDescriptionCAdESTimestampMessageDigestBuilder.getArchiveTimestampMessageDigest()
CAdESTimestampMessageDigestBuilder.getContentTimestampMessageDigest()
CAdESTimestampMessageDigestBuilder.getSignatureTimestampMessageDigest()
CAdESTimestampMessageDigestBuilder.getTimestampX1MessageDigest()
CAdESTimestampMessageDigestBuilder.getTimestampX2MessageDigest()
-
Uses of DSSMessageDigest in eu.europa.esig.dss.evidencerecord.asn1.digest
Modifier and TypeMethodDescriptionASN1ArchiveTimeStampSequenceDigestHelper.buildArchiveTimeStampSequenceDigest
(DigestAlgorithm digestAlgorithm, int archiveTimeStampChainOrder) This method builds digest for a time-stamp chain renewal with the specifieddigestAlgorithm
ASN1ArchiveTimeStampSequenceDigestHelper.buildArchiveTimeStampSequenceDigest
(ArchiveTimeStampChainObject archiveTimeStampChain) ASN1ArchiveTimeStampSequenceDigestHelper.buildTimeStampRenewalDigest
(ArchiveTimeStampObject archiveTimeStamp) ASN1ArchiveTimeStampSequenceDigestHelper.buildTimeStampRenewalDigest
(ArchiveTimeStampObject archiveTimeStamp, DigestAlgorithm digestAlgorithm) This method builds digest for a time-stamp renewal with the specifieddigestAlgorithm
ASN1EvidenceRecordRenewalDigestBuilder.buildTimeStampRenewalDigest()
ASN1ArchiveTimeStampSequenceDigestHelper.computeChainAndDocumentHash
(Digest archiveTimeStampChainHash, DSSDocument document) Computes a hash value for chain-hash and document-hash -
Uses of DSSMessageDigest in eu.europa.esig.dss.evidencerecord.asn1.validation
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
ASN1EvidenceRecordTimeStampSequenceVerifier.computeTimeStampHash
(ArchiveTimeStampObject archiveTimeStamp) protected DSSMessageDigest
ASN1EvidenceRecordTimeStampSequenceVerifier.computeTimeStampSequenceHash
(ArchiveTimeStampChainObject archiveTimeStampChain) Modifier and TypeMethodDescriptionprotected List
<byte[]> ASN1EvidenceRecordTimeStampSequenceVerifier.getLastTimeStampSequenceHashList
(DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedDocuments) protected DSSDocument
ASN1EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigest
from a provided list ofdetachedContents
protected List
<ReferenceValidation> ASN1EvidenceRecordTimeStampSequenceVerifier.validateArchiveTimeStampSequenceDigest
(List<ReferenceValidation> referenceValidations, DSSMessageDigest lastTimeStampSequenceHashes) -
Uses of DSSMessageDigest in eu.europa.esig.dss.evidencerecord.common.digest
Modifier and TypeMethodDescriptionabstract DSSMessageDigest
AbstractEvidenceRecordRenewalDigestBuilderHelper.buildArchiveTimeStampSequenceDigest
(ArchiveTimeStampChainObject archiveTimeStampChain) Builds digest for renewal of the hash-tree, considering the providedarchiveTimeStampChainObject
as the last chain in the evidence record.abstract DSSMessageDigest
AbstractEvidenceRecordRenewalDigestBuilder.buildTimeStampRenewalDigest()
abstract DSSMessageDigest
AbstractEvidenceRecordRenewalDigestBuilderHelper.buildTimeStampRenewalDigest
(ArchiveTimeStampObject archiveTimeStamp) This method builds digest for a time-stamp renewal using a digest algorithm from the -
Uses of DSSMessageDigest in eu.europa.esig.dss.evidencerecord.common.validation
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
EvidenceRecordTimeStampSequenceVerifier.computeDigestValueGroupHash
(DigestAlgorithm digestAlgorithm, DigestValueGroup digestValueGroup, DSSMessageDigest... otherObjectDigests) Computes a hash value for a group of hashesprotected abstract DSSMessageDigest
EvidenceRecordTimeStampSequenceVerifier.computeTimeStampHash
(ArchiveTimeStampObject archiveTimeStamp) Computes hash onarchiveTimeStamp
element provided thearchiveTimeStampChain
's attributesprotected abstract DSSMessageDigest
EvidenceRecordTimeStampSequenceVerifier.computeTimeStampSequenceHash
(ArchiveTimeStampChainObject archiveTimeStampChain) Computes hash of currentArchiveTimeStampSequenceElement
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
EvidenceRecordTimeStampSequenceVerifier.computeDigestValueGroupHash
(DigestAlgorithm digestAlgorithm, DigestValueGroup digestValueGroup, DSSMessageDigest... otherObjectDigests) Computes a hash value for a group of hashesprotected List
<? extends DigestValueGroup> EvidenceRecordTimeStampSequenceVerifier.getHashTree
(List<? extends DigestValueGroup> originalHashTree, List<DSSDocument> detachedContents, ManifestFile manifestFile, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampHash, DSSMessageDigest lastTimeStampSequenceHash) This method returns a relevant HashTree, and created a "virtual" HashTree when a HashTree is omitted in the TimeStampprotected List
<byte[]> EvidenceRecordTimeStampSequenceVerifier.getLastTimeStampSequenceHashList
(DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedDocuments) Returns a list of hashes computed on a given previous time-stamp sequence hashprotected DSSDocument
EvidenceRecordTimeStampSequenceVerifier.getMatchingDocument
(Digest digest, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents) This method returns a document with matchingDigest
from a provided list ofdetachedContents
protected List
<ReferenceValidation> EvidenceRecordTimeStampSequenceVerifier.validateArchiveDataObjects
(DigestValueGroup digestValueGroup, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampSequenceHash, List<DSSDocument> detachedContents, ManifestFile manifestFile) This method is used to verify archive data objects for presence document digests withindigestValueGroup
.protected List
<ReferenceValidation> EvidenceRecordTimeStampSequenceVerifier.validateArchiveTimeStampDigest
(List<ReferenceValidation> referenceValidations, DSSMessageDigest lastTimeStampHash) This method is used to verify presence of ArchiveTimeStamp digests within the reference validation list.protected List
<ReferenceValidation> EvidenceRecordTimeStampSequenceVerifier.validateArchiveTimeStampSequenceDigest
(List<ReferenceValidation> referenceValidations, DSSMessageDigest lastTimeStampSequenceHashes) This method is used to verify presence of ArchiveTimeStampSequence digests within the reference validation list. -
Uses of DSSMessageDigest in eu.europa.esig.dss.evidencerecord.xml.digest
Modifier and TypeMethodDescriptionXMLEvidenceRecordRenewalDigestBuilderHelper.buildArchiveTimeStampSequenceDigest
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod, int archiveTimeStampChainOrder) This method builds digest for a time-stamp chain renewal with the specifieddigestAlgorithm
andcanonicalizationMethod
XMLEvidenceRecordRenewalDigestBuilderHelper.buildArchiveTimeStampSequenceDigest
(ArchiveTimeStampChainObject archiveTimeStampChain) XMLEvidenceRecordRenewalDigestBuilder.buildTimeStampRenewalDigest()
XMLEvidenceRecordRenewalDigestBuilderHelper.buildTimeStampRenewalDigest
(ArchiveTimeStampObject archiveTimeStamp) XMLEvidenceRecordRenewalDigestBuilderHelper.buildTimeStampRenewalDigest
(ArchiveTimeStampObject archiveTimeStamp, DigestAlgorithm digestAlgorithm, String canonicalizationMethod) This method builds digest for a time-stamp renewal with the specifieddigestAlgorithm
-
Uses of DSSMessageDigest in eu.europa.esig.dss.evidencerecord.xml.validation
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
XmlEvidenceRecordTimeStampSequenceVerifier.computeTimeStampHash
(ArchiveTimeStampObject archiveTimeStamp) protected DSSMessageDigest
XmlEvidenceRecordTimeStampSequenceVerifier.computeTimeStampSequenceHash
(ArchiveTimeStampChainObject archiveTimeStampChain) Modifier and TypeMethodDescriptionprotected List
<? extends DigestValueGroup> XmlEvidenceRecordTimeStampSequenceVerifier.getHashTree
(List<? extends DigestValueGroup> originalHashTree, List<DSSDocument> detachedContents, ManifestFile manifestFile, ArchiveTimeStampChainObject archiveTimeStampChain, DSSMessageDigest lastTimeStampHash, DSSMessageDigest lastTimeStampSequenceHash) -
Uses of DSSMessageDigest in eu.europa.esig.dss.jades.validation.timestamp
Modifier and TypeMethodDescriptionJAdESTimestampSource.getArchiveTimestampData
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Returns message-imprint digest for an ArchiveTimestampJAdESTimestampMessageDigestBuilder.getArchiveTimestampMessageDigest()
JAdESTimestampMessageDigestBuilder.getContentTimestampMessageDigest()
JAdESTimestampSource.getSignatureTimestampData
(DigestAlgorithm digestAlgorithm) Returns the message-imprint digest for a SignatureTimestamp (BASE64URL(JWS Signature Value))JAdESTimestampMessageDigestBuilder.getSignatureTimestampMessageDigest()
JAdESTimestampMessageDigestBuilder.getTimestampX1MessageDigest()
JAdESTimestampMessageDigestBuilder.getTimestampX2MessageDigest()
-
Uses of DSSMessageDigest in eu.europa.esig.dss.model
Modifier and TypeMethodDescriptionstatic DSSMessageDigest
DSSMessageDigest.createEmptyDigest()
Creates empty message-digest object -
Uses of DSSMessageDigest in eu.europa.esig.dss.pades.signature
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
PAdESService.computeDocumentDigest
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) Computes digest of the document to be signedPAdESWithExternalCMSService.getMessageDigest
(DSSDocument toSignDocument, PAdESSignatureParameters parameters) This method computes message-digest of the signature ByteRange to be used for CMS Signed Data creationModifier and TypeMethodDescriptionprotected void
ExternalCMSService.assertConfigurationValid
(DSSMessageDigest messageDigest, PAdESSignatureParameters parameters) This method verifies whether the providedparameters
are valid for the external CMS creation processprotected org.bouncycastle.cms.CMSSignedData
ExternalCMSService.buildCMSSignedData
(DSSMessageDigest messageDigest, PAdESSignatureParameters parameters, SignatureValue signatureValue) This method builds aCMSSignedData
without executing additional checks on provided configurationprotected ToBeSigned
ExternalCMSService.buildToBeSignedData
(DSSMessageDigest messageDigest, PAdESSignatureParameters parameters) This method builds aCMSSignedData
without executing additional checks on provided configurationExternalCMSService.getDataToSign
(DSSMessageDigest messageDigest, PAdESSignatureParameters parameters) This method is used to compute signed-attributes of a CMSSignedData to be used for a private-key signing.boolean
PAdESWithExternalCMSService.isValidCMSSignedData
(DSSMessageDigest messageDigest, DSSDocument cms) This method verifies if thecms
is cryptographically validboolean
PAdESWithExternalCMSService.isValidPAdESBaselineCMSSignedData
(DSSMessageDigest messageDigest, DSSDocument cms) This method verifies if the givencms
signature is compliant for PAdES formatExternalCMSService.signMessageDigest
(DSSMessageDigest messageDigest, PAdESSignatureParameters parameters, SignatureValue signatureValue) This method is used to create a signed CMSSignedData to be used for incorporation within a PDF document for a PAdES signature creation -
Uses of DSSMessageDigest in eu.europa.esig.dss.pdf
Modifier and TypeMethodDescriptionprotected abstract DSSMessageDigest
AbstractPDFSignatureService.computeDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Computes digest on to be signed data computed on thetoSignDocument
respectively to the givenparameters
PdfSignatureCache.getMessageDigest()
Gets message-digest computed in the prepared PDF revision ByteRangeAbstractPDFSignatureService.messageDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) PDFSignatureService.messageDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) Returns the message-digest computed on PDF signature revision's ByteRangeModifier and TypeMethodDescriptionvoid
PdfSignatureCache.setMessageDigest
(DSSMessageDigest messageDigest) Sets message-digest of the ByteRange -
Uses of DSSMessageDigest in eu.europa.esig.dss.pdf.openpdf
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
ITextPDFSignatureService.computeDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) -
Uses of DSSMessageDigest in eu.europa.esig.dss.pdf.pdfbox
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
PdfBoxSignatureService.computeDigest
(DSSDocument toSignDocument, PAdESCommonParameters parameters) -
Uses of DSSMessageDigest in eu.europa.esig.dss.spi
Modifier and TypeMethodDescriptionDSSMessageDigestCalculator.getMessageDigest()
Returns theDSSMessageDigest
accordingly to the current state. -
Uses of DSSMessageDigest in eu.europa.esig.dss.spi.validation.timestamp
Modifier and TypeMethodDescriptionTimestampMessageDigestBuilder.getArchiveTimestampMessageDigest()
Archive timestamp seals the data of the signature in a specific order.TimestampMessageDigestBuilder.getContentTimestampMessageDigest()
Returns the content timestamp message-imprint digest (timestamped or to be).TimestampMessageDigestBuilder.getSignatureTimestampMessageDigest()
Returns the message-imprint digest on data (signature value) that was timestamped by the SignatureTimeStamp for the given timestamp.TimestampMessageDigestBuilder.getTimestampX1MessageDigest()
Returns the message-imprint digest to be time-stamped.TimestampMessageDigestBuilder.getTimestampX2MessageDigest()
Returns the data to be time-stamped which contains the concatenation of CompleteCertificateRefs and CompleteRevocationRefs elements (XAdES example). -
Uses of DSSMessageDigest in eu.europa.esig.dss.spi.x509.tsp
Modifier and TypeMethodDescriptionboolean
TimestampToken.matchData
(DSSMessageDigest messageDigest) Checks if theTimeStampToken
matches the message-imprint digest with warning enabled.boolean
TimestampToken.matchData
(DSSMessageDigest messageDigest, boolean suppressMatchWarnings) Checks if theTimeStampToken
matches the message-imprint digest. -
Uses of DSSMessageDigest in eu.europa.esig.dss.xades.evidencerecord
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
XAdESEvidenceRecordDigestBuilder.getXmlSignatureMessageImprint
(XAdESSignature signature) Generates message-imprint for the givenXAdESSignature
-
Uses of DSSMessageDigest in eu.europa.esig.dss.xades.signature
Modifier and TypeMethodDescriptionprotected void
XAdESLevelBaselineT.createXAdESTimeStampType
(TimestampType timestampType, String timestampC14nMethod, DSSMessageDigest messageDigest) Creates any XAdES TimeStamp object representation. -
Uses of DSSMessageDigest in eu.europa.esig.dss.xades.validation.timestamp
Modifier and TypeMethodDescriptionprotected DSSMessageDigest
XAdESTimestampMessageDigestBuilder.getAllDataObjectsTimestampMessageDigest()
Returns the computed message-imprint digest for xades132:AllDataObjectsTimestamp tokenXAdESTimestampSource.getArchiveTimestampData
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Returns message-imprint digest for an ArchiveTimeStampXAdESTimestampMessageDigestBuilder.getArchiveTimestampMessageDigest()
XAdESTimestampMessageDigestBuilder.getContentTimestampMessageDigest()
protected DSSMessageDigest
XAdESTimestampMessageDigestBuilder.getIndividualDataObjectsTimestampMessageDigest()
Returns the computed message-imprint digest for xades132:IndividualDataObjectsTimestamp tokenXAdESTimestampMessageDigestBuilder.getSignatureTimestampMessageDigest()
XAdESTimestampSource.getSignatureTimestampMessageDigest
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod) Returns message-imprint digest for a SignatureTimestampXAdESTimestampMessageDigestBuilder.getTimestampX1MessageDigest()
XAdESTimestampSource.getTimestampX1MessageDigest
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod, boolean en319132) Returns message-imprint digest for a SigAndRefsTimestampXAdESTimestampMessageDigestBuilder.getTimestampX2MessageDigest()
XAdESTimestampSource.getTimestampX2MessageDigest
(DigestAlgorithm digestAlgorithm, String canonicalizationMethod, boolean en319132) Returns message-imprint digest for a RefsOnlyTimestamp