ECDsa.SignHash メソッド

定義

オーバーロード

SignHash(Byte[])

指定したハッシュ値のデジタル署名を生成します。

SignHash(Byte[], DSASignatureFormat)

指定した形式で、指定したハッシュ値の ECDSA 署名を計算します。

SignHash(Byte[])

指定したハッシュ値のデジタル署名を生成します。

public:
 abstract cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ hash);
public abstract byte[] SignHash (byte[] hash);
abstract member SignHash : byte[] -> byte[]
Public MustOverride Function SignHash (hash As Byte()) As Byte()

パラメーター

hash
Byte[]

署名されたデータのハッシュ値。

戻り値

Byte[]

指定したハッシュ値のデジタル署名。

例外

hash パラメーターが null です。

適用対象

SignHash(Byte[], DSASignatureFormat)

指定した形式で、指定したハッシュ値の ECDSA 署名を計算します。

public:
 cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ hash, System::Security::Cryptography::DSASignatureFormat signatureFormat);
public byte[] SignHash (byte[] hash, System.Security.Cryptography.DSASignatureFormat signatureFormat);
member this.SignHash : byte[] * System.Security.Cryptography.DSASignatureFormat -> byte[]
Public Function SignHash (hash As Byte(), signatureFormat As DSASignatureFormat) As Byte()

パラメーター

hash
Byte[]

署名するハッシュ値。

signatureFormat
DSASignatureFormat

署名に使用するエンコード形式。

戻り値

Byte[]

指定されたデータの ECDSA 署名。

例外

hashnullです。

signatureFormat は既知の形式ではありません。

署名操作で発生したエラー。

適用対象