Skip to content

Commit 51f8af9

Browse files
committed
Make constructor public to allow users create the keys however they want
1 parent 0feab70 commit 51f8af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Guardian/RSAKeyPair.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class RSAKeyPair {
4747
self.privateKey = privateKey
4848
}
4949

50-
convenience init(publicKeyTag: String, privateKeyTag: String) {
50+
public convenience init(publicKeyTag: String, privateKeyTag: String) {
5151
self.init(publicKey: RSAKeyPair.publicKey(withTag: publicKeyTag),
5252
privateKey: RSAKeyPair.privateKey(withTag: privateKeyTag))
5353
}

0 commit comments

Comments
 (0)