Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<Type Name="AuthenticationException" FullName="System.Security.Authentication.AuthenticationException">
<TypeSignature Language="C#" Value="public class AuthenticationException : SystemException" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit AuthenticationException extends System.SystemException" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.SystemException</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Net.Security.NegotiateStream" /> and <see cref="T:System.Net.Security.SslStream" /> classes throw this exception when the client or server cannot be authenticated. When this exception is thrown, you can retry the authentication with different credentials. If you cannot retry the authentication, a <see cref="T:System.Net.FatalAuthenticationException" /> is thrown instead of the <see cref="T:System.Security.Authentication.AuthenticationException" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The exception that is thrown when authentication fails for an authentication stream.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AuthenticationException ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor does nothing.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class with no message.</para>
</summary>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AuthenticationException (string message);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="message" Type="System.String" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor initializes the <see cref="P:System.Exception.Message" /> property with the text in the <paramref name="message" /> parameter. The <see cref="P:System.Exception.InnerException" /> property is set to null. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class with the specified message.</para>
</summary>
<param name="message">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.String" /> that describes the authentication failure.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected AuthenticationException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.Runtime.Serialization.SerializationInfo serializationInfo, valuetype System.Runtime.Serialization.StreamingContext streamingContext) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</para>
</summary>
<param name="serializationInfo">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance that contains the information required to deserialize the new <see cref="T:System.Security.Authentication.AuthenticationException" /> instance. </param>
<param name="streamingContext">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.Serialization.StreamingContext" /> instance. </param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AuthenticationException (string message, Exception innerException);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message, class System.Exception innerException) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="message" Type="System.String" />
<Parameter Name="innerException" Type="System.Exception" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor initializes the <see cref="P:System.Exception.Message" /> property with the text in the <paramref name="message" /> parameter and initializes the <see cref="P:System.Exception.InnerException" /> property with the <paramref name="innerException" /> parameter value.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.AuthenticationException" /> class with the specified message and inner exception.</para>
</summary>
<param name="message">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.String" /> that describes the authentication failure.</param>
<param name="innerException">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Exception" /> that is the cause of the current exception.</param>
</Docs>
</Member>
</Members>
</Type>

View File

@ -0,0 +1,214 @@
<?xml version="1.0" encoding="utf-8"?>
<Type Name="CipherAlgorithmType" FullName="System.Security.Authentication.CipherAlgorithmType">
<TypeSignature Language="C#" Value="public enum CipherAlgorithmType" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed CipherAlgorithmType extends System.Enum" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This enumeration specifies valid values for the <see cref="P:System.Net.Security.SslStream.CipherAlgorithm" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines the possible cipher algorithms for the <see cref="T:System.Net.Security.SslStream" /> class.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Aes">
<MemberSignature Language="C#" Value="Aes" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Aes = int32(26129)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Advanced Encryption Standard (AES) algorithm.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Aes128">
<MemberSignature Language="C#" Value="Aes128" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Aes128 = int32(26126)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Advanced Encryption Standard (AES) algorithm with a 128 bit key.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Aes192">
<MemberSignature Language="C#" Value="Aes192" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Aes192 = int32(26127)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Advanced Encryption Standard (AES) algorithm with a 192 bit key.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Aes256">
<MemberSignature Language="C#" Value="Aes256" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Aes256 = int32(26128)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Advanced Encryption Standard (AES) algorithm with a 256 bit key.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Des">
<MemberSignature Language="C#" Value="Des" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Des = int32(26113)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Data Encryption Standard (DES) algorithm.</para>
</summary>
</Docs>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType None = int32(0)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>No encryption algorithm is used.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Null">
<MemberSignature Language="C#" Value="Null" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Null = int32(24576)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>No encryption is used with a Null cipher algorithm. </para>
</summary>
</Docs>
</Member>
<Member MemberName="Rc2">
<MemberSignature Language="C#" Value="Rc2" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Rc2 = int32(26114)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Rivest's Code 2 (RC2) algorithm.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Rc4">
<MemberSignature Language="C#" Value="Rc4" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType Rc4 = int32(26625)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Rivest's Code 4 (RC4) algorithm.</para>
</summary>
</Docs>
</Member>
<Member MemberName="TripleDes">
<MemberSignature Language="C#" Value="TripleDes" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.CipherAlgorithmType TripleDes = int32(26115)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.CipherAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Triple Data Encryption Standard (3DES) algorithm.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>

View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<Type Name="ExchangeAlgorithmType" FullName="System.Security.Authentication.ExchangeAlgorithmType">
<TypeSignature Language="C#" Value="public enum ExchangeAlgorithmType" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ExchangeAlgorithmType extends System.Enum" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This enumeration specifies valid values for the <see cref="P:System.Net.Security.SslStream.KeyExchangeAlgorithm" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the algorithm used to create keys shared by the client and server.</para>
</summary>
</Docs>
<Members>
<Member MemberName="DiffieHellman">
<MemberSignature Language="C#" Value="DiffieHellman" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.ExchangeAlgorithmType DiffieHellman = int32(43522)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.ExchangeAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Diffie Hellman ephemeral key exchange algorithm.</para>
</summary>
</Docs>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.ExchangeAlgorithmType None = int32(0)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.ExchangeAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>No key exchange algorithm is used.</para>
</summary>
</Docs>
</Member>
<Member MemberName="RsaKeyX">
<MemberSignature Language="C#" Value="RsaKeyX" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.ExchangeAlgorithmType RsaKeyX = int32(41984)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.ExchangeAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The RSA public-key exchange algorithm.</para>
</summary>
</Docs>
</Member>
<Member MemberName="RsaSign">
<MemberSignature Language="C#" Value="RsaSign" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.ExchangeAlgorithmType RsaSign = int32(9216)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.ExchangeAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The RSA public-key signature algorithm.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>

View File

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<Type Name="HashAlgorithmType" FullName="System.Security.Authentication.HashAlgorithmType">
<TypeSignature Language="C#" Value="public enum HashAlgorithmType" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed HashAlgorithmType extends System.Enum" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This enumeration specifies valid values for the <see cref="P:System.Net.Security.SslStream.HashAlgorithm" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the algorithm used for generating message authentication codes (MACs).</para>
</summary>
</Docs>
<Members>
<Member MemberName="Md5">
<MemberSignature Language="C#" Value="Md5" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.HashAlgorithmType Md5 = int32(32771)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.HashAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Message Digest 5 (MD5) hashing algorithm.</para>
</summary>
</Docs>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.HashAlgorithmType None = int32(0)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.HashAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>No hashing algorithm is used.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Sha1">
<MemberSignature Language="C#" Value="Sha1" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.HashAlgorithmType Sha1 = int32(32772)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.HashAlgorithmType</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The Secure Hashing Algorithm (SHA1).</para>
</summary>
</Docs>
</Member>
</Members>
</Type>

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<Type Name="InvalidCredentialException" FullName="System.Security.Authentication.InvalidCredentialException">
<TypeSignature Language="C#" Value="public class InvalidCredentialException : System.Security.Authentication.AuthenticationException" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit InvalidCredentialException extends System.Security.Authentication.AuthenticationException" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Security.Authentication.AuthenticationException</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Net.Security.NegotiateStream" /> and <see cref="T:System.Net.Security.SslStream" /> classes throw this exception when authentication fails. This exception indicates that the underlying stream is not in a valid state and you cannot retry the authentication using the <see cref="T:System.Net.Security.NegotiateStream" /> or <see cref="T:System.Net.Security.SslStream" /> instance. If you can retry the authentication, an <see cref="T:System.Security.Authentication.AuthenticationException" /> is thrown instead of the <see cref="T:System.Security.Authentication.InvalidCredentialException" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The exception that is thrown when authentication fails for an authentication stream and cannot be retried.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public InvalidCredentialException ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor does nothing.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class with no message. </para>
</summary>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public InvalidCredentialException (string message);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="message" Type="System.String" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor initializes the <see cref="P:System.Exception.Message" /> property with the text in the <paramref name="message" /> parameter. The <see cref="P:System.Exception.InnerException" /> property is set to null. </para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class with the specified message.</para>
</summary>
<param name="message">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.String" /> that describes the authentication failure.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected InvalidCredentialException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.Runtime.Serialization.SerializationInfo serializationInfo, valuetype System.Runtime.Serialization.StreamingContext streamingContext) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</para>
</summary>
<param name="serializationInfo">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance that contains the information required to deserialize the new <see cref="T:System.Security.Authentication.InvalidCredentialException" /> instance. </param>
<param name="streamingContext">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.Serialization.StreamingContext" /> instance. </param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public InvalidCredentialException (string message, Exception innerException);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message, class System.Exception innerException) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="message" Type="System.String" />
<Parameter Name="innerException" Type="System.Exception" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor initializes the <see cref="P:System.Exception.Message" /> property with the text in the <paramref name="message" /> parameter and initializes the <see cref="P:System.Exception.InnerException" /> property with the <paramref name="innerException" /> parameter value.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Authentication.InvalidCredentialException" /> class with the specified message and inner exception.</para>
</summary>
<param name="message">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.String" /> that describes the authentication failure.</param>
<param name="innerException">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Exception" /> that is the cause of the current exception.</param>
</Docs>
</Member>
</Members>
</Type>

View File

@ -0,0 +1,167 @@
<?xml version="1.0" encoding="utf-8"?>
<Type Name="SslProtocols" FullName="System.Security.Authentication.SslProtocols">
<TypeSignature Language="C#" Value="public enum SslProtocols" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SslProtocols extends System.Enum" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName>System.Flags</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines the possible versions of <see cref="T:System.Security.Authentication.SslProtocols" />.</para>
</summary>
</Docs>
<Members>
<Member MemberName="Default">
<MemberSignature Language="C#" Value="Default" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.SslProtocols Default = int32(240)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies that either Secure Sockets Layer (SSL) 3.0 or Transport Layer Security (TLS) 1.0 are acceptable for secure communications</para>
</summary>
</Docs>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.SslProtocols None = int32(0)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>No SSL protocol is specified.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Ssl2">
<MemberSignature Language="C#" Value="Ssl2" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.SslProtocols Ssl2 = int32(12)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the SSL 2.0 protocol. SSL 2.0 has been superseded by the TLS protocol and is provided for backward compatibility only.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Ssl3">
<MemberSignature Language="C#" Value="Ssl3" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.SslProtocols Ssl3 = int32(48)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the SSL 3.0 protocol. SSL 3.0 has been superseded by the TLS protocol and is provided for backward compatibility only.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Tls">
<MemberSignature Language="C#" Value="Tls" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.SslProtocols Tls = int32(192)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the TLS 1.0 security protocol. The TLS protocol is defined in IETF RFC 2246.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Tls11">
<MemberSignature Language="C#" Value="Tls11" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.SslProtocols Tls11 = int32(768)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.MonoTODO("unsupported")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the TLS 1.1 security protocol. The TLS protocol is defined in IETF RFC 4346.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Tls12">
<MemberSignature Language="C#" Value="Tls12" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Authentication.SslProtocols Tls12 = int32(3072)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.MonoTODO("unsupported")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the TLS 1.2 security protocol. The TLS protocol is defined in IETF RFC 5246.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>