# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # #-#-#-#-# archlinux: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: SSL_CTX_set_tmp_dh_callback.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "" # #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "SSL_CTX_SET_TMP_DH_CALLBACK 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SSL_CTX_SET_TMP_DH_CALLBACK" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "SSL_CTX_set_dh_auto, SSL_set_dh_auto, SSL_CTX_set0_tmp_dh_pkey, " "SSL_set0_tmp_dh_pkey, SSL_CTX_set_tmp_dh_callback, SSL_CTX_set_tmp_dh, " "SSL_set_tmp_dh_callback, SSL_set_tmp_dh \\&- handle DH keys for ephemeral " "key exchange" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/ssl.hE\n" "\\&\n" "\\& long SSL_CTX_set_dh_auto(SSL_CTX *ctx, int onoff);\n" "\\& long SSL_set_dh_auto(SSL *s, int onoff);\n" "\\& int SSL_CTX_set0_tmp_dh_pkey(SSL_CTX *ctx, EVP_PKEY *dhpkey);\n" "\\& int SSL_set0_tmp_dh_pkey(SSL *s, EVP_PKEY *dhpkey);\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The following functions have been deprecated since OpenSSL 3.0, and can be " "hidden entirely by defining B with a suitable version " "value, see B\\|(7):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,\n" "\\& DH *(*tmp_dh_callback)(SSL *ssl, int is_export,\n" "\\& int keylength));\n" "\\& long SSL_CTX_set_tmp_dh(SSL_CTX *ctx, DH *dh);\n" "\\&\n" "\\& void SSL_set_tmp_dh_callback(SSL *ctx,\n" "\\& DH *(*tmp_dh_callback)(SSL *ssl, int is_export,\n" "\\& int keylength));\n" "\\& long SSL_set_tmp_dh(SSL *ssl, DH *dh);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The functions described on this page are relevant for servers only." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Some ciphersuites may use ephemeral Diffie-Hellman (DH) key exchange. In " "these cases, the session data is negotiated using the ephemeral/temporary DH " "key and the key supplied and certified by the certificate chain is only used " "for signing. Anonymous ciphers (without a permanent server key) also use " "ephemeral DH keys." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Using ephemeral DH key exchange yields forward secrecy as the connection can " "only be decrypted when the DH key is known. By generating a temporary DH key " "inside the server application that is lost when the application is left, it " "becomes impossible for an attacker to decrypt past sessions, even if they " "get hold of the normal (certified) key, as this key was only used for " "signing." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "In order to perform a DH key exchange the server must use a DH group (DH " "parameters) and generate a DH key. The server will always generate a new DH " "key during the negotiation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "As generating DH parameters is extremely time consuming, an application " "should not generate the parameters on the fly. DH parameters can be reused, " "as the actual key is newly generated during the negotiation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Typically applications should use well known DH parameters that have built-" "in support in OpenSSL. The macros B and " "B configure OpenSSL to use the default built-in DH " "parameters for the B and B objects respectively. Passing a " "value of 2 or 1 in the I parameter switches it on. If the I " "parameter is set to 2, it will force the DH key size to 1024 if the " "B or B security level \\&B\\|(3) " "is 0 or 1. Passing a value of 0 switches it off. The default setting is off." msgstr "" #. type: Plain text #: archlinux msgid "" "If \"auto\" DH parameters are switched on then the parameters will be " "selected to be consistent with the size of the key associated with the " "server\\*(Aqs certificate. If there is no certificate (e.g. for PSK " "ciphersuites), then it it will be consistent with the size of the negotiated " "symmetric cipher key." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Applications may supply their own DH parameters instead of using the built-" "in values. This approach is discouraged and applications should in " "preference use the built-in parameter support described above. Applications " "wishing to supply their own DH parameters should call " "B or \\&B to supply the " "parameters for the B or B respectively. The parameters should " "be supplied in the I argument as an B containing DH " "parameters. Ownership of the I value is passed to the B or " "B object as a result of this call, and so the caller should not free it " "if the function call is successful." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The deprecated macros B and B do the " "same thing as B and B " "except that the DH parameters are supplied in a B object instead in the " "I argument, and ownership of the B object is retained by the " "application. Applications should use \"auto\" parameters instead, or call " "B or \\&B as appropriate." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "An application may instead specify the DH parameters via a callback function " "using the functions B or " "B to set the callback for the B or " "B object respectively. These functions are deprecated. Applications " "should instead use \"auto\" parameters, or specify the parameters via " "B or B as appropriate." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The callback will be invoked during a connection when DH parameters are " "required. The B object for the current connection is supplied as an " "argument. Previous versions of OpenSSL used the B and " "B arguments to control parameter generation for export and non-" "export cipher suites. Modern OpenSSL does not support export ciphersuites " "and so these arguments are unused and can be ignored by the callback. The " "callback should return the parameters to be used in a DH object. Ownership " "of the DH object is retained by the application and should later be freed." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "All of these functions/macros return 1 for success or 0 on error." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(7), B\\|(3), " "\\&B\\|(3), \\&B\\|(1), B\\|(1)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2001-2025 The OpenSSL Project Authors. All Rights Reserved." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://" "www.openssl.org/source/license.htmlE." msgstr "" #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "SSL_CTX_SET_TMP_DH_CALLBACK 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If \"auto\" DH parameters are switched on then the parameters will be " "selected to be consistent with the size of the key associated with the " "server's certificate. If there is no certificate (e.g. for PSK " "ciphersuites), then it it will be consistent with the size of the negotiated " "symmetric cipher key." msgstr ""