PGPBase..::..SignData Method (Stream, HashAlgorithmName, RSASignaturePadding)
Computes the hash value of the specified stream using the specified hash algorithm and padding mode, and signs the resulting hash value.
Namespace:
Walter.Cypher.PGPAssembly: Walter.Cypher (in Walter.Cypher.dll)
Syntax
public byte[] SignData( Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding )
Parameters
- data
- Type: Stream
The input stream for which to compute the hash.
- hashAlgorithm
- Type: HashAlgorithmName
The hash algorithm to use to create the hash value.
- padding
- Type: RSASignaturePadding
The padding mode.