| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:23+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
# #-#-#-#-# archlinux: EVP_PKEY_set1_RSA.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: EVP_PKEY_set1_RSA.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: EVP_PKEY_set1_RSA.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: EVP_PKEY_set1_RSA.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 29 |
#. ======================================================================== |
| 30 |
#. type: IX |
| 31 |
#: archlinux debian-trixie debian-unstable |
| 32 |
#, no-wrap |
| 33 |
msgid "Title" |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
# |
| 37 |
#. Required to disable full justification in groff 1.23.0. |
| 38 |
#. ======================================================================== |
| 39 |
#. type: IX |
| 40 |
#: archlinux |
| 41 |
#, no-wrap |
| 42 |
msgid "EVP_PKEY_SET1_RSA 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "EVP_PKEY_SET1_RSA" |
| 49 |
msgstr "" |
| 50 |
|
| 51 |
#. type: TH |
| 52 |
#: archlinux debian-trixie debian-unstable |
| 53 |
#, no-wrap |
| 54 |
msgid "2026-04-07" |
| 55 |
msgstr "" |
| 56 |
|
| 57 |
#. type: TH |
| 58 |
#: archlinux debian-unstable |
| 59 |
#, no-wrap |
| 60 |
msgid "3.6.2" |
| 61 |
msgstr "" |
| 62 |
|
| 63 |
#. type: TH |
| 64 |
#: archlinux debian-trixie debian-unstable |
| 65 |
#, no-wrap |
| 66 |
msgid "OpenSSL" |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable |
| 71 |
#, no-wrap |
| 72 |
msgid "NAME" |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable |
| 77 |
msgid "" |
| 78 |
"EVP_PKEY_set1_RSA, EVP_PKEY_set1_DSA, EVP_PKEY_set1_DH, " |
| 79 |
"EVP_PKEY_set1_EC_KEY, EVP_PKEY_get1_RSA, EVP_PKEY_get1_DSA, " |
| 80 |
"EVP_PKEY_get1_DH, EVP_PKEY_get1_EC_KEY, EVP_PKEY_get0_RSA, " |
| 81 |
"EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY, " |
| 82 |
"EVP_PKEY_assign_RSA, EVP_PKEY_assign_DSA, EVP_PKEY_assign_DH, " |
| 83 |
"EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign_POLY1305, EVP_PKEY_assign_SIPHASH, " |
| 84 |
"EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305, EVP_PKEY_get0_siphash, " |
| 85 |
"EVP_PKEY_get0, EVP_PKEY_type, EVP_PKEY_get_id, EVP_PKEY_get_base_id, " |
| 86 |
"EVP_PKEY_set1_engine, EVP_PKEY_get0_engine, EVP_PKEY_id, EVP_PKEY_base_id - " |
| 87 |
"EVP_PKEY assignment functions" |
| 88 |
msgstr "" |
| 89 |
|
| 90 |
#. type: IX |
| 91 |
#: archlinux debian-trixie debian-unstable |
| 92 |
#, no-wrap |
| 93 |
msgid "SYNOPSIS" |
| 94 |
msgstr "" |
| 95 |
|
| 96 |
#. type: IX |
| 97 |
#: archlinux debian-trixie debian-unstable |
| 98 |
#, no-wrap |
| 99 |
msgid "Header" |
| 100 |
msgstr "" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-trixie debian-unstable |
| 104 |
#, no-wrap |
| 105 |
msgid "" |
| 106 |
"\\& #include E<lt>openssl/evp.hE<gt>\n" |
| 107 |
"\\&\n" |
| 108 |
"\\& int EVP_PKEY_get_id(const EVP_PKEY *pkey);\n" |
| 109 |
"\\& int EVP_PKEY_get_base_id(const EVP_PKEY *pkey);\n" |
| 110 |
"\\& int EVP_PKEY_type(int type);\n" |
| 111 |
"\\&\n" |
| 112 |
"\\& #define EVP_PKEY_id EVP_PKEY_get_id\n" |
| 113 |
"\\& #define EVP_PKEY_base_id EVP_PKEY_get_base_id\n" |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable |
| 118 |
msgid "" |
| 119 |
"The following functions have been deprecated since OpenSSL 3.0, and can be " |
| 120 |
"hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version " |
| 121 |
"value, see B<openssl_user_macros>\\|(7):" |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable |
| 126 |
#, no-wrap |
| 127 |
msgid "" |
| 128 |
"\\& int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key);\n" |
| 129 |
"\\& int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key);\n" |
| 130 |
"\\& int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key);\n" |
| 131 |
"\\& int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key);\n" |
| 132 |
"\\&\n" |
| 133 |
"\\& RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);\n" |
| 134 |
"\\& DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);\n" |
| 135 |
"\\& DH *EVP_PKEY_get1_DH(EVP_PKEY *pkey);\n" |
| 136 |
"\\& EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);\n" |
| 137 |
"\\&\n" |
| 138 |
"\\& const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);\n" |
| 139 |
"\\& const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len);\n" |
| 140 |
"\\& const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len);\n" |
| 141 |
"\\& const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);\n" |
| 142 |
"\\& const DSA *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);\n" |
| 143 |
"\\& const DH *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);\n" |
| 144 |
"\\& const EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);\n" |
| 145 |
"\\& void *EVP_PKEY_get0(const EVP_PKEY *pkey);\n" |
| 146 |
"\\&\n" |
| 147 |
"\\& int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key);\n" |
| 148 |
"\\& int EVP_PKEY_assign_DSA(EVP_PKEY *pkey, DSA *key);\n" |
| 149 |
"\\& int EVP_PKEY_assign_DH(EVP_PKEY *pkey, DH *key);\n" |
| 150 |
"\\& int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key);\n" |
| 151 |
"\\& int EVP_PKEY_assign_POLY1305(EVP_PKEY *pkey, ASN1_OCTET_STRING *key);\n" |
| 152 |
"\\& int EVP_PKEY_assign_SIPHASH(EVP_PKEY *pkey, ASN1_OCTET_STRING *key);\n" |
| 153 |
"\\&\n" |
| 154 |
"\\& ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey);\n" |
| 155 |
"\\& int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *engine);\n" |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: IX |
| 159 |
#: archlinux debian-trixie debian-unstable |
| 160 |
#, no-wrap |
| 161 |
msgid "DESCRIPTION" |
| 162 |
msgstr "" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable |
| 166 |
msgid "" |
| 167 |
"\\&B<EVP_PKEY_get_base_id()> returns the type of I<pkey>. For example an RSA " |
| 168 |
"key will return B<EVP_PKEY_RSA>." |
| 169 |
msgstr "" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux |
| 173 |
msgid "" |
| 174 |
"\\&B<EVP_PKEY_get_id()> returns the actual NID associated with I<pkey> only " |
| 175 |
"if the I<pkey> type isn\\*(Aqt implemented just in a B<provider>\\|(7). " |
| 176 |
"Historically keys using the same algorithm could use different NIDs. For " |
| 177 |
"example an RSA key could use the NIDs corresponding to the NIDs " |
| 178 |
"B<NID_rsaEncryption> (equivalent to B<EVP_PKEY_RSA>) or \\&B<NID_rsa> " |
| 179 |
"(equivalent to B<EVP_PKEY_RSA2>). The use of alternative non-standard NIDs " |
| 180 |
"is now rare so B<EVP_PKEY_RSA2> et al are not often seen in practice. " |
| 181 |
"\\&B<EVP_PKEY_get_id()> returns -1 (B<EVP_PKEY_KEYMGMT>) if the I<pkey> is " |
| 182 |
"only implemented in a B<provider>\\|(7)." |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable |
| 187 |
msgid "" |
| 188 |
"\\&B<EVP_PKEY_type()> returns the underlying type of the NID I<type>. For " |
| 189 |
"example EVP_PKEY_type(EVP_PKEY_RSA2) will return B<EVP_PKEY_RSA>." |
| 190 |
msgstr "" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
#: archlinux debian-trixie debian-unstable |
| 194 |
msgid "" |
| 195 |
"\\&B<EVP_PKEY_set1_RSA()>, B<EVP_PKEY_set1_DSA()>, B<EVP_PKEY_set1_DH()> and " |
| 196 |
"\\&B<EVP_PKEY_set1_EC_KEY()> set the key referenced by I<pkey> to I<key>. " |
| 197 |
"These functions are deprecated. Applications should instead use " |
| 198 |
"\\&B<EVP_PKEY_fromdata>\\|(3)." |
| 199 |
msgstr "" |
| 200 |
|
| 201 |
#. type: Plain text |
| 202 |
#: archlinux debian-trixie debian-unstable |
| 203 |
msgid "" |
| 204 |
"\\&B<EVP_PKEY_assign_RSA()>, B<EVP_PKEY_assign_DSA()>, " |
| 205 |
"B<EVP_PKEY_assign_DH()>, \\&B<EVP_PKEY_assign_EC_KEY()>, " |
| 206 |
"B<EVP_PKEY_assign_POLY1305()> and \\&B<EVP_PKEY_assign_SIPHASH()> set the " |
| 207 |
"referenced key to I<key> however these use the supplied I<key> internally " |
| 208 |
"and so I<key> will be freed when the parent \\&I<pkey> is freed. These " |
| 209 |
"macros are deprecated. Applications should instead read an EVP_PKEY directly " |
| 210 |
"using the OSSL_DECODER APIs (see \\&B<OSSL_DECODER_CTX_new_for_pkey>\\|(3)), " |
| 211 |
"or construct an EVP_PKEY from data using \\&B<EVP_PKEY_fromdata>\\|(3)." |
| 212 |
msgstr "" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable |
| 216 |
msgid "" |
| 217 |
"\\&B<EVP_PKEY_get1_RSA()>, B<EVP_PKEY_get1_DSA()>, B<EVP_PKEY_get1_DH()> and " |
| 218 |
"\\&B<EVP_PKEY_get1_EC_KEY()> return the referenced key in I<pkey> or NULL if " |
| 219 |
"the key is not of the correct type. The returned key must be freed after " |
| 220 |
"use. These functions are deprecated. Applications should instead use the " |
| 221 |
"EVP_PKEY directly where possible. If access to the low level key parameters " |
| 222 |
"is required then applications should use B<EVP_PKEY_get_params>\\|(3) and " |
| 223 |
"other similar functions. To write an EVP_PKEY out use the OSSL_ENCODER APIs " |
| 224 |
"(see \\&B<OSSL_ENCODER_CTX_new_for_pkey>\\|(3))." |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: Plain text |
| 228 |
#: archlinux debian-trixie debian-unstable |
| 229 |
msgid "" |
| 230 |
"\\&B<EVP_PKEY_get0_hmac()>, B<EVP_PKEY_get0_poly1305()>, " |
| 231 |
"B<EVP_PKEY_get0_siphash()>, \\&B<EVP_PKEY_get0_RSA()>, " |
| 232 |
"B<EVP_PKEY_get0_DSA()>, B<EVP_PKEY_get0_DH()> and " |
| 233 |
"\\&B<EVP_PKEY_get0_EC_KEY()> return the referenced key in I<pkey> or NULL if " |
| 234 |
"the key is not of the correct type. The reference count of the returned key " |
| 235 |
"is \\&B<not> incremented and so the key must not be freed after use. These " |
| 236 |
"functions are deprecated. Applications should instead use the EVP_PKEY " |
| 237 |
"directly where possible. If access to the low level key parameters is " |
| 238 |
"required then applications should use B<EVP_PKEY_get_params>\\|(3) and other " |
| 239 |
"similar functions. To write an EVP_PKEY out use the OSSL_ENCODER APIs (see " |
| 240 |
"\\&B<OSSL_ENCODER_CTX_new_for_pkey>\\|(3)). B<EVP_PKEY_get0()> returns a " |
| 241 |
"pointer to the legacy key or NULL if the key is not legacy." |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux |
| 246 |
msgid "" |
| 247 |
"Note that if an EVP_PKEY was not constructed using one of the deprecated " |
| 248 |
"functions such as B<EVP_PKEY_set1_RSA()>, B<EVP_PKEY_set1_DSA()>, " |
| 249 |
"B<EVP_PKEY_set1_DH()> or B<EVP_PKEY_set1_EC_KEY()>, or via the similarly " |
| 250 |
"named B<EVP_PKEY_assign> macros described above then the internal key will " |
| 251 |
"be managed by a provider (see \\&B<provider>\\|(7)). In that case the key " |
| 252 |
"returned by B<EVP_PKEY_get1_RSA()>, \\&B<EVP_PKEY_get1_DSA()>, " |
| 253 |
"B<EVP_PKEY_get1_DH()>, B<EVP_PKEY_get1_EC_KEY()>, " |
| 254 |
"\\&B<EVP_PKEY_get0_hmac()>, B<EVP_PKEY_get0_poly1305()>, " |
| 255 |
"B<EVP_PKEY_get0_siphash()>, \\&B<EVP_PKEY_get0_RSA()>, " |
| 256 |
"B<EVP_PKEY_get0_DSA()>, B<EVP_PKEY_get0_DH()> or " |
| 257 |
"\\&B<EVP_PKEY_get0_EC_KEY()> will be a cached copy of the provider\\*(Aqs " |
| 258 |
"key. Subsequent updates to the provider\\*(Aqs key will not be reflected " |
| 259 |
"back in the cached copy, and updates made by an application to the returned " |
| 260 |
"key will not be reflected back in the provider\\*(Aqs key. Subsequent calls " |
| 261 |
"to B<EVP_PKEY_get1_RSA()>, \\&B<EVP_PKEY_get1_DSA()>, B<EVP_PKEY_get1_DH()> " |
| 262 |
"and B<EVP_PKEY_get1_EC_KEY()> will always return the cached copy returned by " |
| 263 |
"the first call." |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: archlinux debian-trixie debian-unstable |
| 268 |
msgid "" |
| 269 |
"\\&B<EVP_PKEY_get0_engine()> returns a reference to the ENGINE handling " |
| 270 |
"I<pkey>. This function is deprecated. Applications should use providers " |
| 271 |
"instead of engines (see B<provider>\\|(7) for details)." |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable |
| 276 |
msgid "" |
| 277 |
"\\&B<EVP_PKEY_set1_engine()> sets the ENGINE handling I<pkey> to I<engine>. " |
| 278 |
"It must be called after the key algorithm and components are set up. If " |
| 279 |
"I<engine> does not include an B<EVP_PKEY_METHOD> for I<pkey> an error " |
| 280 |
"occurs. This function is deprecated. Applications should use providers " |
| 281 |
"instead of engines (see B<provider>\\|(7) for details)." |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
#. type: IX |
| 285 |
#: archlinux debian-trixie debian-unstable |
| 286 |
#, no-wrap |
| 287 |
msgid "WARNINGS" |
| 288 |
msgstr "" |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable |
| 292 |
msgid "" |
| 293 |
"The following functions are only reliable with B<EVP_PKEY>s that have been " |
| 294 |
"assigned an internal key with EVP_PKEY_assign_*():" |
| 295 |
msgstr "" |
| 296 |
|
| 297 |
#. type: Plain text |
| 298 |
#: archlinux debian-trixie debian-unstable |
| 299 |
msgid "\\&B<EVP_PKEY_get_id()>, B<EVP_PKEY_get_base_id()>, B<EVP_PKEY_type()>" |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
#. type: Plain text |
| 303 |
#: archlinux debian-trixie debian-unstable |
| 304 |
msgid "" |
| 305 |
"For EVP_PKEY key type checking purposes, B<EVP_PKEY_is_a>\\|(3) is more " |
| 306 |
"generic." |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: Plain text |
| 310 |
#: archlinux debian-trixie debian-unstable |
| 311 |
msgid "" |
| 312 |
"For purposes of retrieving the name of the B<EVP_PKEY> the function " |
| 313 |
"\\&B<EVP_PKEY_get0_type_name>\\|(3) is more generally useful." |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable |
| 318 |
msgid "" |
| 319 |
"The keys returned from the functions B<EVP_PKEY_get0_RSA()>, " |
| 320 |
"B<EVP_PKEY_get0_DSA()>, \\&B<EVP_PKEY_get0_DH()> and " |
| 321 |
"B<EVP_PKEY_get0_EC_KEY()> were changed to have a \"const\" return type in " |
| 322 |
"OpenSSL 3.0. As described above the keys returned may be cached copies of " |
| 323 |
"the key held in a provider. Due to this, and unlike in earlier versions of " |
| 324 |
"OpenSSL, they should be considered read-only copies of the key. Updates to " |
| 325 |
"these keys will not be reflected back in the provider side key. The " |
| 326 |
"\\&B<EVP_PKEY_get1_RSA()>, B<EVP_PKEY_get1_DSA()>, B<EVP_PKEY_get1_DH()> and " |
| 327 |
"\\&B<EVP_PKEY_get1_EC_KEY()> functions were not changed to have a \"const\" " |
| 328 |
"return type in order that applications can \"free\" the return value. " |
| 329 |
"However applications should still consider them as read-only copies." |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. type: IX |
| 333 |
#: archlinux debian-trixie debian-unstable |
| 334 |
#, no-wrap |
| 335 |
msgid "NOTES" |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: Plain text |
| 339 |
#: archlinux debian-trixie debian-unstable |
| 340 |
msgid "" |
| 341 |
"In accordance with the OpenSSL naming convention the key obtained from or " |
| 342 |
"assigned to the I<pkey> using the B<1> functions must be freed as well as " |
| 343 |
"I<pkey>." |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable |
| 348 |
msgid "" |
| 349 |
"\\&B<EVP_PKEY_assign_RSA()>, B<EVP_PKEY_assign_DSA()>, " |
| 350 |
"B<EVP_PKEY_assign_DH()>, \\&B<EVP_PKEY_assign_EC_KEY()>, " |
| 351 |
"B<EVP_PKEY_assign_POLY1305()> and B<EVP_PKEY_assign_SIPHASH()> are " |
| 352 |
"implemented as macros." |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: Plain text |
| 356 |
#: archlinux debian-trixie debian-unstable |
| 357 |
msgid "" |
| 358 |
"\\&B<EVP_PKEY_assign_EC_KEY()> looks at the curve name id to determine if " |
| 359 |
"the passed B<EC_KEY> is an B<SM2>\\|(7) key, and will set the B<EVP_PKEY> " |
| 360 |
"type to B<EVP_PKEY_SM2> in that case, instead of B<EVP_PKEY_EC>." |
| 361 |
msgstr "" |
| 362 |
|
| 363 |
#. type: Plain text |
| 364 |
#: archlinux debian-trixie debian-unstable |
| 365 |
msgid "" |
| 366 |
"Most applications wishing to know a key type will simply call " |
| 367 |
"\\&B<EVP_PKEY_get_base_id()> and will not care about the actual type: which " |
| 368 |
"will be identical in almost all cases." |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable |
| 373 |
msgid "" |
| 374 |
"Previous versions of this document suggested using EVP_PKEY_type(pkey-" |
| 375 |
"E<gt>type) to determine the type of a key. Since B<EVP_PKEY> is now opaque " |
| 376 |
"this is no longer possible: the equivalent is EVP_PKEY_get_base_id(pkey)." |
| 377 |
msgstr "" |
| 378 |
|
| 379 |
#. type: Plain text |
| 380 |
#: archlinux debian-trixie debian-unstable |
| 381 |
msgid "" |
| 382 |
"\\&B<EVP_PKEY_set1_engine()> is typically used by an ENGINE returning an HSM " |
| 383 |
"key as part of its routine to load a private key." |
| 384 |
msgstr "" |
| 385 |
|
| 386 |
#. type: IX |
| 387 |
#: archlinux debian-trixie debian-unstable |
| 388 |
#, no-wrap |
| 389 |
msgid "RETURN VALUES" |
| 390 |
msgstr "" |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
#: archlinux debian-trixie debian-unstable |
| 394 |
msgid "" |
| 395 |
"\\&B<EVP_PKEY_set1_RSA()>, B<EVP_PKEY_set1_DSA()>, B<EVP_PKEY_set1_DH()> and " |
| 396 |
"\\&B<EVP_PKEY_set1_EC_KEY()> return 1 for success or 0 for failure." |
| 397 |
msgstr "" |
| 398 |
|
| 399 |
#. type: Plain text |
| 400 |
#: archlinux debian-trixie debian-unstable |
| 401 |
msgid "" |
| 402 |
"\\&B<EVP_PKEY_get1_RSA()>, B<EVP_PKEY_get1_DSA()>, B<EVP_PKEY_get1_DH()> and " |
| 403 |
"\\&B<EVP_PKEY_get1_EC_KEY()> return the referenced key or NULL if an error " |
| 404 |
"occurred." |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable |
| 409 |
msgid "" |
| 410 |
"\\&B<EVP_PKEY_assign_RSA()>, B<EVP_PKEY_assign_DSA()>, " |
| 411 |
"B<EVP_PKEY_assign_DH()>, \\&B<EVP_PKEY_assign_EC_KEY()>, " |
| 412 |
"B<EVP_PKEY_assign_POLY1305()> and B<EVP_PKEY_assign_SIPHASH()> return 1 for " |
| 413 |
"success and 0 for failure." |
| 414 |
msgstr "" |
| 415 |
|
| 416 |
#. type: Plain text |
| 417 |
#: archlinux debian-trixie debian-unstable |
| 418 |
msgid "" |
| 419 |
"\\&B<EVP_PKEY_get_base_id()>, B<EVP_PKEY_get_id()> and B<EVP_PKEY_type()> " |
| 420 |
"return a key type or B<NID_undef> (equivalently B<EVP_PKEY_NONE>) on error." |
| 421 |
msgstr "" |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-trixie debian-unstable |
| 425 |
msgid "\\&B<EVP_PKEY_set1_engine()> returns 1 for success and 0 for failure." |
| 426 |
msgstr "" |
| 427 |
|
| 428 |
#. type: IX |
| 429 |
#: archlinux debian-trixie debian-unstable |
| 430 |
#, no-wrap |
| 431 |
msgid "SEE ALSO" |
| 432 |
msgstr "" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable |
| 436 |
msgid "\\&B<EVP_PKEY_new>\\|(3), B<SM2>\\|(7)" |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: IX |
| 440 |
#: archlinux debian-trixie debian-unstable |
| 441 |
#, no-wrap |
| 442 |
msgid "HISTORY" |
| 443 |
msgstr "" |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-trixie debian-unstable |
| 447 |
msgid "" |
| 448 |
"The B<EVP_PKEY_id()> and B<EVP_PKEY_base_id()> functions were renamed to " |
| 449 |
"include CW<\\*(C`get\\*(C'> in their names in OpenSSL 3.0, respectively. The " |
| 450 |
"old names are kept as non-deprecated alias macros." |
| 451 |
msgstr "" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable |
| 455 |
msgid "" |
| 456 |
"EVP_PKEY_set1_RSA, EVP_PKEY_set1_DSA, EVP_PKEY_set1_DH, " |
| 457 |
"EVP_PKEY_set1_EC_KEY, EVP_PKEY_get1_RSA, EVP_PKEY_get1_DSA, " |
| 458 |
"EVP_PKEY_get1_DH, EVP_PKEY_get1_EC_KEY, EVP_PKEY_get0_RSA, " |
| 459 |
"EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY, " |
| 460 |
"EVP_PKEY_assign_RSA, EVP_PKEY_assign_DSA, EVP_PKEY_assign_DH, " |
| 461 |
"EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign_POLY1305, EVP_PKEY_assign_SIPHASH, " |
| 462 |
"EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305, EVP_PKEY_get0_siphash, " |
| 463 |
"EVP_PKEY_set1_engine and EVP_PKEY_get0_engine were deprecated in OpenSSL 3.0." |
| 464 |
msgstr "" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: archlinux debian-trixie debian-unstable |
| 468 |
msgid "" |
| 469 |
"The return value from EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, " |
| 470 |
"EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY were made const in OpenSSL 3.0." |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable |
| 475 |
msgid "" |
| 476 |
"The function B<EVP_PKEY_set_alias_type()> was previously documented on this " |
| 477 |
"page. It was removed in OpenSSL 3.0." |
| 478 |
msgstr "" |
| 479 |
|
| 480 |
#. type: IX |
| 481 |
#: archlinux debian-trixie debian-unstable |
| 482 |
#, no-wrap |
| 483 |
msgid "COPYRIGHT" |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-trixie debian-unstable |
| 488 |
msgid "Copyright 2002-2023 The OpenSSL Project Authors. All Rights Reserved." |
| 489 |
msgstr "" |
| 490 |
|
| 491 |
#. type: Plain text |
| 492 |
#: archlinux debian-trixie debian-unstable |
| 493 |
msgid "" |
| 494 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 495 |
"this file except in compliance with the License. You can obtain a copy in " |
| 496 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 497 |
"www.openssl.org/source/license.htmlE<gt>." |
| 498 |
msgstr "" |
| 499 |
|
| 500 |
#. ======================================================================== |
| 501 |
#. type: IX |
| 502 |
#: debian-trixie debian-unstable |
| 503 |
#, no-wrap |
| 504 |
msgid "EVP_PKEY_SET1_RSA 3SSL" |
| 505 |
msgstr "" |
| 506 |
|
| 507 |
#. type: TH |
| 508 |
#: debian-trixie |
| 509 |
#, no-wrap |
| 510 |
msgid "3.5.6" |
| 511 |
msgstr "" |
| 512 |
|
| 513 |
#. type: Plain text |
| 514 |
#: debian-trixie debian-unstable |
| 515 |
msgid "" |
| 516 |
"\\&B<EVP_PKEY_get_id()> returns the actual NID associated with I<pkey> only " |
| 517 |
"if the I<pkey> type isn't implemented just in a B<provider>\\|(7). " |
| 518 |
"Historically keys using the same algorithm could use different NIDs. For " |
| 519 |
"example an RSA key could use the NIDs corresponding to the NIDs " |
| 520 |
"B<NID_rsaEncryption> (equivalent to B<EVP_PKEY_RSA>) or \\&B<NID_rsa> " |
| 521 |
"(equivalent to B<EVP_PKEY_RSA2>). The use of alternative non-standard NIDs " |
| 522 |
"is now rare so B<EVP_PKEY_RSA2> et al are not often seen in practice. " |
| 523 |
"\\&B<EVP_PKEY_get_id()> returns -1 (B<EVP_PKEY_KEYMGMT>) if the I<pkey> is " |
| 524 |
"only implemented in a B<provider>\\|(7)." |
| 525 |
msgstr "" |
| 526 |
|
| 527 |
#. type: Plain text |
| 528 |
#: debian-trixie debian-unstable |
| 529 |
msgid "" |
| 530 |
"Note that if an EVP_PKEY was not constructed using one of the deprecated " |
| 531 |
"functions such as B<EVP_PKEY_set1_RSA()>, B<EVP_PKEY_set1_DSA()>, " |
| 532 |
"B<EVP_PKEY_set1_DH()> or B<EVP_PKEY_set1_EC_KEY()>, or via the similarly " |
| 533 |
"named B<EVP_PKEY_assign> macros described above then the internal key will " |
| 534 |
"be managed by a provider (see \\&B<provider>\\|(7)). In that case the key " |
| 535 |
"returned by B<EVP_PKEY_get1_RSA()>, \\&B<EVP_PKEY_get1_DSA()>, " |
| 536 |
"B<EVP_PKEY_get1_DH()>, B<EVP_PKEY_get1_EC_KEY()>, " |
| 537 |
"\\&B<EVP_PKEY_get0_hmac()>, B<EVP_PKEY_get0_poly1305()>, " |
| 538 |
"B<EVP_PKEY_get0_siphash()>, \\&B<EVP_PKEY_get0_RSA()>, " |
| 539 |
"B<EVP_PKEY_get0_DSA()>, B<EVP_PKEY_get0_DH()> or " |
| 540 |
"\\&B<EVP_PKEY_get0_EC_KEY()> will be a cached copy of the provider's key. " |
| 541 |
"Subsequent updates to the provider's key will not be reflected back in the " |
| 542 |
"cached copy, and updates made by an application to the returned key will not " |
| 543 |
"be reflected back in the provider's key. Subsequent calls to " |
| 544 |
"B<EVP_PKEY_get1_RSA()>, \\&B<EVP_PKEY_get1_DSA()>, B<EVP_PKEY_get1_DH()> and " |
| 545 |
"B<EVP_PKEY_get1_EC_KEY()> will always return the cached copy returned by the " |
| 546 |
"first call." |
| 547 |
msgstr "" |