openssl/crypto/x509v3
Dr. Stephen Henson 786dd2c22c Add support for custom signature parameters
Many signature types define the digest and public key type by a single OID
such as ecdsa_with_sha256.

Some types (RSA-PSS for example) use a single OID to indicate the signature
scheme and additional parameters are encoded in the AlgorithmIdentifier.

Add an X509_SIG_INFO structure to contain details about the signature type:
specifically the digest algorithm, public key algorithm, security bits and
various flags. This supports both existing algorithms and more complex
types.

Add accessors for the structure and a special case that retrieves signature
information from a certificate.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3301)
2017-04-25 22:12:34 +01:00
..
build.info Add more CT utility routines to be used as part of larger patch. 2016-02-25 13:59:11 -05:00
ext_dat.h Specify array sizes 2016-06-11 16:43:49 +02:00
pcy_cache.c Fix threading issue that at best will leak memory 2016-06-03 12:08:13 -04:00
pcy_data.c Spelling fixes 2016-06-16 15:08:57 -04:00
pcy_int.h Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
pcy_lib.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
pcy_map.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
pcy_node.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
pcy_tree.c spelling fixes, just comments and readme. 2016-08-05 19:07:30 -04:00
standard_exts.h Convert x509 selftests to internal test 2016-11-03 13:13:31 +01:00
v3_addr.c Spelling 2016-06-29 09:56:39 -04:00
v3_akey.c Don't leak memory in v2i_AUTHORITY_KEYID 2016-06-01 18:00:53 +01:00
v3_akeya.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_alt.c Few nit's 2017-01-25 09:06:34 +00:00
v3_asid.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_bcons.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_bitst.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_conf.c Use sk_CONF_VALUE_pop_free in do_ext_nconf error path. 2016-07-26 16:03:42 -04:00
v3_cpols.c explicitText encoding 2017-04-20 14:52:02 -04:00
v3_crld.c Don't leak memory on set_reasons() error path 2016-06-01 18:00:53 +01:00
v3_enum.c Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
v3_extku.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_genn.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_ia5.c Specify array sizes 2016-06-11 16:43:49 +02:00
v3_info.c Constify i2a* 2016-08-18 17:20:36 +01:00
v3_int.c Constify input buffers of some X509V3 and X509_PURPOSE -related methods 2016-06-15 13:22:38 -04:00
v3_lib.c Convert x509 selftests to internal test 2016-11-03 13:13:31 +01:00
v3_ncons.c Few nit's 2017-01-25 09:06:34 +00:00
v3_pci.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_pcia.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_pcons.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
v3_pku.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
v3_pmaps.c Don't leak memory in v2i_POLICY_MAPPINGS() on error path 2016-06-01 18:00:53 +01:00
v3_prn.c Convert X509_CRL* functions to use const getters 2016-08-17 13:38:03 +01:00
v3_purp.c Add support for custom signature parameters 2017-04-25 22:12:34 +01:00
v3_skey.c Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
v3_sxnet.c Constify SXNET_add_id_* 2016-07-25 08:20:00 -04:00
v3_tlsf.c Change a call of OPENSSL_strcasecmp to strcasecmp 2016-05-28 02:15:04 +02:00
v3_utl.c Few nit's 2017-01-25 09:06:34 +00:00
v3err.c Check for errors allocating the error strings. 2016-07-20 19:20:53 +02:00