SelfSignedCert 3.0.0

SelfSignedCert 3.0.0

LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2020
SPMSupports SPM

Maintained by Stefan van den Oord.

Depends on:
IDZSwiftCommonCrypto~> 0.13
SwiftBytes~> 0.6
SecurityExtensions~> 4.0

  • By
  • Stefan van den Oord


Swift Version 3 CocoaPods Version Badge License Badge Supported Platforms Badge Carthage compatible

This project provides a Swift (3) framework that allows you to create self-signed certificates on iOS, using Swift. Unfortunately, Apple does not provide this functionality in their security frameworks. Another way of doing it is using OpenSSL, but (especially when using Swift) that is downright horrible.

The code in this library is a (partial) port of MYCrypto. That project contains unmaintained Objective-C code, which was difficult to use as a CocoaPod and especially also when using Swift. So I took that part that I needed and implemented that in Swift.

Please note that I'm not a security expert. This framework has not been reviewed by a security expert. Until it has, please use with caution! And in any case (reviewed or not), using it is always at your own risk of course.

If you are a security expert and you want to review this framework, please contact me.