Static Methodswift-certificates 1.8.0X509
buildPartialBlock(first:)
OneOfPolicies.swift:106- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
static func buildPartialBlock<Policy>(first: Policy) -> Policy where Policy : VerifierPolicy
static func buildPartialBlock<Policy>(first: Policy) -> Policy where Policy : VerifierPolicy
s4X50918OneOfPolicyBuilderV17buildPartialBlock5firstxx_tAA08VerifierD0RzlFZ
What are these?26N5S
import X509
A library for working with X.509 certificates.
@resultBuilder struct OneOfPolicyBuilder
Provides a result-builder style DSL for constructing a VerifierPolicy
in which one of the specified policies must match.
protocol VerifierPolicy
A VerifierPolicy
implements a series of checks on an UnverifiedCertificateChain
in order to determine whether that chain should be trusted.
static func buildBlock() -> some VerifierPolicy
static func buildEither<First, Second>(first component: First) -> PolicyBuilder._Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
static func buildEither<First, Second>(second component: Second) -> PolicyBuilder._Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
static func buildLimitedAvailability<Policy>(_ component: Policy) -> Policy where Policy : VerifierPolicy
static func buildOptional(_ component: (some VerifierPolicy)?) -> some VerifierPolicy
static func buildPartialBlock(accumulated: some VerifierPolicy, next: some VerifierPolicy) -> some VerifierPolicy