Instance Methodswift-certificates 1.8.0X509
append(contentsOf:)
CertificateStore.swift:48- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
mutating func append(contentsOf certificates: some Sequence<Certificate>)
mutating func append(contentsOf certificates: some Sequence<Certificate>)
s4X50916CertificateStoreV6append10contentsOfyx_tSTRzAA0B0V7ElementRtzlF
What are these?7D2HT
import X509
A library for working with X.509 certificates.
struct CertificateStore
A collection of Certificate
objects for use in a verifier.
protocol Sequence<Element>
A type that provides sequential, iterated access to its elements.
struct Certificate
init()
init(_ certificates: some Sequence<Certificate>)
static let systemTrustRoots: CertificateStore
A CertificateStore
that includes all root Certificate Authorities (CAs) that are installed in the systems trust store.
static func loadTrustRoots(at searchPaths: [String]) throws -> [DistinguishedName : [Certificate]]
mutating func append(_ certificate: Certificate)
func appending(_ certificate: Certificate) -> CertificateStore
func appending(contentsOf certificates: some Sequence<Certificate>) -> CertificateStore