RSAOpenSsl.SignHash(Byte[], HashAlgorithmName, RSASignaturePadding) Methode

Definitie

Berekent de handtekening voor de opgegeven hashwaarde met behulp van de opgegeven opvulling.

public:
 override cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ hash, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::RSASignaturePadding ^ padding);
public override byte[] SignHash(byte[] hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding);
override this.SignHash : byte[] * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.RSASignaturePadding -> byte[]
Public Overrides Function SignHash (hash As Byte(), hashAlgorithm As HashAlgorithmName, padding As RSASignaturePadding) As Byte()

Parameters

hash
Byte[]
hashAlgorithm
HashAlgorithmName

Retouren

Byte[]

De RSA-handtekening voor de opgegeven hashwaarde.

Uitzonderingen

hash of padding is null.

hashAlgorithm.Name is null of Empty.

padding is onbekend of wordt niet ondersteund door deze implementatie.

– of –

Dit exemplaar vertegenwoordigt alleen een openbare sleutel.

– of –

Er is een fout opgetreden bij het maken van de handtekening.

Van toepassing op

Zie ook