Latest 2.0.1
Homepage https://github.com/svdo/swift-SelfSignedCert
License MIT
Platforms ios 9.0
Dependencies IDZSwiftCommonCrypto, SwiftBytes, SecurityExtensions
Authors

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.

Latest podspec

{
    "name": "SelfSignedCert",
    "version": "2.0.1",
    "summary": "A framework for iOS that allows creating self-signed certificates, implemented in Swift.",
    "description": "On iOS, you cannot simply create self-signed certificates.nYou could try and pull out OpenSSL, but that will turn intona nightmare very quickly. This library provides functionalitynto create self-signed certificates in Swift. DISCLAIMER: Inam no security expert. This library has not been audited bynone. I just ported a part of another library, copying manynof the unit tests in there, but I don't know if they were allncorrect... Use at your own risk! By the way: if you are ansecurity expert and want to audit this library, that wouldnearn you LOTS and LOTS of gratitude! Please contact me.",
    "homepage": "https://github.com/svdo/swift-SelfSignedCert",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Stefan van den Oord": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/svdo/swift-SelfSignedCert.git",
        "tag": "2.0.1"
    },
    "source_files": "SelfSignedCert/**/*.swift",
    "dependencies": {
        "IDZSwiftCommonCrypto": [
            "~> 0.9"
        ],
        "SwiftBytes": [
            "~> 0.5"
        ],
        "SecurityExtensions": [
            "~> 3.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This