1SSL_GET_PSK_IDENTITY(3)             OpenSSL            SSL_GET_PSK_IDENTITY(3)
2
3
4

NAME

6       SSL_get_psk_identity, SSL_get_psk_identity_hint - get PSK client
7       identity and hint
8

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUES

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
31       Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
32
33       Licensed under the OpenSSL license (the "License").  You may not use
34       this file except in compliance with the License.  You can obtain a copy
35       in the file LICENSE in the source distribution or at
36       <https://www.openssl.org/source/license.html>.
37
38
39
401.1.1g                            2020-04-23           SSL_GET_PSK_IDENTITY(3)
Impressum