System.Security.Authentication Namespace
The Authentication namespace provides a set of enumerations that describe the security of a connection. These enumerations include CipherAlgorithmType, ExchangeAlgorithmType, HashAlgorithmType, and SslProtocols.
| Class | Description | |
|---|---|---|
![]() | AuthenticationException | The exception that is thrown when authentication fails for an authentication stream. |
![]() | InvalidCredentialException | The exception that is thrown when authentication fails for an authentication stream and cannot be retried. |
| Enumeration | Description | |
|---|---|---|
![]() | CipherAlgorithmType | Defines the possible cipher algorithms for the SslStream class. |
![]() | ExchangeAlgorithmType | Specifies the algorithm used to create keys shared by the client and server. |
![]() | HashAlgorithmType | Specifies the algorithm used for generating message authentication codes (MACs). |
![]() | SslProtocols | Defines the possible versions of SslProtocols. |

