openssl/crypto/pem
Richard Levitte 4ce1025a8a PEM: Make PEM_write_bio_PrivateKey_traditional() handle provider-native keys
PEM_write_bio_PrivateKey_traditional() didn't handle provider-native
keys very well.  Originally, it would simply use the corresponding
encoder, which is likely to output modern PEM (not "traditional").

PEM_write_bio_PrivateKey_traditional() is now changed to try and get a
legacy copy of the input EVP_PKEY, and use that copy for traditional
output, if it has such support.

Internally, evp_pkey_copy_downgraded() is added, to be used when
evp_pkey_downgrade() is too intrusive for what it's needed for.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12738)
2020-09-08 16:45:11 +02:00
..
build.info
pem_all.c PEM: Add more library context aware PEM readers 2020-08-20 12:37:35 +02:00
pem_err.c Fix PEM_write_bio_PrivateKey_traditional() to not output PKCS#8 2020-08-28 20:48:27 +02:00
pem_info.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
pem_lib.c deprecate engines in libcrypto 2020-07-16 09:12:27 +02:00
pem_local.h Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE 2020-08-21 09:23:58 +02:00
pem_oth.c
pem_pk8.c Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE 2020-08-21 09:23:58 +02:00
pem_pkey.c PEM: Make PEM_write_bio_PrivateKey_traditional() handle provider-native keys 2020-09-08 16:45:11 +02:00
pem_sign.c
pem_x509.c
pem_xaux.c
pvkfmt.c PEM: Fix i2b_PvK to use EVP_Encrypt calls consistently 2020-08-07 04:13:28 +02:00