5 SSL_SESSION_get0_id_context - get the SSL ID context associated with a session
9 #include <openssl/ssl.h>
11 const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *s,
16 SSL_SESSION_get0_id_context() returns the ID context associated with
17 the SSL/TLS session B<s>. The length of the ID context is written to
18 B<*len> if B<len> is not NULL.
20 The value returned is a pointer to an object maintained within B<s> and
21 should not be released.
26 L<SSL_set_session_id_context(3)>
30 SSL_SESSION_get0_id_context() was first added to OpenSSL 1.1.0
34 Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
36 Licensed under the OpenSSL license (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 L<https://www.openssl.org/source/license.html>.