Static Methodswift-certificates 1.8.0X509
buildPartialBlock(first:)
PolicyBuilder.swift:98- 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
s4X50913PolicyBuilderV17buildPartialBlock5firstxx_tAA08VerifierB0RzlFZ
What are these?69W4J
import X509
A library for working with X.509 certificates.
@resultBuilder struct PolicyBuilder
Provides a result-builder style DSL for constructing a VerifierPolicy
.
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) -> _Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
static func buildEither<First, Second>(second component: Second) -> _Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
static func buildFinalResult(_ component: AnyPolicy) -> AnyPolicy
static func buildFinalResult(_ component: some VerifierPolicy) -> some 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
struct _Either<First, Second> where First : VerifierPolicy, Second : VerifierPolicy
implementation detail of PolicyBuilder
which should not be used outside the implementation of PolicyBuilder
.