openssl/crypto/x509
Richard Levitte 34b80d0622 STORE: Modify to support loading with provider based loaders
This adds the needed code to make the OSSL_STORE API functions handle
provided STORE implementations.

This also modifies OSSL_STORE_attach() for have the URI, the
library context and the properties in the same order as
OSSL_STORE_open_with_libctx().

The most notable change, though, is how this creates a division of
labor between libcrypto and any storemgmt implementation that wants to
pass X.509, X.509 CRL, etc structures back to libcrypto.  Since those
structures aren't directly supported in the libcrypto <-> provider
interface (asymmetric keys being the only exception so far), we resort
to a libcrypto object callback that can handle passed data in DER form
and does its part of figuring out what the DER content actually is.

This also adds the internal x509_crl_set0_libctx(), which works just
like x509_set0_libctx(), but for X509_CRL.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12512)
2020-08-24 10:02:26 +02:00
..
build.info
by_dir.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
by_file.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
by_store.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
ext_dat.h
pcy_cache.c
pcy_data.c Coverity Fixes for issue #12531 2020-08-04 12:34:22 +10:00
pcy_lib.c
pcy_local.h
pcy_map.c
pcy_node.c
pcy_tree.c
standard_exts.h
t_crl.c
t_req.c
t_x509.c Constify X509_check_akid and prefer using X509_get0_serialNumber over X509_get_serialNumber 2020-07-16 15:48:53 +02:00
v3_addr.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_admis.c
v3_admis.h
v3_akey.c Constify X509_check_akid and prefer using X509_get0_serialNumber over X509_get_serialNumber 2020-07-16 15:48:53 +02:00
v3_akeya.c
v3_alt.c Adjust length of some strncpy() calls 2020-05-22 15:35:21 +02:00
v3_asid.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_bcons.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_bitst.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_conf.c Add 'section=...' info in error output of X509V3_EXT_nconf() as far as appropriate 2020-08-04 09:17:47 +02:00
v3_cpols.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_crld.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_enum.c
v3_extku.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_genn.c
v3_ia5.c
v3_info.c
v3_int.c
v3_ist.c
v3_lib.c
v3_ncons.c
v3_pci.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_pcia.c
v3_pcons.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_pku.c
v3_pmaps.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_prn.c
v3_purp.c Make sure x509v3_cache_extensions() does not modify the error queue 2020-08-21 09:04:08 +02:00
v3_skey.c
v3_sxnet.c
v3_tlsf.c Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
v3_utf8.c
v3_utl.c Rename misleading X509V3_R_INVALID_NULL_NAME to X509V3_R_INVALID_EMPTY_NAME 2020-08-04 09:17:47 +02:00
v3err.c Update copyright year 2020-08-06 13:22:30 +01:00
x509_att.c
x509_cmp.c Introduce X509_add_cert[s] simplifying various additions to cert lists 2020-08-12 13:54:37 +02:00
x509_d2.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
x509_def.c
x509_err.c
x509_ext.c
x509_local.h Correct confusing X509V3 conf error output by removing needless 'section:<NULL>' etc. 2020-08-04 09:17:47 +02:00
x509_lu.c Introduce X509_add_cert[s] simplifying various additions to cert lists 2020-08-12 13:54:37 +02:00
x509_meth.c
x509_obj.c
x509_r2x.c
x509_req.c Rename EVP_PKEY_cmp() to EVP_PKEY_eq() and EVP_PKEY_cmp_parameters() to EVP_PKEY_parameters_eq() 2020-05-27 14:36:13 +02:00
x509_set.c
x509_trs.c
x509_txt.c Refactor (without semantic changes) crypto/x509/{v3_purp.c,x509_vfy.c} 2020-07-01 11:14:54 +02:00
x509_v3.c
x509_vfy.c Introduce X509_add_cert[s] simplifying various additions to cert lists 2020-08-12 13:54:37 +02:00
x509_vpm.c
x509cset.c
x509name.c
x509rset.c
x509spki.c
x509type.c
x_all.c Add libctx and propq param to ASN.1 sign/verify/HMAC/decrypt 2020-08-21 09:04:10 +02:00
x_attrib.c
x_crl.c STORE: Modify to support loading with provider based loaders 2020-08-24 10:02:26 +02:00
x_exten.c
x_name.c
x_pubkey.c Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE 2020-08-21 09:23:58 +02:00
x_req.c
x_x509.c x_x509.c: Simplify X509_new_with_libctx() using x509_set0_libctx() 2020-08-21 09:04:09 +02:00
x_x509a.c