Skip to content

Initializer

init(rootCertificates:)

Create a new X5CVerifier trusting rootCertificates.
init(rootCertificates: [Certificate]) throws

Parameters

rootCertificates

The root certificates to be trusted.

Discussion

Throws

invalidX5CChain(reason:) if no root certificates are provided.