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 : [ Data ] ? //the certificates
58- var pubKeys : [ SecKey ] ? //the public keys
58+ @ nonobjc var pubKeys : [ SecKey ] ? //the public keys
5959 var usePublicKeys = false //use public keys or certificate validation?
6060
6161 /**
@@ -239,7 +239,7 @@ public class SSLSecurity : NSObject {
239239
240240 - returns: the public keys from the certifcate chain for the trust
241241 */
242- func publicKeyChain( _ trust: SecTrust ) -> [ SecKey ] {
242+ @ nonobjc func publicKeyChain( _ trust: SecTrust ) -> [ SecKey ] {
243243 let policy = SecPolicyCreateBasicX509 ( )
244244 let keys = ( 0 ..< SecTrustGetCertificateCount ( trust) ) . reduce ( [ SecKey] ( ) ) { ( keys: [ SecKey ] , index: Int ) -> [ SecKey ] in
245245 var keys = keys
You can’t perform that action at this time.
0 commit comments