RSAPKCS1SignatureFormatter.CreateSignature Method (Byte[])
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates the RSA PKCS #1 signature for the specified data.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- rgbHash
- Type:
System.Byte
[]
The data to be signed.
| Exception | Condition |
|---|---|
| CryptographicUnexpectedOperationException | The key is null. -or- The hash algorithm is null. |
| ArgumentNullException | The rgbHash parameter is null. |
Show: