Add the STORE module
authorRichard Levitte <levitte@openssl.org>
Thu, 8 Dec 2016 14:51:31 +0000 (15:51 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 29 Jun 2017 09:55:31 +0000 (11:55 +0200)
commit71a5516dcc8a91a9c4fbb724ea7e3658e85f2ad2
treeba9b278594053af5efeb2af40d64ffb43007eabe
parentc785fd48e68611c837f4e30027c02b84525501af
Add the STORE module

This STORE module adds the following functionality:

- A function OSSL_STORE_open(), OSSL_STORE_load() and OSSL_STORE_close()
  that accesses a URI and helps loading the supported objects (PKEYs,
  CERTs and CRLs for the moment) from it.
- An opaque type OSSL_STORE_INFO that holds information on each loaded
  object.
- A few functions to retrieve desired data from a OSSL_STORE_INFO
  reference.
- Functions to register and unregister loaders for different URI
  schemes.  This enables dynamic addition of loaders from applications
  or from engines.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3542)
20 files changed:
Configure
crypto/err/err.c
crypto/err/err_all.c
crypto/err/openssl.ec
crypto/err/openssl.txt
crypto/include/internal/store.h [new file with mode: 0644]
crypto/init.c
crypto/store/build.info [new file with mode: 0644]
crypto/store/store_err.c [new file with mode: 0644]
crypto/store/store_init.c [new file with mode: 0644]
crypto/store/store_lib.c [new file with mode: 0644]
crypto/store/store_locl.h [new file with mode: 0644]
crypto/store/store_register.c [new file with mode: 0644]
crypto/store/store_strings.c [new file with mode: 0644]
include/openssl/err.h
include/openssl/ossl_typ.h
include/openssl/store.h [new file with mode: 0644]
include/openssl/storeerr.h [new file with mode: 0644]
util/libcrypto.num
util/private.num