![]() |
API参考
|
PskInfo is used for PSK negotiation and stores identity and psk during negotiation 更多...
#include <hs_ctx.h>

Public 属性 | |
| HITLS_KeyExchAlgo | keyExchAlgo |
| union { | |
| EcdhParam ecdh | |
| DhParam dh | |
| RsaParam rsa | |
| EccParam ecc | |
| KeyShareParam share | |
| } | keyExchParam |
| HITLS_CRYPT_Key * | key |
| HITLS_CRYPT_Key * | secondKey |
| uint8_t * | peerPubkey |
| uint32_t | pubKeyLen |
PskInfo is used for PSK negotiation and stores identity and psk during negotiation