SSL_export_keying_material (3)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
SSL_export_keying_material - obtain keying material for application useSYNOPSIS
#include <openssl/ssl.h> int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, const char *label, size_t llen, const unsigned char *context, size_t contextlen, int use_context);
DESCRIPTION
During the creation of aAn application may need to securely establish the context within which this keying material will be used. For example this may include identifiers for the application session, application algorithms or parameters, or the lifetime of the context. The context value is left to the application but must be the same on both sides of the communication.
For a given
An application specific label should be provided in the location pointed to by label and should be llen bytes long. Typically this will be a value from the
Note that this function is only defined for TLSv1.0 and above, and DTLSv1.0 and above. Attempting to use it in SSLv3 will result in an error.
RETURN VALUES
SSL_export_keying_material() returns 0 or -1 on failure or 1 on success.COPYRIGHT
Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.Licensed under the OpenSSL license (the ``License''). You may not use this file except in compliance with the License. You can obtain a copy in the file