Class ASN1EvidenceRecordDataObjectDigestBuilderFactory
java.lang.Object
eu.europa.esig.dss.evidencerecord.asn1.digest.ASN1EvidenceRecordDataObjectDigestBuilderFactory
- All Implemented Interfaces:
DataObjectDigestBuilderFactory
public class ASN1EvidenceRecordDataObjectDigestBuilderFactory
extends Object
implements DataObjectDigestBuilderFactory
Creates a new instance of
eu.europa.esig.dss.evidencerecord.asn1.digest.ASN1EvidenceRecordDataObjectDigestBuilder
to compute hashes for RFC 4998 ASN.1 Evidence Record Syntax (ERS) evidence records-
Constructor Summary
-
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
-
Constructor Details
-
ASN1EvidenceRecordDataObjectDigestBuilderFactory
public ASN1EvidenceRecordDataObjectDigestBuilderFactory()Default constructor
-
-
Method Details
-
create
Description copied from interface:DataObjectDigestBuilderFactory
Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a default digest algorithm- Specified by:
create
in interfaceDataObjectDigestBuilderFactory
- Parameters:
document
-DSSDocument
to compute hash for- Returns:
DataObjectDigestBuilder
-
create
Description copied from interface:DataObjectDigestBuilderFactory
Creates an instance ofDataObjectDigestBuilder
to build hash for thedocument
, according to the given implementation, using a provideddigestAlgorithm
- Specified by:
create
in interfaceDataObjectDigestBuilderFactory
- Parameters:
document
-DSSDocument
to compute hash fordigestAlgorithm
-DigestAlgorithm
to use- Returns:
DataObjectDigestBuilder
-