RSACryptoServiceProviderSignData(Stream, Object) Method |
Computes the hash value of the specified input stream using the specified
hash algorithm, and signs the resulting hash value.
Namespace: Crestron.SimplSharp.CryptographyAssembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntaxpublic byte[] SignData(
Stream inputStream,
Object halg
)
Parameters
- inputStream Stream
- The input data for which to compute the hash.
- halg Object
- The hash algorithm to use to create the hash value.
Return Value
ByteThe Crestron.SimplSharp.Cryptography.RSA signature for the specified data.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also