X509SignatureGenerator.SignData(Byte[], HashAlgorithmName) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
abstract cli::array <System::Byte> ^ SignData(cli::array <System::Byte> ^ data, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public abstract byte[] SignData (byte[] data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
abstract member SignData : byte[] * System.Security.Cryptography.HashAlgorithmName -> byte[]
Public MustOverride Function SignData (data As Byte(), hashAlgorithm As HashAlgorithmName) As Byte()
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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.