Mac Guides | Samples

MonoMac.Security.SecTrustResult Enumeration

Result code for SecTrust.Evaluate

Syntax

public enum SecTrustResult

Remarks

In general both Proceed and Unspecified means you can trust the certificate, other values means it should not be trusted.

Members

Member NameDescription
ConfirmA confirmation from the user should be required to accept this certificate as valid.
DenyTrust for this certificate is being denied.
FatalTrustFailureThe certificate could not be trace back to a trusted root.
InvalidThe supplied data cannot be used to determine if the certificate can be trusted.
ProceedThe certificate is trusted and the system is telling you to proceed with its intended usage.
RecoverableTrustFailureNot enough information is available to trust this certificate. If extra information is supplied then it could be trusted (or not).
ResultOtherErrorAn error occured while trying to determine the certificate trust.
UnspecifiedThe certificate is trusted and the default system action should be executed. In general it means it's trusted and you can go on.

Requirements

Namespace: MonoMac.Security
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Security.SecTrustResult are listed below.

See Also: Enum

Public Fields

ConfirmSecTrustResult. A confirmation from the user should be required to accept this certificate as valid.
DenySecTrustResult. Trust for this certificate is being denied.
FatalTrustFailureSecTrustResult. The certificate could not be trace back to a trusted root.
InvalidSecTrustResult. The supplied data cannot be used to determine if the certificate can be trusted.
ProceedSecTrustResult. The certificate is trusted and the system is telling you to proceed with its intended usage.
RecoverableTrustFailureSecTrustResult. Not enough information is available to trust this certificate. If extra information is supplied then it could be trusted (or not).
ResultOtherErrorSecTrustResult. An error occured while trying to determine the certificate trust.
UnspecifiedSecTrustResult. The certificate is trusted and the default system action should be executed. In general it means it's trusted and you can go on.