RawSession
public protocol RawSession
Undocumented
-
Undocumented
Declaration
Swift
var authenticated: Bool { get }
-
Undocumented
Declaration
Swift
var blocking: Bool { get set }
-
Undocumented
Declaration
Swift
var banner: String? { get }
-
Undocumented
Declaration
Swift
var timeout: Int { get set }
-
Undocumented
Declaration
Swift
func setBanner(_ banner: String) throws
-
Undocumented
Declaration
Swift
func handshake(_ socket: CFSocket) throws
-
Undocumented
Declaration
Swift
func fingerprint(_ hashType: FingerprintHashType) -> String?
-
Undocumented
Declaration
Swift
func authenticationList(_ username: String) throws -> [String]
-
Undocumented
Declaration
Swift
func authenticateByPassword(_ username: String, password: String) throws
-
Undocumented
Declaration
Swift
func authenticateByKeyboardInteractive(_ username: String, callback: @escaping ((String) -> String)) throws
-
Undocumented
Declaration
Swift
func authenticateByPublicKeyFromFile(_ username: String, password: String, publicKey: String?, privateKey: String) throws
-
Undocumented
Declaration
Swift
func authenticateByPublicKeyFromMemory(_ username: String, password: String, publicKey: Data?, privateKey: Data) throws
-
Undocumented
Declaration
Swift
func disconnect() throws