xrtSshSessionCoreKexBegin

使用操作系统安全随机临时私钥开始当前已经就绪的一代 KEX。

xsshcode xrtSshSessionCoreKexBegin( xsshsessioncore* pSession, xsshtransportcore* pCore, xbytesview ServerHostKey );
参数说明
xsshsessioncore* pSession会话对象
xsshtransportcore* pCore核心对象
xbytesview ServerHostKeyServerHostKey 参数
返回:使用操作系统安全随机临时私钥开始当前已经就绪的一代 KEX。

示例已编译验证

/* 使用操作系统安全随机临时私钥开始当前已经就绪的一代 KEX。 */
result = xrtSshSessionCoreKexBegin(pSession, pCore, ServerHostKey);