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 {
5555
5656 var isReady = false //is the key processing done?
5757 var certificates : [ NSData ] ? //the certificates
58- private var pubKeys : [ SecKeyRef ] ? //the public keys
58+ @ nonobjc var pubKeys : [ SecKeyRef ] ? //the public keys
5959 var usePublicKeys = false //use public keys or certificate validation?
6060
6161 /**
@@ -241,7 +241,7 @@ public class SSLSecurity : NSObject {
241241
242242 - returns: the public keys from the certifcate chain for the trust
243243 */
244- private func publicKeyChainForTrust( trust: SecTrustRef ) -> [ SecKeyRef ] {
244+ @ nonobjc func publicKeyChainForTrust( trust: SecTrustRef ) -> [ SecKeyRef ] {
245245 let policy = SecPolicyCreateBasicX509 ( )
246246 let keys = ( 0 ..< SecTrustGetCertificateCount ( trust) ) . reduce ( [ SecKeyRef] ( ) ) { ( keys: [ SecKeyRef ] , index: Int ) -> [ SecKeyRef ] in
247247 var keys = keys
You can’t perform that action at this time.
0 commit comments