docs/Classes/RevocationTrustEvaluator/Options.html
public struct Options : OptionSet, Sendable
Represents the options to be use when evaluating the status of a certificate. Only Revocation Policy Constants are valid, and can be found in Apple’s documentation.
`
crl
`
Perform revocation checking using the CRL (Certification Revocation List) method.
Swift
public static let crl: RevocationTrustEvaluator.Options
`
networkAccessDisabled
`
Consult only locally cached replies; do not use network access.
Swift
public static let networkAccessDisabled: RevocationTrustEvaluator.Options
`
ocsp
`
Perform revocation checking using OCSP (Online Certificate Status Protocol).
Swift
public static let ocsp: RevocationTrustEvaluator.Options
`
preferCRL
`
Prefer CRL revocation checking over OCSP; by default, OCSP is preferred.
Swift
public static let preferCRL: RevocationTrustEvaluator.Options
`
requirePositiveResponse
`
Require a positive response to pass the policy. If the flag is not set, revocation checking is done on a “best attempt” basis, where failure to reach the server is not considered fatal.
Swift
public static let requirePositiveResponse: RevocationTrustEvaluator.Options
`
any
`
Perform either OCSP or CRL checking. The checking is performed according to the method(s) specified in the certificate and the value of preferCRL.
Swift
public static let any: RevocationTrustEvaluator.Options
`
rawValue
`
The raw value of the option.
Swift
public let rawValue: CFOptionFlags
`
init(rawValue:)
`
Creates an Options value with the given CFOptionFlags.
Swift
public init(rawValue: CFOptionFlags)
| rawValue |
The CFOptionFlags value to initialize with.
|