Click or drag to resize

MessageSignature Class

Note: This API is now obsolete.

Provides methods to work with digital signatures.
Inheritance Hierarchy
SystemObject
  PKI.UtilsMessageSignature

Namespace:  PKI.Utils
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
[ObsoleteAttribute("Use MessageSigner class instead.", true)]
public static class MessageSignature

The MessageSignature type exposes the following members.

Methods
  NameDescription
Public methodStatic memberSignMessage
Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
Public methodStatic memberVerifySignature
Verifies that a digital signature is valid by determining the hash value in the signature using the provided public key and comparing it to the hash value of the provided data.
Top
Remarks
This class proides methods to work only with RSA signatures. To work with authenticode signatures use Set-AuthenticodeSignature and Get-AuthenticodeSignature PowerShell cmdlets.
See Also