Initializerorlandos-nl.citadel 0.8.0Citadel
init(ourRole:previousSessionIdentifier:)
DiffieHellmanGroup14Sha256.swift:27init(ourRole: SSHConnectionRole, previousSessionIdentifier: ByteBuffer?)
Other members in extension
Type members
static let keyExchangeAlgorithmNames: [Substring]
static let keyExchangeInitMessageId: UInt8
static let keyExchangeReplyMessageId: UInt8
static var ourKey: Insecure.RSA.PrivateKey?
Instance members
let ourKey: Insecure.RSA.PrivateKey
func completeKeyExchangeServerSide(clientKeyExchangeMessage: ByteBuffer, serverHostKey: NIOSSHPrivateKey, initialExchangeBytes: inout ByteBuffer, allocator: ByteBufferAllocator, expectedKeySizes: ExpectedKeySizes
) throws -> (KeyExchangeResult, NIOSSHKeyExchangeServerReply) func initiateKeyExchangeClientSide(allocator: ByteBufferAllocator
) -> ByteBuffer func receiveServerKeyExchangePayload(serverKeyExchangeMessage: NIOSSHKeyExchangeServerReply, initialExchangeBytes: inout ByteBuffer, allocator: ByteBufferAllocator, expectedKeySizes: ExpectedKeySizes
) throws -> KeyExchangeResult