Instance Methodorlandos-nl.citadel 0.8.0Citadel
initiateKeyExchangeClientSide(allocator:)
DiffieHellmanGroup14Sha1.swift:33func initiateKeyExchangeClientSide(allocator: ByteBufferAllocator) -> ByteBuffer
Other members in extension
Type members
init(ourRole: SSHConnectionRole, previousSessionIdentifier: ByteBuffer?
) 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 receiveServerKeyExchangePayload(serverKeyExchangeMessage: NIOSSHKeyExchangeServerReply, initialExchangeBytes: inout ByteBuffer, allocator: ByteBufferAllocator, expectedKeySizes: ExpectedKeySizes
) throws -> KeyExchangeResult