RSAOpenSsl.SignHash(Byte[], HashAlgorithmName, RSASignaturePadding) メソッド

定義

指定したパディングを使用して、指定したハッシュ値の署名を計算します。

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()

パラメーター

hash
Byte[]
hashAlgorithm
HashAlgorithmName

返品

Byte[]

指定したハッシュ値の RSA 署名。

例外

hash または paddingnull

hashAlgorithm.Namenull または Empty

padding が不明であるか、この実装でサポートされていません。

-又は-

このインスタンスは公開キーのみを表します。

-又は-

署名の作成中にエラーが発生しました。

適用対象

こちらもご覧ください