-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from outfoxx/fix/pkcs8
Use standard encrypted PKCS#8 for `SecKeyPair` importing and export
- Loading branch information
Showing
18 changed files
with
877 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// Moved.swift | ||
// Shield | ||
// | ||
// Copyright © 2019 Outfox, inc. | ||
// | ||
// | ||
// Distributed under the MIT License, See LICENSE for details. | ||
// | ||
|
||
import ShieldX509 | ||
import PotentASN1 | ||
|
||
// The following types have been moved to ShieldX509 due to issues with circular references | ||
|
||
public typealias RSAPrivateKey = ShieldX509.RSAPrivateKey | ||
public typealias RSAPublicKey = ShieldX509.RSAPublicKey | ||
public typealias ECParameters = ShieldX509.ECParameters | ||
|
||
public extension Schemas { | ||
static let RSAPrivateKey = ShieldX509.Schemas.RSAPrivateKey | ||
static let RSAPrivateKeyOtherPrimeInfos = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfos | ||
static let RSAPrivateKeyOtherPrimeInfo = ShieldX509.Schemas.RSAPrivateKeyOtherPrimeInfo | ||
static let RSAPublicKey = ShieldX509.Schemas.RSAPublicKey | ||
static let ECParameters = ShieldX509.Schemas.ECParameters | ||
} |
Oops, something went wrong.