Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

106 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="X509CertificateValidationMode" FullName="System.ServiceModel.Security.X509CertificateValidationMode">
<TypeSignature Language="C#" Value="public enum X509CertificateValidationMode" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed X509CertificateValidationMode extends System.Enum" />
<AssemblyInfo>
<AssemblyName>System.ServiceModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An enumeration that lists the ways of validating a certificate.</para>
</summary>
</Docs>
<Members>
<Member MemberName="ChainTrust">
<MemberSignature Language="C#" Value="ChainTrust" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.X509CertificateValidationMode ChainTrust = int32(2)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.X509CertificateValidationMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The certificate is valid if the chain builds to a certification authority in the trusted root store.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Custom">
<MemberSignature Language="C#" Value="Custom" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.X509CertificateValidationMode Custom = int32(4)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.X509CertificateValidationMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The user must plug in a custom <see cref="T:System.IdentityModel.Selectors.X509CertificateValidator" /> to validate the certificate.</para>
</summary>
</Docs>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.X509CertificateValidationMode None = int32(0)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.X509CertificateValidationMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>No validation of the certificate is done. </para>
</summary>
</Docs>
</Member>
<Member MemberName="PeerOrChainTrust">
<MemberSignature Language="C#" Value="PeerOrChainTrust" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.X509CertificateValidationMode PeerOrChainTrust = int32(3)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.X509CertificateValidationMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The certificate is valid if it is in the trusted people store, or if the chain builds to a certification authority in the trusted root store.</para>
</summary>
</Docs>
</Member>
<Member MemberName="PeerTrust">
<MemberSignature Language="C#" Value="PeerTrust" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.ServiceModel.Security.X509CertificateValidationMode PeerTrust = int32(1)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ServiceModel.Security.X509CertificateValidationMode</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The certificate is valid if it is in the trusted people store.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>