File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class SSLSecurity : NSObject {
55
55
56
56
var isReady = false //is the key processing done?
57
57
var certificates : [ NSData ] ? //the certificates
58
- private var pubKeys : [ SecKeyRef ] ? //the public keys
58
+ @ nonobjc var pubKeys : [ SecKeyRef ] ? //the public keys
59
59
var usePublicKeys = false //use public keys or certificate validation?
60
60
61
61
/**
@@ -241,7 +241,7 @@ public class SSLSecurity : NSObject {
241
241
242
242
- returns: the public keys from the certifcate chain for the trust
243
243
*/
244
- private func publicKeyChainForTrust( trust: SecTrustRef ) -> [ SecKeyRef ] {
244
+ @ nonobjc func publicKeyChainForTrust( trust: SecTrustRef ) -> [ SecKeyRef ] {
245
245
let policy = SecPolicyCreateBasicX509 ( )
246
246
let keys = ( 0 ..< SecTrustGetCertificateCount ( trust) ) . reduce ( [ SecKeyRef] ( ) ) { ( keys: [ SecKeyRef ] , index: Int ) -> [ SecKeyRef ] in
247
247
var keys = keys
You can’t perform that action at this time.
0 commit comments