Initializerswift-nio-ssl 2.29.0NIOSSL
init(hint:clientIdentity:maxPSKLength:)
Constructs a PSKServerContext
.
init(hint: String?, clientIdentity: String, maxPSKLength: Int)
Parameters
- hint
Optional identity hint provided to the client.
- clientIdentity
Client identity received from the client.
- maxPSKLength
Maximum possible length of the Pre Shared Key.
Other members in extension
Instance members
let clientIdentity: String
Identity provided by the client to the server.
let hint: String?
Optional identity hint provided to the client by the server.
let maxPSKLength: Int
Maximum length of the returned PSK.