Interface DataObjectDigestBuilderFactory
- All Known Implementing Classes:
ASN1EvidenceRecordDataObjectDigestBuilderFactory
,XMLEvidenceRecordDataObjectDigestBuilderFactory
public interface DataObjectDigestBuilderFactory
Creates an instance of
eu.europa.esig.dss.spi.x509.evidencerecord.DataObjectDigestBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DSSDocument document) Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a default digest algorithmcreate
(DSSDocument document, DigestAlgorithm digestAlgorithm) Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a provideddigestAlgorithm
-
Method Details
-
create
Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a default digest algorithm- Parameters:
document
-DSSDocument
to compute hash for- Returns:
DataObjectDigestBuilder
-
create
Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a provideddigestAlgorithm
- Parameters:
document
-DSSDocument
to compute hash fordigestAlgorithm
-DigestAlgorithm
to use- Returns:
DataObjectDigestBuilder
-