xrtSshAuthKeyboardWrite

使用空 language tag 写入 ssh-connection keyboard-interactive 请求。

xsshcode xrtSshAuthKeyboardWrite( xsshwriter* pWriter, xstrview User, xstrview Submethods );
参数说明
xsshwriter* pWriter写入器
xstrview User用户名
xstrview SubmethodsSubmethods 参数
返回:使用空 language tag 写入 ssh-connection keyboard-interactive 请求。

示例已编译验证

/* 使用空 language tag 写入 ssh-connection keyboard-interactive 请求。 */
result = xrtSshAuthKeyboardWrite(pWriter, User, Submethods);

xrtSshAuthKeyboardWriteLanguage

写入带显式 language tag 的 keyboard-interactive 请求。

xsshcode xrtSshAuthKeyboardWriteLanguage( xsshwriter* pWriter, xstrview User, xstrview Language, xstrview Submethods );
参数说明
xsshwriter* pWriter写入器
xstrview User用户名
xstrview LanguageLanguage 参数
xstrview SubmethodsSubmethods 参数
返回:写入带显式 language tag 的 keyboard-interactive 请求。

示例已编译验证

/* 写入带显式 language tag 的 keyboard-interactive 请求。 */
result = xrtSshAuthKeyboardWriteLanguage(pWriter, User, Language, Submethods);

xrtSshAuthKeyboardRead

严格读取 keyboard-interactive 请求。

xsshcode xrtSshAuthKeyboardRead( xbytesview Payload, xsshauthkeyboard* pKeyboard );
参数说明
xbytesview Payload负载
xsshauthkeyboard* pKeyboardKeyboard 参数
返回:严格读取 keyboard-interactive 请求。

示例已编译验证

/* 严格读取 keyboard-interactive 请求。 */
result = xrtSshAuthKeyboardRead(Payload, pKeyboard);

xrtSshAuthKeyboardChallengeWrite

写入、验证并迭代服务端交互挑战。

xsshcode xrtSshAuthKeyboardChallengeWrite( xsshwriter* pWriter, xstrview Name, xstrview Instruction, xstrview Language, const xsshauthkeyboardprompt* pPrompts, size_t iCount );
参数说明
xsshwriter* pWriter写入器
xstrview Name名称(xstrview)
xstrview InstructionInstructon 参数
xstrview LanguageLanguage 参数
const xsshauthkeyboardprompt* pPromptsPromts 参数
size_t iCount数量
返回:写入、验证并迭代服务端交互挑战。

示例已编译验证

/* 写入、验证并迭代服务端交互挑战。 */
result = xrtSshAuthKeyboardChallengeWrite(pWriter, Name, Instruction, Language, pPrompts, iCount);

xrtSshAuthKeyboardChallengeRead

XRT_API xsshcode xrtSshAuthKeyboardChallengeRead( xbytesview Payload, xsshauthkeyboardchallenge* pChallenge );

;
返回:XRT_API xsshcode xrtSshAuthKeyboardChallengeRead( xbytesview Payload, xsshauthkeyboardchallenge* pChallenge );

示例已编译验证

/* XRT_API xsshcode xrtSshAuthKeyboardChallengeRead( xbytesview Payload, xsshauthkeyboardchallenge* pChallenge ); */
result = xrtSshAuthKeyboardChallengeRead();

xrtSshAuthKeyboardChallengeNext

XRT_API bool xrtSshAuthKeyboardChallengeNext( xsshauthkeyboardchallenge* pChallenge, xsshauthkeyboardprompt* pPrompt );

;
返回:XRT_API bool xrtSshAuthKeyboardChallengeNext( xsshauthkeyboardchallenge* pChallenge, xsshauthkeyboardprompt* pPrompt );

示例已编译验证

/* XRT_API bool xrtSshAuthKeyboardChallengeNext( xsshauthkeyboardchallenge* pChallenge, xsshauthkeyboardprompt* pPrompt ); */
result = xrtSshAuthKeyboardChallengeNext();

xrtSshAuthKeyboardResponseWrite

写入、验证并迭代客户端交互响应。

xsshcode xrtSshAuthKeyboardResponseWrite( xsshwriter* pWriter, const xstrview* pResponses, size_t iCount );
参数说明
xsshwriter* pWriter写入器
const xstrview* pResponsesResonses 参数
size_t iCount数量
返回:写入、验证并迭代客户端交互响应。

示例已编译验证

/* 写入、验证并迭代客户端交互响应。 */
result = xrtSshAuthKeyboardResponseWrite(pWriter, pResponses, iCount);

xrtSshAuthKeyboardResponseRead

XRT_API xsshcode xrtSshAuthKeyboardResponseRead( xbytesview Payload, xsshauthkeyboardresponses* pResponses );

;
返回:XRT_API xsshcode xrtSshAuthKeyboardResponseRead( xbytesview Payload, xsshauthkeyboardresponses* pResponses );

示例已编译验证

/* XRT_API xsshcode xrtSshAuthKeyboardResponseRead( xbytesview Payload, xsshauthkeyboardresponses* pResponses ); */
result = xrtSshAuthKeyboardResponseRead();

xrtSshAuthKeyboardResponseNext

XRT_API bool xrtSshAuthKeyboardResponseNext( xsshauthkeyboardresponses* pResponses, xstrview* pResponse );

;
返回:XRT_API bool xrtSshAuthKeyboardResponseNext( xsshauthkeyboardresponses* pResponses, xstrview* pResponse );

示例已编译验证

/* XRT_API bool xrtSshAuthKeyboardResponseNext( xsshauthkeyboardresponses* pResponses, xstrview* pResponse ); */
result = xrtSshAuthKeyboardResponseNext();