Class ASN1EvidenceRecordDataObjectDigestBuilder
java.lang.Object
eu.europa.esig.dss.evidencerecord.common.digest.AbstractDataObjectDigestBuilder
eu.europa.esig.dss.evidencerecord.asn1.digest.ASN1EvidenceRecordDataObjectDigestBuilder
- All Implemented Interfaces:
DataObjectDigestBuilder
Generates digests for data objects to be protected by an IETF RFC 4998 ERS evidence-record
-
Field Summary
Fields inherited from class eu.europa.esig.dss.evidencerecord.common.digest.AbstractDataObjectDigestBuilder
digestAlgorithm, document, inputStream
-
Constructor Summary
ConstructorDescriptionASN1EvidenceRecordDataObjectDigestBuilder
(byte[] binaries) Constructor to create a builder for computing digest on the given binaries using a SHA-256 digest algorithmASN1EvidenceRecordDataObjectDigestBuilder
(byte[] binaries, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given binaries using a provided digest algorithmConstructor to create a builder for computing digest on the given document using a SHA-256 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) Constructor to create a builder for computing digest on the given InputStream using a SHA-256 digest algorithmASN1EvidenceRecordDataObjectDigestBuilder
(InputStream inputStream, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given InputStream using a provided digest algorithm -
Method Summary
Methods inherited from class eu.europa.esig.dss.evidencerecord.common.digest.AbstractDataObjectDigestBuilder
build
-
Constructor Details
-
ASN1EvidenceRecordDataObjectDigestBuilder
public ASN1EvidenceRecordDataObjectDigestBuilder(byte[] binaries) Constructor to create a builder for computing digest on the given binaries using a SHA-256 digest algorithm- Parameters:
binaries
- byte array to compute hash on
-
ASN1EvidenceRecordDataObjectDigestBuilder
Constructor to create a builder for computing digest on the given InputStream using a SHA-256 digest algorithm- Parameters:
inputStream
-InputStream
to compute hash on
-
ASN1EvidenceRecordDataObjectDigestBuilder
Constructor to create a builder for computing digest on the given document using a SHA-256 digest algorithm- Parameters:
document
-DSSDocument
to compute hash on
-
ASN1EvidenceRecordDataObjectDigestBuilder
Constructor to create a builder for computing digest on the given binaries using a provided digest algorithm- Parameters:
binaries
- byte array to compute hash ondigestAlgorithm
-DigestAlgorithm
to be used on hash computation
-
ASN1EvidenceRecordDataObjectDigestBuilder
public ASN1EvidenceRecordDataObjectDigestBuilder(InputStream inputStream, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given InputStream using a provided digest algorithm- Parameters:
inputStream
-InputStream
to compute hash ondigestAlgorithm
-DigestAlgorithm
to be used on hash computation
-
ASN1EvidenceRecordDataObjectDigestBuilder
public ASN1EvidenceRecordDataObjectDigestBuilder(DSSDocument document, DigestAlgorithm digestAlgorithm) Constructor to create a builder for computing digest on the given document using a provided digest algorithm- Parameters:
document
-DSSDocument
to compute hash ondigestAlgorithm
-DigestAlgorithm
to be used on hash computation
-