X509SignatureGenerator.GetSignatureAlgorithmIdentifier 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, 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.