Click or drag to resize

MessageSignature Class

Note: This API is now obsolete.

Provides methods to work with digital signatures.
Inheritance Hierarchy

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

The MessageSignature type exposes the following members.

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.
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