Instance Methodswift-certificates 1.8.0X509
makeCertificateExtension
BasicConstraints.swift:97- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
func makeCertificateExtension() throws -> Certificate.Extension
func makeCertificateExtension() throws -> Certificate.Extension
s4X50916BasicConstraintsO24makeCertificateExtensionAA0E0V0F0VyKF
What are these?699Z7
import X509
A library for working with X.509 certificates.
enum BasicConstraints
Identifies whether the subject of the certificate is a CA and the maximum verification depth of valid certificate paths that include this certificate.
struct Certificate
struct Extension
A general-purpose representation of a specific X.509 extension.
init(_ ext: Certificate.Extension) throws
Create a new BasicConstraints
object by unwrapping a Extension
.
var debugDescription: String { get }
var description: String { get }