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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.