Table of Contents

Interface IDigestFactory

Namespace
Org.BouncyCastle.Crypto
Assembly
BouncyCastle.Cryptography.dll

Base interface for operator factories that create stream-based digest calculators.

public interface IDigestFactory

Properties

AlgorithmDetails

The algorithm details object for calculators made by this factory.

object AlgorithmDetails { get; }

Property Value

object

DigestLength

Return the size of the digest associated with this factory.

int DigestLength { get; }

Property Value

int

The length of the digest produced by this calculators from this factory in bytes.

Methods

CreateCalculator()

Create a stream calculator for the digest associated with this factory. The stream calculator is used for the actual operation of entering the data to be digested and producing the digest block.

IStreamCalculator<IBlockResult> CreateCalculator()

Returns

IStreamCalculator<IBlockResult>

A calculator producing an IBlockResult with the final digest in it.