1SSL_GET_PSK_IDENTITY(3ossl)         OpenSSL        SSL_GET_PSK_IDENTITY(3ossl)
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

SEE ALSO

31       ssl(7)
32
34       Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
35
36       Licensed under the Apache License 2.0 (the "License").  You may not use
37       this file except in compliance with the License.  You can obtain a copy
38       in the file LICENSE in the source distribution or at
39       <https://www.openssl.org/source/license.html>.
40
41
42
433.0.9                             2023-07-27       SSL_GET_PSK_IDENTITY(3ossl)
Impressum