1SSL_get_psk_identity(3) OpenSSL SSL_get_psk_identity(3)
2
3
4
6 SSL_get_psk_identity, SSL_get_psk_identity_hint - get PSK client
7 identity and hint
8
10 #include <openssl/ssl.h>
11
12 const char *SSL_get_psk_identity_hint(const SSL *ssl);
13 const char *SSL_get_psk_identity(const SSL *ssl);
14
16 SSL_get_psk_identity_hint() is used to retrieve the PSK identity hint
17 used during the connection setup related to SSL object ssl. Similarly,
18 SSL_get_psk_identity() is used to retrieve the PSK identity used during
19 the connection setup.
20
22 If non-NULL, SSL_get_psk_identity_hint() returns the PSK identity hint
23 and SSL_get_psk_identity() returns the PSK identity. Both are
24 NULL-terminated. SSL_get_psk_identity_hint() may return NULL if no PSK
25 identity hint was used during the connection setup.
26
27 Note that the return value is valid only during the lifetime of the SSL
28 object ssl.
29
30
31
321.0.2o 2020-08-01 SSL_get_psk_identity(3)