Table of Contents

Interface IDigestAlgorithmFinder

Namespace
Org.BouncyCastle.Operators.Utilities
Assembly
BouncyCastle.Cryptography.dll

Base interface for a finder of digest algorithm identifiers used with signatures.

public interface IDigestAlgorithmFinder

Methods

Find(DerObjectIdentifier)

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

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.

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.

AlgorithmIdentifier Find(string digestName)

Parameters

digestName string

the name of the digest algorithm of interest.

Returns

AlgorithmIdentifier

an algorithm identifier for the digest name.