mscorlib(4.0.0.0) API with additions
System.Security.Authentication Namespace Reference

Classes

class  AuthenticationException
 The exception that is thrown when authentication fails for an authentication stream. More...
 
class  InvalidCredentialException
 The exception that is thrown when authentication fails for an authentication stream and cannot be retried. More...
 

Enumerations

enum  CipherAlgorithmType {
  CipherAlgorithmType.None = 0, CipherAlgorithmType.Rc2 = 26114, CipherAlgorithmType.Rc4 = 26625, CipherAlgorithmType.Des = 26113,
  CipherAlgorithmType.TripleDes = 26115, CipherAlgorithmType.Aes = 26129, CipherAlgorithmType.Aes128 = 26126, CipherAlgorithmType.Aes192 = 26127,
  CipherAlgorithmType.Aes256 = 26128, CipherAlgorithmType.Null = 24576
}
 Defines the possible cipher algorithms for the T:System.Net.Security.SslStream class. More...
 
enum  ExchangeAlgorithmType { ExchangeAlgorithmType.None = 0, ExchangeAlgorithmType.RsaSign = 9216, ExchangeAlgorithmType.RsaKeyX = 41984, ExchangeAlgorithmType.DiffieHellman = 43522 }
 Specifies the algorithm used to create keys shared by the client and server. More...
 
enum  HashAlgorithmType {
  HashAlgorithmType.None = 0, HashAlgorithmType.Md5 = 32771, HashAlgorithmType.Sha1 = 32772, HashAlgorithmType.Sha256 = 32780,
  HashAlgorithmType.Sha384 = 32781, HashAlgorithmType.Sha512 = 32782
}
 Specifies the algorithm used for generating message authentication codes (MACs). More...
 
enum  SslProtocols {
  SslProtocols.None = 0x0, SslProtocols.Ssl2 = 0xC, SslProtocols.Ssl3 = 0x30, SslProtocols.Tls = 0xC0,
  SslProtocols.Tls11 = 0x300, SslProtocols.Tls12 = 0xC00, SslProtocols.Default = 0xF0
}
 Defines the possible versions of T:System.Security.Authentication.SslProtocols. More...
 

Enumeration Type Documentation

◆ CipherAlgorithmType

Defines the possible cipher algorithms for the T:System.Net.Security.SslStream class.

Enumerator
None 

No encryption algorithm is used.

Rc2 

Rivest's Code 2 (RC2) algorithm.

Rc4 

Rivest's Code 4 (RC4) algorithm.

Des 

The Data Encryption Standard (DES) algorithm.

TripleDes 

The Triple Data Encryption Standard (3DES) algorithm.

Aes 

The Advanced Encryption Standard (AES) algorithm.

Aes128 

The Advanced Encryption Standard (AES) algorithm with a 128 bit key.

Aes192 

The Advanced Encryption Standard (AES) algorithm with a 192 bit key.

Aes256 

The Advanced Encryption Standard (AES) algorithm with a 256 bit key.

Null 

No encryption is used with a Null cipher algorithm.

Definition at line 5 of file CipherAlgorithmType.cs.

◆ ExchangeAlgorithmType

Specifies the algorithm used to create keys shared by the client and server.

Enumerator
None 

No key exchange algorithm is used.

RsaSign 

The RSA public-key signature algorithm.

RsaKeyX 

The RSA public-key exchange algorithm.

DiffieHellman 

The Diffie Hellman ephemeral key exchange algorithm.

Definition at line 5 of file ExchangeAlgorithmType.cs.

◆ HashAlgorithmType

Specifies the algorithm used for generating message authentication codes (MACs).

Enumerator
None 

No hashing algorithm is used.

Md5 

The Message Digest 5 (MD5) hashing algorithm.

Sha1 

The Secure Hashing Algorithm (SHA1).

Sha256 

The Secure Hashing Algorithm 2 (SHA-2), using a 256-bit digest.

Sha384 

The Secure Hashing Algorithm 2 (SHA-2), using a 384-bit digest.

Sha512 

The Secure Hashing Algorithm 2 (SHA-2), using a 512-bit digest.

Definition at line 5 of file HashAlgorithmType.cs.

◆ SslProtocols

Defines the possible versions of T:System.Security.Authentication.SslProtocols.

Enumerator
None 

No SSL protocol is specified.

Ssl2 

Specifies the SSL 2.0 protocol. SSL 2.0 has been superseded by the TLS protocol and is provided for backward compatibility only.

Ssl3 

Specifies the SSL 3.0 protocol. SSL 3.0 has been superseded by the TLS protocol and is provided for backward compatibility only.

Tls 

Specifies the TLS 1.0 security protocol. The TLS protocol is defined in IETF RFC 2246.

Tls11 

Specifies the TLS 1.1 security protocol. The TLS protocol is defined in IETF RFC 4346.

Tls12 

Specifies the TLS 1.2 security protocol. The TLS protocol is defined in IETF RFC 5246.

Default 

Specifies that either Secure Sockets Layer (SSL) 3.0 or Transport Layer Security (TLS) 1.0 are acceptable for secure communications

Definition at line 6 of file SslProtocols.cs.