DSAOpenSsl.CreateSignature(Byte[]) Method

Definition

When overridden in a derived class, creates the DSA signature for the specified hash value.

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 hash value.

Exceptions

rgbHash is null.

This instance represents only a public key.

-or-

An error occurred during signature creation.

Applies to