.\" -*- coding: UTF-8 -*- .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .de IX .. .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .if n .ds AD l .\" .\" Required to disable full justification in groff 1.23.0. .\" ======================================================================== .\" .IX Titlu "BIO_GET_EX_NEW_INDEX 3ssl" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH BIO_GET_EX_NEW_INDEX 3ssl "5 august 2025" 3.5.2 OpenSSL .if n .ad l .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .nh .SH NUME BIO_get_ex_new_index, BIO_set_ex_data, BIO_get_ex_data, BIO_set_app_data, BIO_get_app_data, DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data, DSA_get_ex_new_index, DSA_set_ex_data, DSA_get_ex_data, EC_KEY_get_ex_new_index, EC_KEY_set_ex_data, EC_KEY_get_ex_data, ENGINE_get_ex_new_index, ENGINE_set_ex_data, ENGINE_get_ex_data, EVP_PKEY_get_ex_new_index, EVP_PKEY_set_ex_data, EVP_PKEY_get_ex_data, RSA_get_ex_new_index, RSA_set_ex_data, RSA_get_ex_data, RSA_set_app_data, RSA_get_app_data, SSL_get_ex_new_index, SSL_set_ex_data, SSL_get_ex_data, SSL_set_app_data, SSL_get_app_data, SSL_CTX_get_ex_new_index, SSL_CTX_set_ex_data, SSL_CTX_get_ex_data, SSL_CTX_set_app_data, SSL_CTX_get_app_data, SSL_SESSION_get_ex_new_index, SSL_SESSION_set_ex_data, SSL_SESSION_get_ex_data, SSL_SESSION_set_app_data, SSL_SESSION_get_app_data, UI_get_ex_new_index, UI_set_ex_data, UI_get_ex_data, UI_set_app_data, UI_get_app_data, X509_STORE_CTX_get_ex_new_index, X509_STORE_CTX_set_ex_data, X509_STORE_CTX_get_ex_data, X509_STORE_CTX_set_app_data, X509_STORE_CTX_get_app_data, X509_STORE_get_ex_new_index, X509_STORE_set_ex_data, X509_STORE_get_ex_data, X509_get_ex_new_index, X509_set_ex_data, X509_get_ex_data \&\- date specifice aplicației .SH SINOPSIS .IX Antet SINOPSIS .Vb 1 \& #include \& \& int TYPE_get_ex_new_index(long argl, void *argp, \& CRYPTO_EX_new *new_func, \& CRYPTO_EX_dup *dup_func, \& CRYPTO_EX_free *free_func); \& \& int TYPE_set_ex_data(TYPE *d, int idx, void *arg); \& \& void *TYPE_get_ex_data(const TYPE *d, int idx); \& \& #define TYPE_set_app_data(TYPE *d, void *arg) \& #define TYPE_get_app_data(TYPE *d) .Ve .PP Următoarele funcții au fost depreciate de la OpenSSL 3.0 și pot fi ascunse complet prin definirea \fBOPENSSL_API_COMPAT\fP cu o valoare de versiune adecvată, a se vedea \fBopenssl_user_macros\fP\|(7): .PP .Vb 10 \& int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, \& CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); \& int DH_set_ex_data(DH *type, int idx, void *arg); \& void *DH_get_ex_data(DH *type, int idx); \& int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, \& CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); \& int DSA_set_ex_data(DSA *type, int idx, void *arg); \& void *DSA_get_ex_data(DSA *type, int idx); \& int EC_KEY_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, \& CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); \& int EC_KEY_set_ex_data(EC_KEY *type, int idx, void *arg); \& void *EC_KEY_get_ex_data(EC_KEY *type, int idx); \& int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, \& CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); \& int RSA_set_ex_data(RSA *type, int idx, void *arg); \& void *RSA_get_ex_data(RSA *type, int idx); \& int RSA_set_app_data(RSA *type, void *arg); \& void *RSA_get_app_data(RSA *type); \& int ENGINE_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, \& CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); \& int ENGINE_set_ex_data(ENGINE *type, int idx, void *arg); \& void *ENGINE_get_ex_data(ENGINE *type, int idx); .Ve .SH DESCRIERE .IX Antet DESCRIERE În descrierea de aici, \fITYPE\fP este utilizat ca substituent pentru oricare dintre tipurile de date OpenSSL enumerate în \fBCRYPTO_get_ex_new_index\fP\|(3). .PP Toate funcțiile cu \fITYPE\fP de tip \fBDH\fP, \fBDSA\fP, \fBRSA\fP și \fBEC_KEY\fP sunt depreciate. Aplicațiile ar trebui să utilizeze în schimb \fBEVP_PKEY_set_ex_data()\fP, \&\fBEVP_PKEY_get_ex_data()\fP și \fBEVP_PKEY_get_ex_new_index()\fP. .PP Toate funcțiile cu \fITYPE\fP de tip \fBENGINE\fP sunt depreciate. Aplicațiile care utilizează motoare trebuie înlocuite cu furnizori. .PP Aceste funcții gestionează datele specifice aplicației pentru structurile de date OpenSSL. .PP \&\fBTYPE_get_ex_new_index()\fP este o macroinstrucțiune care apelează \fBCRYPTO_get_ex_new_index()\fP cu valoarea corectă \fBindex\fP. .PP \&\fBTYPE_set_ex_data()\fP este o funcție care apelează \fBCRYPTO_set_ex_data()\fP cu o poziție în partea opacă exdata a obiectului TYPE. \fId\fP \fBNU TREBUIE\fP să fie NULL. .PP \&\fBTYPE_get_ex_data()\fP este o funcție care apelează \fBCRYPTO_get_ex_data()\fP cu o poziție în partea opacă exdata a obiectului TYPE. \fId\fP \fBNU TREBUIE\fP să fie NULL. .PP Pentru compatibilitate cu versiunile anterioare, indexul exdata zero este rezervat pentru „date de aplicație”. Există două funcții utile pentru acest lucru. \&\fBTYPE_set_app_data()\fP este o macroinstrucțiune care invocă \fBTYPE_set_ex_data()\fP cu \&\fBidx\fP definit la zero. \&\fBTYPE_get_app_data()\fP este o macroinstrucțiune care invocă \fBTYPE_get_ex_data()\fP cu \&\fBidx\fP definit la zero. .SH "VALORI RETURNATE" .IX Antet "VALORI RETURNATE" \&\fBTYPE_get_ex_new_index()\fP returnează un nou index în caz de succes sau \-1 în caz de eroare. .PP \&\fBTYPE_set_ex_data()\fP returnează 1 în caz de succes sau 0 în caz de eroare. .PP \&\fBTYPE_get_ex_data()\fP returnează datele aplicației sau NULL dacă a apărut o eroare. .SH "CONSULTAȚI ȘI" .IX Antet "CONSULTAȚI ȘI" \&\fBCRYPTO_get_ex_new_index\fP\|(3). .SH ISTORIC .IX Antet ISTORIC Funcțiile \fBDH_get_ex_new_index()\fP, \fBDH_set_ex_data()\fP, \fBDH_get_ex_data()\fP, \&\fBDSA_get_ex_new_index()\fP, \fBDSA_set_ex_data()\fP, \fBDSA_get_ex_data()\fP, \&\fBEC_KEY_get_ex_new_index()\fP, \fBEC_KEY_set_ex_data()\fP, \fBEC_KEY_get_ex_data()\fP, \&\fBENGINE_get_ex_new_index()\fP, \fBENGINE_set_ex_data()\fP, \fBENGINE_get_ex_data()\fP, \&\fBRSA_get_ex_new_index()\fP, \fBRSA_set_ex_data()\fP, \fBRSA_get_ex_data()\fP, \&\fBRSA_set_app_data()\fP și \fBRSA_get_app_data()\fP au fost depreciate în OpenSSL 3.0. .SH "DREPTURI DE AUTOR" .IX Antet "DREPTURI DE AUTOR" Drepturi de autor 2015\-2021 The OpenSSL Project Authors. Toate drepturile rezervate. .PP Licențiat sub Licența Apache 2.0 („License”). Nu aveți voie să utilizați acest fișier decât în conformitate cu licența. Puteți obține o copie din fișierul LICENSE din distribuția sursei sau de la . .PP .SH TRADUCERE Traducerea în limba română a acestui manual a fost făcută de Remus-Gabriel Chelu . .PP Această traducere este documentație gratuită; citiți .UR https://www.gnu.org/licenses/gpl-3.0.html Licența publică generală GNU Versiunea 3 .UE sau o versiune ulterioară cu privire la condiții privind drepturile de autor. NU se asumă NICIO RESPONSABILITATE. .PP Dacă găsiți erori în traducerea acestui manual, vă rugăm să trimiteți un e-mail la .MT translation-team-ro@lists.sourceforge.net .ME .