Viktor Dukhovni 8d2e4d6d8c Implement i2d_PKCS8PrivateKey
Added `i2d_PKCS8PrivateKey(3)` API to complement `i2d_PrivateKey(3)`,
the former always outputs PKCS#8.

Extended endecoder_test.c to check that `i2d_PKCS8PrivateKey()`
produces the expected PKCS#8 output.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27309)
2025-04-11 11:00:27 +01:00
..
2022-05-03 13:34:51 +01:00
2023-06-18 16:53:09 +10:00
2021-09-02 12:55:39 +10:00
2020-11-18 11:40:52 +01:00
2023-03-06 08:00:58 +11:00
2025-04-11 11:00:27 +01:00
2023-10-24 17:34:07 +01:00
2025-03-12 13:35:59 +00:00
2024-04-09 13:43:26 +02:00
2021-04-08 13:04:41 +01:00
2024-09-05 09:35:49 +02:00
2024-09-05 09:35:49 +02:00
2022-12-08 07:01:33 +01:00