Table of Contents

Class DefaultDigestAlgorithmFinder

Namespace
Org.BouncyCastle.Operators.Utilities
Assembly
BouncyCastle.Cryptography.dll
public class DefaultDigestAlgorithmFinder : IDigestAlgorithmFinder
Inheritance
DefaultDigestAlgorithmFinder
Implements
Inherited Members

Constructors

DefaultDigestAlgorithmFinder()

protected DefaultDigestAlgorithmFinder()

Fields

Instance

public static readonly DefaultDigestAlgorithmFinder Instance

Field Value

DefaultDigestAlgorithmFinder

Methods

Find(DerObjectIdentifier)

Find the digest algorithm identifier that matches with the passed in digest OID.

public virtual AlgorithmIdentifier Find(DerObjectIdentifier digestOid)

Parameters

digestOid DerObjectIdentifier

the OID of the digest algorithm of interest.

Returns

AlgorithmIdentifier

an algorithm identifier for the digest OID.

Find(AlgorithmIdentifier)

Find the digest algorithm identifier that matches with the passed in signature algorithm identifier.

public virtual AlgorithmIdentifier Find(AlgorithmIdentifier signatureAlgorithm)

Parameters

signatureAlgorithm AlgorithmIdentifier

the signature algorithm of interest.

Returns

AlgorithmIdentifier

an algorithm identifier for the corresponding digest.

Find(string)

Find the digest algorithm identifier that matches with the passed in digest name.

public virtual AlgorithmIdentifier Find(string digestName)

Parameters

digestName string

the name of the digest algorithm of interest.

Returns

AlgorithmIdentifier

an algorithm identifier for the digest name.