Static Methodswift-certificates 1.8.0X509
buildBlock(_:)
DNBuilder.swift:44static func buildBlock(_ components: Result<DistinguishedName, any Error>...) -> Result<DistinguishedName, any Error>
static func buildBlock(_ components: Result<DistinguishedName, any Error>...) -> Result<DistinguishedName, any Error>
s4X50924DistinguishedNameBuilderV10buildBlockys6ResultOyAA0bC0Vs5Error_pGAJd_tFZ
What are these?6KSSD
import X509
A library for working with X.509 certificates.
@resultBuilder struct DistinguishedNameBuilder
Provides a result-builder style DSL for constructing DistinguishedName
values.
@frozen enum Result<Success, Failure> where Failure : Error, Success : ~Copyable
A value that represents either a success or a failure, including an associated value in each case.
struct DistinguishedName
A distinguished name is a name that uniquely identifies a specific entity.
protocol Error : Sendable
A type representing an error value that can be thrown.
static func buildArray(_ components: [Result<DistinguishedName, any Error>]) -> Result<DistinguishedName, any Error>
static func buildEither(first component: Result<DistinguishedName, any Error>) -> Result<DistinguishedName, any Error>
static func buildEither(second component: Result<DistinguishedName, any Error>) -> Result<DistinguishedName, any Error>
static func buildExpression<Extension>(_ expression: Extension) -> Result<DistinguishedName, any Error> where Extension : RelativeDistinguishedNameConvertible
static func buildLimitedAvailability(_ component: Result<DistinguishedName, any Error>) -> Result<DistinguishedName, any Error>
static func buildOptional(_ component: Result<DistinguishedName, any Error>?) -> Result<DistinguishedName, any Error>