Instance Methodorlandos-nl.citadel 0.8.0Citadel
receiveServerKeyExchangePayload(serverKeyExchangeMessage:initialExchangeBytes:allocator:expectedKeySizes:)
DiffieHellmanGroup14Sha256.swift:74mutating func receiveServerKeyExchangePayload(serverKeyExchangeMessage: NIOSSHKeyExchangeServerReply, initialExchangeBytes: inout ByteBuffer, allocator: ByteBufferAllocator, expectedKeySizes: ExpectedKeySizes) throws -> KeyExchangeResult
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 initiateKeyExchangeClientSide(allocator: ByteBufferAllocator
) -> ByteBuffer