# 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_default_passwd_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: SSL_CTX_set_default_passwd_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: SSL_CTX_set_default_passwd_cb.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: SSL_CTX_set_default_passwd_cb.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_DEFAULT_PASSWD_CB 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SSL_CTX_SET_DEFAULT_PASSWD_CB" 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_default_passwd_cb, SSL_CTX_set_default_passwd_cb_userdata, " "SSL_CTX_get_default_passwd_cb, SSL_CTX_get_default_passwd_cb_userdata, " "SSL_set_default_passwd_cb, SSL_set_default_passwd_cb_userdata, " "SSL_get_default_passwd_cb, SSL_get_default_passwd_cb_userdata - set or get " "passwd callback for encrypted PEM file handling" 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" "\\& void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);\n" "\\& void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);\n" "\\& pem_password_cb *SSL_CTX_get_default_passwd_cb(SSL_CTX *ctx);\n" "\\& void *SSL_CTX_get_default_passwd_cb_userdata(SSL_CTX *ctx);\n" "\\&\n" "\\& void SSL_set_default_passwd_cb(SSL *s, pem_password_cb *cb);\n" "\\& void SSL_set_default_passwd_cb_userdata(SSL *s, void *u);\n" "\\& pem_password_cb *SSL_get_default_passwd_cb(SSL *s);\n" "\\& void *SSL_get_default_passwd_cb_userdata(SSL *s);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the default password callback " "called when loading/storing a PEM certificate with encryption." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets a pointer to userdata, " "B, which will be provided to the password callback on invocation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns a function pointer to the " "password callback currently set in B. If no callback was explicitly " "set, the NULL pointer is returned." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns a pointer to the " "userdata currently set in B. If no userdata was explicitly set, the " "NULL pointer is returned." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, " "\\&B and " "B perform the same function as their " "SSL_CTX counterparts, but using an SSL object." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The password callback, which must be provided by the application, hands back " "the password to be used during decryption. On invocation a pointer to " "userdata is provided. The function must store the password into the provided " "buffer \\&B which is of size B. The actual length of the password " "must be returned to the calling function. B indicates whether the " "callback is used for reading/decryption (rwflag=0) or writing/encryption " "(rwflag=1). For more details, see B\\|(3)." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When loading or storing private keys, a password might be supplied to " "protect the private key. The way this password can be supplied may depend on " "the application. If only one private key is handled, it can be practical to " "have the callback handle the password dialog interactively. If several keys " "have to be handled, it can be practical to ask for the password once, then " "keep it in memory and use it several times. In the last case, the password " "could be stored into the userdata storage and the callback only returns the " "password already stored." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When asking for the password interactively, the callback can use " "\\&B to check, whether an item shall be encrypted (rwflag=1). In " "this case the password dialog may ask for the same password twice for " "comparison in order to catch typos, that would make decryption impossible." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Other items in PEM formatting (certificates) can also be encrypted, it is " "however not usual, as certificate information is considered public." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "These functions do not provide diagnostic information." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux msgid "" "The following example returns the password provided as userdata to the " "calling function. The password is considered to be a \\*(Aq\\e0\\*(Aq " "terminated string. If the password does not fit into the buffer, the " "password is truncated." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& int my_cb(char *buf, int size, int rwflag, void *u)\n" "\\& {\n" "\\& strncpy(buf, (char *)u, size);\n" "\\& buf[size - 1] = \\*(Aq\\e0\\*(Aq;\n" "\\& return strlen(buf);\n" "\\& }\n" 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)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, " "B, " "\\&B and " "B were added in OpenSSL 1.1.0." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2000-2019 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_DEFAULT_PASSWD_CB 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "The following example returns the password provided as userdata to the " "calling function. The password is considered to be a '\\e0' terminated " "string. If the password does not fit into the buffer, the password is " "truncated." msgstr ""