1SSL_GET_SERVER_TMP_KEY(3)           OpenSSL          SSL_GET_SERVER_TMP_KEY(3)
2
3
4

NAME

6       SSL_get_server_tmp_key - get information about the server's temporary
7       key used during a handshake
8

SYNOPSIS

10        #include <openssl/ssl.h>
11
12        long SSL_get_server_tmp_key(SSL *ssl, EVP_PKEY **key);
13

DESCRIPTION

15       SSL_get_server_tmp_key() returns the temporary key provided by the
16       server and used during key exchange. For example, if ECDHE is in use,
17       then this represents the server's public ECDHE key. On success a
18       pointer to the key is stored in *key. It is the caller's responsibility
19       to free this key after use using EVP_PKEY_free(3). This function may
20       only be called by the client.
21

RETURN VALUES

23       SSL_get_server_tmp_key() returns 1 on success or 0 otherwise.
24

NOTES

26       This function is implemented as a macro.
27

SEE ALSO

29       ssl(7), EVP_PKEY_free(3)
30
32       Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
33
34       Licensed under the OpenSSL license (the "License").  You may not use
35       this file except in compliance with the License.  You can obtain a copy
36       in the file LICENSE in the source distribution or at
37       <https://www.openssl.org/source/license.html>.
38
39
40
411.1.1                             2018-09-11         SSL_GET_SERVER_TMP_KEY(3)
Impressum