xrtSshKexExchangeBegin
使用操作系统安全随机临时私钥开始本代 KEX,并在返回前清除临时副本。
xsshcode xrtSshKexExchangeBegin( xsshkexexchange* pExchange, xsshtransportcore* pCore, xbytesview ServerHostKey );
| 参数 | 说明 |
|---|---|
| xsshkexexchange* pExchange | 交换对象 |
| xsshtransportcore* pCore | 核心对象 |
| xbytesview ServerHostKey | ServerHostKey 参数 |
返回:使用操作系统安全随机临时私钥开始本代 KEX,并在返回前清除临时副本。
示例已编译验证
/* 使用操作系统安全随机临时私钥开始本代 KEX,并在返回前清除临时副本。 */ result = xrtSshKexExchangeBegin(pExchange, pCore, ServerHostKey);