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
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.