SetHashAlgorithm Method
Collapse the table of content
Expand the table of content

DSASignatureDeformatter.SetHashAlgorithm Method (String)


Specifies the hash algorithm for the Digital Signature Algorithm (DSA) signature deformatter.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

override SetHashAlgorithm : 
        strName:string -> unit


Type: System.String

The name of the hash algorithm to use for the signature deformatter.

Exception Condition

The strName parameter does not map to the SHA1 hash algorithm.

Notes to Implementers:

This method is not used. The DSA algorithm requires the SHA1 hash algorithm.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft