Skip to content

Commit

Permalink
Make the initializers for creating EncryptedData and SignedData public.
Browse files Browse the repository at this point in the history
  • Loading branch information
billabt committed Feb 13, 2018
1 parent bc324c2 commit 4b337f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/CryptorRSA/CryptorRSA.swift
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ public class CryptorRSA {
///
/// - Returns: Newly initialized EncryptedData`.
///
internal init(with data: Data) {
public init(with data: Data) {

super.init(with: data, type: .encryptedType)
}
Expand All @@ -741,7 +741,7 @@ public class CryptorRSA {
///
/// - Returns: Newly initialized `RSAData`.
///
internal override init(withBase64 base64String: String) throws {
public override init(withBase64 base64String: String) throws {

try super.init(withBase64: base64String)
}
Expand All @@ -764,7 +764,7 @@ public class CryptorRSA {
///
/// - Returns: Newly initialized `SignedData`.
///
internal init(with data: Data) {
public init(with data: Data) {

super.init(with: data, type: .signedType)
}
Expand Down

0 comments on commit 4b337f1

Please sign in to comment.