DSACng.CreateSignature(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the DSA signature for the specified data.
public:
override cli::array <System::Byte> ^ CreateSignature(cli::array <System::Byte> ^ rgbHash);
public override byte[] CreateSignature (byte[] rgbHash);
override this.CreateSignature : byte[] -> byte[]
Public Overrides Function CreateSignature (rgbHash As Byte()) As Byte()
Parameters
- rgbHash
- Byte[]
The hash value to be signed.
Returns
Byte[]
The digital signature for the specified data.
Exceptions
rgbHash
is null
.
This instance represents only a public key.
-or-
An error occurred during signature creation.
rgbHash
is shorter in length than the Q value of the DSA key.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.