svdo/swift-selfsignedcert
This repo is going to be archived soon because I cannot maintain it anymore.
Usage
guard let identity = SecIdentity.create(
subjectCommonName: "common name",
subjectEmailAddress: "email@example.com") else {
return
}
This will give you a self-signed SecIdentity? that is already stored in the keychain. See also [SecIdentity+SelfSigned.swift][1] for functions to retrieve previously created identities from the keychain.
Package Metadata
Repository: svdo/swift-selfsignedcert
Default branch: master
README: README.md