Secure |
public override string GetDigestAlgorithmName( DigestAlgorithm micalg )
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | micalg is out of range. |
| NotSupportedException | The specified DigestAlgorithm is not supported by this context. |
Maps the DigestAlgorithm to the appropriate string identifier as used by the micalg parameter value of a multipart/signed Content-Type header. For example:
| Algorithm | Name |
|---|---|
| MD2 | md2 |
| MD4 | md4 |
| MD5 | md5 |
| Sha1 | sha-1 |
| Sha224 | sha-224 |
| Sha256 | sha-256 |
| Sha384 | sha-384 |
| Sha512 | sha-512 |
| Tiger192 | tiger-192 |
| RipeMD160 | ripemd160 |
| Haval5160 | haval-5-160 |