Lines Matching full:pem
112 * OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, "PEM", "type-specific",
121 ENCODER_w_structure("RSA", rsa, yes, pem, type_specific_keypair),
125 ENCODER_w_structure("DH", dh, yes, pem, type_specific_params),
127 ENCODER_w_structure("DHX", dhx, yes, pem, type_specific_params),
131 ENCODER_w_structure("DSA", dsa, yes, pem, type_specific),
134 /* EC only supports keypair and parameters DER and PEM output. */
136 ENCODER_w_structure("EC", ec, yes, pem, type_specific_no_pub),
141 ENCODER_w_structure("SM2", sm2, no, pem, type_specific_no_pub),
160 * The "pem" ones also support PEM_write_bio_PrivateKey() and
164 ENCODER_w_structure("RSA", rsa, yes, pem, EncryptedPrivateKeyInfo),
166 ENCODER_w_structure("RSA", rsa, yes, pem, PrivateKeyInfo),
168 ENCODER_w_structure("RSA", rsa, yes, pem, SubjectPublicKeyInfo),
171 ENCODER_w_structure("RSA-PSS", rsapss, yes, pem, EncryptedPrivateKeyInfo),
173 ENCODER_w_structure("RSA-PSS", rsapss, yes, pem, PrivateKeyInfo),
175 ENCODER_w_structure("RSA-PSS", rsapss, yes, pem, SubjectPublicKeyInfo),
179 ENCODER_w_structure("DH", dh, yes, pem, EncryptedPrivateKeyInfo),
181 ENCODER_w_structure("DH", dh, yes, pem, PrivateKeyInfo),
183 ENCODER_w_structure("DH", dh, yes, pem, SubjectPublicKeyInfo),
186 ENCODER_w_structure("DHX", dhx, yes, pem, EncryptedPrivateKeyInfo),
188 ENCODER_w_structure("DHX", dhx, yes, pem, PrivateKeyInfo),
190 ENCODER_w_structure("DHX", dhx, yes, pem, SubjectPublicKeyInfo),
195 ENCODER_w_structure("DSA", dsa, yes, pem, EncryptedPrivateKeyInfo),
197 ENCODER_w_structure("DSA", dsa, yes, pem, PrivateKeyInfo),
199 ENCODER_w_structure("DSA", dsa, yes, pem, SubjectPublicKeyInfo),
204 ENCODER_w_structure("EC", ec, yes, pem, EncryptedPrivateKeyInfo),
206 ENCODER_w_structure("EC", ec, yes, pem, PrivateKeyInfo),
208 ENCODER_w_structure("EC", ec, yes, pem, SubjectPublicKeyInfo),
212 ENCODER_w_structure("SM2", sm2, no, pem, EncryptedPrivateKeyInfo),
214 ENCODER_w_structure("SM2", sm2, no, pem, PrivateKeyInfo),
216 ENCODER_w_structure("SM2", sm2, no, pem, SubjectPublicKeyInfo),
222 ENCODER_w_structure("X25519", x25519, yes, pem, EncryptedPrivateKeyInfo),
224 ENCODER_w_structure("X25519", x25519, yes, pem, PrivateKeyInfo),
226 ENCODER_w_structure("X25519", x25519, yes, pem, SubjectPublicKeyInfo),
229 ENCODER_w_structure("X448", x448, yes, pem, EncryptedPrivateKeyInfo),
231 ENCODER_w_structure("X448", x448, yes, pem, PrivateKeyInfo),
233 ENCODER_w_structure("X448", x448, yes, pem, SubjectPublicKeyInfo),
236 ENCODER_w_structure("ED25519", ed25519, yes, pem, EncryptedPrivateKeyInfo),
238 ENCODER_w_structure("ED25519", ed25519, yes, pem, PrivateKeyInfo),
240 ENCODER_w_structure("ED25519", ed25519, yes, pem, SubjectPublicKeyInfo),
243 ENCODER_w_structure("ED448", ed448, yes, pem, EncryptedPrivateKeyInfo),
245 ENCODER_w_structure("ED448", ed448, yes, pem, PrivateKeyInfo),
247 ENCODER_w_structure("ED448", ed448, yes, pem, SubjectPublicKeyInfo),
263 ENCODER_w_structure( "SLH-DSA-SHA2-128s", slh_dsa_sha2_128s, yes, pem, EncryptedPrivateKeyInfo),
264 ENCODER_w_structure( "SLH-DSA-SHA2-128f", slh_dsa_sha2_128f, yes, pem, EncryptedPrivateKeyInfo),
265 ENCODER_w_structure( "SLH-DSA-SHA2-192s", slh_dsa_sha2_192s, yes, pem, EncryptedPrivateKeyInfo),
266 ENCODER_w_structure( "SLH-DSA-SHA2-192f", slh_dsa_sha2_192f, yes, pem, EncryptedPrivateKeyInfo),
267 ENCODER_w_structure( "SLH-DSA-SHA2-256s", slh_dsa_sha2_256s, yes, pem, EncryptedPrivateKeyInfo),
268 ENCODER_w_structure( "SLH-DSA-SHA2-256f", slh_dsa_sha2_256f, yes, pem, EncryptedPrivateKeyInfo),
269 ENCODER_w_structure("SLH-DSA-SHAKE-128s", slh_dsa_shake_128s, yes, pem, EncryptedPrivateKeyInfo),
270 ENCODER_w_structure("SLH-DSA-SHAKE-128f", slh_dsa_shake_128f, yes, pem, EncryptedPrivateKeyInfo),
271 ENCODER_w_structure("SLH-DSA-SHAKE-192s", slh_dsa_shake_192s, yes, pem, EncryptedPrivateKeyInfo),
272 ENCODER_w_structure("SLH-DSA-SHAKE-192f", slh_dsa_shake_192f, yes, pem, EncryptedPrivateKeyInfo),
273 ENCODER_w_structure("SLH-DSA-SHAKE-256s", slh_dsa_shake_256s, yes, pem, EncryptedPrivateKeyInfo),
274 ENCODER_w_structure("SLH-DSA-SHAKE-256f", slh_dsa_shake_256f, yes, pem, EncryptedPrivateKeyInfo),
289 ENCODER_w_structure( "SLH-DSA-SHA2-128s", slh_dsa_sha2_128s, yes, pem, PrivateKeyInfo),
290 ENCODER_w_structure( "SLH-DSA-SHA2-128f", slh_dsa_sha2_128f, yes, pem, PrivateKeyInfo),
291 ENCODER_w_structure( "SLH-DSA-SHA2-192s", slh_dsa_sha2_192s, yes, pem, PrivateKeyInfo),
292 ENCODER_w_structure( "SLH-DSA-SHA2-192f", slh_dsa_sha2_192f, yes, pem, PrivateKeyInfo),
293 ENCODER_w_structure( "SLH-DSA-SHA2-256s", slh_dsa_sha2_256s, yes, pem, PrivateKeyInfo),
294 ENCODER_w_structure( "SLH-DSA-SHA2-256f", slh_dsa_sha2_256f, yes, pem, PrivateKeyInfo),
295 ENCODER_w_structure("SLH-DSA-SHAKE-128s", slh_dsa_shake_128s, yes, pem, PrivateKeyInfo),
296 ENCODER_w_structure("SLH-DSA-SHAKE-128f", slh_dsa_shake_128f, yes, pem, PrivateKeyInfo),
297 ENCODER_w_structure("SLH-DSA-SHAKE-192s", slh_dsa_shake_192s, yes, pem, PrivateKeyInfo),
298 ENCODER_w_structure("SLH-DSA-SHAKE-192f", slh_dsa_shake_192f, yes, pem, PrivateKeyInfo),
299 ENCODER_w_structure("SLH-DSA-SHAKE-256s", slh_dsa_shake_256s, yes, pem, PrivateKeyInfo),
300 ENCODER_w_structure("SLH-DSA-SHAKE-256f", slh_dsa_shake_256f, yes, pem, PrivateKeyInfo),
315 ENCODER_w_structure( "SLH-DSA-SHA2-128s", slh_dsa_sha2_128s, yes, pem, SubjectPublicKeyInfo),
316 ENCODER_w_structure( "SLH-DSA-SHA2-128f", slh_dsa_sha2_128f, yes, pem, SubjectPublicKeyInfo),
317 ENCODER_w_structure( "SLH-DSA-SHA2-192s", slh_dsa_sha2_192s, yes, pem, SubjectPublicKeyInfo),
318 ENCODER_w_structure( "SLH-DSA-SHA2-192f", slh_dsa_sha2_192f, yes, pem, SubjectPublicKeyInfo),
319 ENCODER_w_structure( "SLH-DSA-SHA2-256s", slh_dsa_sha2_256s, yes, pem, SubjectPublicKeyInfo),
320 ENCODER_w_structure( "SLH-DSA-SHA2-256f", slh_dsa_sha2_256f, yes, pem, SubjectPublicKeyInfo),
321 ENCODER_w_structure("SLH-DSA-SHAKE-128s", slh_dsa_shake_128s, yes, pem, SubjectPublicKeyInfo),
322 ENCODER_w_structure("SLH-DSA-SHAKE-128f", slh_dsa_shake_128f, yes, pem, SubjectPublicKeyInfo),
323 ENCODER_w_structure("SLH-DSA-SHAKE-192s", slh_dsa_shake_192s, yes, pem, SubjectPublicKeyInfo),
324 ENCODER_w_structure("SLH-DSA-SHAKE-192f", slh_dsa_shake_192f, yes, pem, SubjectPublicKeyInfo),
325 ENCODER_w_structure("SLH-DSA-SHAKE-256s", slh_dsa_shake_256s, yes, pem, SubjectPublicKeyInfo),
326 ENCODER_w_structure("SLH-DSA-SHAKE-256f", slh_dsa_shake_256f, yes, pem, SubjectPublicKeyInfo),
331 ENCODER_w_structure("ML-KEM-512", ml_kem_512, yes, pem, EncryptedPrivateKeyInfo),
333 ENCODER_w_structure("ML-KEM-512", ml_kem_512, yes, pem, PrivateKeyInfo),
335 ENCODER_w_structure("ML-KEM-512", ml_kem_512, yes, pem, SubjectPublicKeyInfo),
338 ENCODER_w_structure("ML-KEM-768", ml_kem_768, yes, pem, EncryptedPrivateKeyInfo),
340 ENCODER_w_structure("ML-KEM-768", ml_kem_768, yes, pem, PrivateKeyInfo),
342 ENCODER_w_structure("ML-KEM-768", ml_kem_768, yes, pem, SubjectPublicKeyInfo),
345 ENCODER_w_structure("ML-KEM-1024", ml_kem_1024, yes, pem, EncryptedPrivateKeyInfo),
347 ENCODER_w_structure("ML-KEM-1024", ml_kem_1024, yes, pem, PrivateKeyInfo),
349 ENCODER_w_structure("ML-KEM-1024", ml_kem_1024, yes, pem, SubjectPublicKeyInfo),
354 ENCODER_w_structure("ML-DSA-44", ml_dsa_44, yes, pem, EncryptedPrivateKeyInfo),
356 ENCODER_w_structure("ML-DSA-44", ml_dsa_44, yes, pem, PrivateKeyInfo),
358 ENCODER_w_structure("ML-DSA-44", ml_dsa_44, yes, pem, SubjectPublicKeyInfo),
361 ENCODER_w_structure("ML-DSA-65", ml_dsa_65, yes, pem, EncryptedPrivateKeyInfo),
363 ENCODER_w_structure("ML-DSA-65", ml_dsa_65, yes, pem, PrivateKeyInfo),
365 ENCODER_w_structure("ML-DSA-65", ml_dsa_65, yes, pem, SubjectPublicKeyInfo),
368 ENCODER_w_structure("ML-DSA-87", ml_dsa_87, yes, pem, EncryptedPrivateKeyInfo),
370 ENCODER_w_structure("ML-DSA-87", ml_dsa_87, yes, pem, PrivateKeyInfo),
372 ENCODER_w_structure("ML-DSA-87", ml_dsa_87, yes, pem, SubjectPublicKeyInfo),
384 ENCODER_w_structure("RSA", rsa, yes, pem, RSA),
388 ENCODER_w_structure("DH", dh, yes, pem, DH),
390 ENCODER_w_structure("DHX", dhx, yes, pem, DHX),
394 ENCODER_w_structure("DSA", dsa, yes, pem, DSA),
398 ENCODER_w_structure("EC", ec, yes, pem, EC),
409 ENCODER_w_structure("RSA", rsa, yes, pem, PKCS1),
411 ENCODER_w_structure("RSA-PSS", rsapss, yes, pem, PKCS1),
415 ENCODER_w_structure("DH", dh, yes, pem, PKCS3),
418 ENCODER_w_structure("DHX", dhx, yes, pem, X9_42),
423 ENCODER_w_structure("EC", ec, yes, pem, X9_62),