อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


X509SignatureGenerator.SignData(Byte[], HashAlgorithmName) Method

Definition

When overridden in a derived class, produces a signature for the specified data using the specified hash algorithm and encodes the results appropriately for X.509 signature values.

C#
public abstract byte[] SignData(byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);

Parameters

data
Byte[]

The input data for which to produce the signature.

hashAlgorithm
HashAlgorithmName

The hash algorithm to use to produce the signature.

Returns

Byte[]

The X.509 signature for the specified data.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.7.2, 4.8, 4.8.1
.NET Standard 2.1