SSLCert is now private
This commit is contained in:
parent
2bb7360918
commit
e955699b21
@ -750,7 +750,7 @@ public class WebSocket : NSObject, NSStreamDelegate {
|
|||||||
import Foundation
|
import Foundation
|
||||||
import Security
|
import Security
|
||||||
|
|
||||||
public class SSLCert {
|
private class SSLCert {
|
||||||
var certData: NSData?
|
var certData: NSData?
|
||||||
var key: SecKeyRef?
|
var key: SecKeyRef?
|
||||||
|
|
||||||
@ -761,7 +761,7 @@ public class SSLCert {
|
|||||||
|
|
||||||
:returns: a representation security object to be used with
|
:returns: a representation security object to be used with
|
||||||
*/
|
*/
|
||||||
public init(data: NSData) {
|
init(data: NSData) {
|
||||||
self.certData = data
|
self.certData = data
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -772,7 +772,7 @@ public class SSLCert {
|
|||||||
|
|
||||||
:returns: a representation security object to be used with
|
:returns: a representation security object to be used with
|
||||||
*/
|
*/
|
||||||
public init(key: SecKeyRef) {
|
init(key: SecKeyRef) {
|
||||||
self.key = key
|
self.key = key
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user