Structureswift-certificates 1.8.0X509
OCSPVerifierPolicy
OCSPPolicy.swift:188- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
struct OCSPVerifierPolicy<Requester> where Requester : OCSPRequester
struct OCSPVerifierPolicy<Requester> where Requester : OCSPRequester
import X509
A library for working with X.509 certificates.
protocol OCSPRequester : Sendable
struct RFC5280Policy
A VerifierPolicy
that implements the core chain verifying policies from RFC 5280.
protocol VerifierPolicy
A VerifierPolicy
implements a series of checks on an UnverifiedCertificateChain
in order to determine whether that chain should be trusted.
struct ServerIdentityPolicy
A VerifierPolicy
that validates that the leaf certificate is authoritative for a given hostname or IP address.
init(failureMode: OCSPFailureMode, requester: Requester, validationTime: Date)
let verifyingCriticalExtensions: [ASN1ObjectIdentifier]
mutating func chainMeetsPolicyRequirements(chain: UnverifiedCertificateChain) async -> PolicyEvaluationResult