Edit

Share via


SecTrustResult Enum

Definition

Result code for SecTrust.Evaluate

public enum SecTrustResult
type SecTrustResult = 
Inheritance
SecTrustResult

Fields

Name Value Description
Invalid 0

The supplied data cannot be used to determine if the certificate can be trusted.

Proceed 1

The certificate is trusted and the system is telling you to proceed with its intended usage.

Confirm 2

Developers should not use this deprecated field.

Deny 3

Trust for this certificate is being denied.

Unspecified 4

The certificate is trusted and the default system action should be executed. In general it means it's trusted and you can go on.

RecoverableTrustFailure 5

Not enough information is available to trust this certificate. If extra information is supplied then it could be trusted (or not).

FatalTrustFailure 6

The certificate could not be trace back to a trusted root.

ResultOtherError 7

An error occured while trying to determine the certificate trust.

Remarks

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

Applies to