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
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.
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.
AlgorithmIdentifier Find(string digestName)
Parameters
digestNamestringthe name of the digest algorithm of interest.
Returns
- AlgorithmIdentifier
an algorithm identifier for the digest name.