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
Methods
Find(DerObjectIdentifier)
Find the digest algorithm identifier that matches with the passed in digest OID.
public virtual AlgorithmIdentifier Find(DerObjectIdentifier digestOid)
Parameters
digestOidDerObjectIdentifierthe 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
signatureAlgorithmAlgorithmIdentifierthe 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
digestNamestringthe name of the digest algorithm of interest.
Returns
- AlgorithmIdentifier
an algorithm identifier for the digest name.