We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d24c4 commit 21d242bCopy full SHA for 21d242b
Source/SSLSecurity.swift
@@ -241,7 +241,7 @@ public class SSLSecurity : NSObject {
241
242
- returns: the public keys from the certifcate chain for the trust
243
*/
244
- func publicKeyChainForTrust(trust: SecTrustRef) -> [SecKeyRef] {
+ private func publicKeyChainForTrust(trust: SecTrustRef) -> [SecKeyRef] {
245
let policy = SecPolicyCreateBasicX509()
246
let keys = (0..<SecTrustGetCertificateCount(trust)).reduce([SecKeyRef]()) { (keys: [SecKeyRef], index: Int) -> [SecKeyRef] in
247
var keys = keys
0 commit comments