Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
207 lines (207 sloc) 9.46 KB
<Type Name="SecTrustResult" FullName="Security.SecTrustResult">
<TypeSignature Language="C#" Value="public enum SecTrustResult" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SecTrustResult extends System.Enum" />
<TypeSignature Language="DocId" Value="T:Security.SecTrustResult" />
<TypeSignature Language="F#" Value="type SecTrustResult = " />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Result code for SecTrust.Evaluate</summary>
<remarks>In general both Proceed and Unspecified means you can trust the certificate, other values means it should not be trusted.</remarks>
</Docs>
<Members>
<Member MemberName="Confirm">
<MemberSignature Language="C#" Value="Confirm" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult Confirm = int32(2)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.Confirm" />
<MemberSignature Language="F#" Value="Confirm = 2" Usage="Security.SecTrustResult.Confirm" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>Developers should not use this deprecated field. </summary>
</Docs>
</Member>
<Member MemberName="Deny">
<MemberSignature Language="C#" Value="Deny" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult Deny = int32(3)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.Deny" />
<MemberSignature Language="F#" Value="Deny = 3" Usage="Security.SecTrustResult.Deny" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>Trust for this certificate is being denied.</summary>
</Docs>
</Member>
<Member MemberName="FatalTrustFailure">
<MemberSignature Language="C#" Value="FatalTrustFailure" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult FatalTrustFailure = int32(6)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.FatalTrustFailure" />
<MemberSignature Language="F#" Value="FatalTrustFailure = 6" Usage="Security.SecTrustResult.FatalTrustFailure" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>6</MemberValue>
<Docs>
<summary>The certificate could not be trace back to a trusted root.</summary>
</Docs>
</Member>
<Member MemberName="Invalid">
<MemberSignature Language="C#" Value="Invalid" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult Invalid = int32(0)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.Invalid" />
<MemberSignature Language="F#" Value="Invalid = 0" Usage="Security.SecTrustResult.Invalid" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>The supplied data cannot be used to determine if the certificate can be trusted.</summary>
</Docs>
</Member>
<Member MemberName="Proceed">
<MemberSignature Language="C#" Value="Proceed" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult Proceed = int32(1)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.Proceed" />
<MemberSignature Language="F#" Value="Proceed = 1" Usage="Security.SecTrustResult.Proceed" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>The certificate is trusted and the system is telling you to proceed with its intended usage.</summary>
</Docs>
</Member>
<Member MemberName="RecoverableTrustFailure">
<MemberSignature Language="C#" Value="RecoverableTrustFailure" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult RecoverableTrustFailure = int32(5)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.RecoverableTrustFailure" />
<MemberSignature Language="F#" Value="RecoverableTrustFailure = 5" Usage="Security.SecTrustResult.RecoverableTrustFailure" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>5</MemberValue>
<Docs>
<summary>Not enough information is available to trust this certificate. If extra information is supplied then it could be trusted (or not).</summary>
</Docs>
</Member>
<Member MemberName="ResultOtherError">
<MemberSignature Language="C#" Value="ResultOtherError" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult ResultOtherError = int32(7)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.ResultOtherError" />
<MemberSignature Language="F#" Value="ResultOtherError = 7" Usage="Security.SecTrustResult.ResultOtherError" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>7</MemberValue>
<Docs>
<summary>An error occured while trying to determine the certificate trust.</summary>
</Docs>
</Member>
<Member MemberName="Unspecified">
<MemberSignature Language="C#" Value="Unspecified" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype Security.SecTrustResult Unspecified = int32(4)" />
<MemberSignature Language="DocId" Value="F:Security.SecTrustResult.Unspecified" />
<MemberSignature Language="F#" Value="Unspecified = 4" Usage="Security.SecTrustResult.Unspecified" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Security.SecTrustResult</ReturnType>
</ReturnValue>
<MemberValue>4</MemberValue>
<Docs>
<summary>The certificate is trusted and the default system action should be executed. In general it means it's trusted and you can go on.</summary>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.