openssl/crypto/encode_decode
Richard Levitte 70c06aafa6 DECODER: Allow precise result type for OSSL_DECODER_CTX_new_by_EVP_PKEY()
There is some data that is very difficult to guess.  For example, DSA
parameters and X9.42 DH parameters look exactly the same, a SEQUENCE
of 3 INTEGER.  Therefore, callers may need the possibility to select
the exact keytype that they expect to get.

This will also allow use to translate d2i_TYPEPrivateKey(),
d2i_TYPEPublicKey() and d2i_TYPEParams() into OSSL_DECODER terms much
more smoothly.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13061)
2020-10-04 13:01:47 +02:00
..
build.info CORE: Generalise internal pass phrase prompter 2020-08-24 10:02:25 +02:00
decoder_err.c
decoder_lib.c DECODER: Handle abstract object data type 2020-10-04 12:58:41 +02:00
decoder_meth.c DECODER: Some cleanups, and aligning with OSSL_ENCODER 2020-09-20 17:31:54 +02:00
decoder_pkey.c DECODER: Allow precise result type for OSSL_DECODER_CTX_new_by_EVP_PKEY() 2020-10-04 13:01:47 +02:00
encoder_err.c ENCODER: Refactor the OSSL_ENCODER API to be more like OSSL_DECODER 2020-09-20 17:31:22 +02:00
encoder_lib.c ENCODER: Refactor the OSSL_ENCODER API to be more like OSSL_DECODER 2020-09-20 17:31:22 +02:00
encoder_local.h ENCODER: Refactor the OSSL_ENCODER API to be more like OSSL_DECODER 2020-09-20 17:31:22 +02:00
encoder_meth.c ENCODER: Refactor the OSSL_ENCODER API to be more like OSSL_DECODER 2020-09-20 17:31:22 +02:00
encoder_pkey.c ENCODER: Refactor the OSSL_ENCODER API to be more like OSSL_DECODER 2020-09-20 17:31:22 +02:00