Enum HashAlgorithmType

System.Net.Security

Specifies the hashing algorithms that can be used by the NegotiateStream class.

Syntax

public enum HashAlgorithmType

Members

RsaMd5 Represents the RSA-MD5 hashing algorithm.
RsaSha1 Represents the RSA-SHA1 hashing algorithm.
Dss Represents the DSS hashing algorithm.
DssSha1 Represents the DSS-SHA1 hashing algorithm.
RsaPkcs128 Represents the RSA-PKCS128 hashing algorithm.
RsaPkcs256 Represents the RSA-PKCS256 hashing algorithm.
Sha256 Represents the SHA256 hashing algorithm.
Sha384 Represents the SHA384 hashing algorithm.
Sha512 Represents the SHA512 hashing algorithm.

Remarks

This enumeration is used by the NegotiateStream class to specify the hashing algorithm to use when performing cryptographic operations such as message signing and authentication.

The specific algorithms supported may vary depending on the underlying operating system and security provider.

Requirements

Component Value
Namespace System.Net.Security
Assembly System.Net.Primitives.dll

See Also