WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

PGPBase..::..SignHash Method

When overridden in a derived class, computes the signature for the specified hash value by encrypting it with the private key using the specified padding.

Namespace:  Walter.Cypher.PGP
Assembly:  Walter.Cypher (in Walter.Cypher.dll)

Syntax


public byte[] SignHash(
	byte[] hash,
	HashAlgorithmName hashAlgorithm,
	RSASignaturePadding padding
)

Parameters

hash
Type: array<Byte>[]()[][]
The hash value of the data to be signed.
hashAlgorithm
Type: HashAlgorithmName
The hash algorithm used to create the hash value of the data.
padding
Type: RSASignaturePadding
The padding.

Return Value

The RSA signature for the specified hash value.