RSAPKCS1SignatureDeformatter.SetHashAlgorithm(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the hash algorithm to use for verifying the signature.
public:
override void SetHashAlgorithm(System::String ^ strName);
public override void SetHashAlgorithm (string strName);
override this.SetHashAlgorithm : string -> unit
Public Overrides Sub SetHashAlgorithm (strName As String)
Parameters
- strName
- String
The name of the hash algorithm to use for verifying the signature.
Remarks
You must set a hash algorithm before calling VerifySignature.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.