Static Methodswift-certificates 1.8.0X509
buildExpression(_:)
DNBuilder.swift:35static func buildExpression<Extension>(_ expression: Extension) -> Result<DistinguishedName, any Error> where Extension : RelativeDistinguishedNameConvertible
static func buildExpression<Extension>(_ expression: Extension) -> Result<DistinguishedName, any Error> where Extension : RelativeDistinguishedNameConvertible
s4X50924DistinguishedNameBuilderV15buildExpressionys6ResultOyAA0bC0Vs5Error_pGxAA08RelativebC11ConvertibleRzlFZ
What are these?35L3Z
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.
protocol RelativeDistinguishedNameConvertible
static func buildArray(_ components: [Result<DistinguishedName, any Error>]) -> Result<DistinguishedName, any Error>
static func buildBlock(_ 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 buildLimitedAvailability(_ component: Result<DistinguishedName, any Error>) -> Result<DistinguishedName, any Error>
static func buildOptional(_ component: Result<DistinguishedName, any Error>?) -> Result<DistinguishedName, any Error>