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