Bewerken

Share via


X509SignatureGenerator.GetSignatureAlgorithmIdentifier Method

Definition

When overridden in a derived class, encodes the X.509 algorithm identifier for this signature.

public:
 abstract cli::array <System::Byte> ^ GetSignatureAlgorithmIdentifier(System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public abstract byte[] GetSignatureAlgorithmIdentifier (System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
abstract member GetSignatureAlgorithmIdentifier : System.Security.Cryptography.HashAlgorithmName -> byte[]
Public MustOverride Function GetSignatureAlgorithmIdentifier (hashAlgorithm As HashAlgorithmName) As Byte()

Parameters

hashAlgorithm
HashAlgorithmName

The hash algorithm to use for encoding.

Returns

Byte[]

The encoded value for the X.509 algorithm identifier.

Applies to