diff options
Diffstat (limited to 'doc/man3/X509_STORE_add_cert.pod')
-rw-r--r-- | doc/man3/X509_STORE_add_cert.pod | 60 |
1 files changed, 29 insertions, 31 deletions
diff --git a/doc/man3/X509_STORE_add_cert.pod b/doc/man3/X509_STORE_add_cert.pod index 011cd94711..7734d78a7b 100644 --- a/doc/man3/X509_STORE_add_cert.pod +++ b/doc/man3/X509_STORE_add_cert.pod @@ -6,10 +6,10 @@ X509_STORE, X509_STORE_add_cert, X509_STORE_add_crl, X509_STORE_set_depth, X509_STORE_set_flags, X509_STORE_set_purpose, X509_STORE_set_trust, X509_STORE_add_lookup, -X509_STORE_load_file_with_libctx, X509_STORE_load_file, X509_STORE_load_path, -X509_STORE_load_store_with_libctx, X509_STORE_load_store, -X509_STORE_set_default_paths_with_libctx, X509_STORE_set_default_paths, -X509_STORE_load_locations_with_libctx, X509_STORE_load_locations +X509_STORE_load_file_ex, X509_STORE_load_file, X509_STORE_load_path, +X509_STORE_load_store_ex, X509_STORE_load_store, +X509_STORE_set_default_paths_ex, X509_STORE_set_default_paths, +X509_STORE_load_locations_ex, X509_STORE_load_locations - X509_STORE manipulation =head1 SYNOPSIS @@ -28,21 +28,19 @@ X509_STORE_load_locations_with_libctx, X509_STORE_load_locations X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *store, X509_LOOKUP_METHOD *meth); - int X509_STORE_set_default_paths_with_libctx(X509_STORE *ctx, - OPENSSL_CTX *libctx, - const char *propq); + int X509_STORE_set_default_paths_ex(X509_STORE *ctx, OPENSSL_CTX *libctx, + const char *propq); int X509_STORE_set_default_paths(X509_STORE *ctx); - int X509_STORE_load_file_with_libctx(X509_STORE *ctx, const char *file, - OPENSSL_CTX *libctx, const char *propq); + int X509_STORE_load_file_ex(X509_STORE *ctx, const char *file, + OPENSSL_CTX *libctx, const char *propq); int X509_STORE_load_file(X509_STORE *ctx, const char *file); int X509_STORE_load_path(X509_STORE *ctx, const char *dir); - int X509_STORE_load_store_with_libctx(X509_STORE *ctx, const char *uri, - OPENSSL_CTX *libctx, const char *propq); + int X509_STORE_load_store_ex(X509_STORE *ctx, const char *uri, + OPENSSL_CTX *libctx, const char *propq); int X509_STORE_load_store(X509_STORE *ctx, const char *uri); - int X509_STORE_load_locations_with_libctx(X509_STORE *ctx, - const char *file, const char *dir, - OPENSSL_CTX *libctx, - const char *propq); + int X509_STORE_load_locations_ex(X509_STORE *ctx, const char *file, + const char *dir, OPENSSL_CTX *libctx, + const char *propq); int X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *dir); @@ -93,11 +91,11 @@ L<X509_LOOKUP_METHOD(3)> I<meth> and adds it to the B<X509_STORE> I<store>. This also associates the B<X509_STORE> with the lookup, so B<X509_LOOKUP> functions can look up objects in that store. -X509_STORE_load_file_with_libctx() loads trusted certificate(s) into an +X509_STORE_load_file_ex() loads trusted certificate(s) into an B<X509_STORE> from a given file. The library context I<libctx> and property query <propq> are used when fetching algorithms from providers. -X509_STORE_load_file() is similar to X509_STORE_load_file_with_libctx() but +X509_STORE_load_file() is similar to X509_STORE_load_file_ex() but uses NULL for the library context I<libctx> and property query <propq>. X509_STORE_load_path() loads trusted certificate(s) into an @@ -105,41 +103,41 @@ B<X509_STORE> from a given directory path. The certificates in the directory must be in hashed form, as documented in L<X509_LOOKUP_hash_dir(3)>. -X509_STORE_load_store_with_libctx() loads trusted certificate(s) into an +X509_STORE_load_store_ex() loads trusted certificate(s) into an B<X509_STORE> from a store at a given URI. The library context I<libctx> and property query <propq> are used when fetching algorithms from providers. -X509_STORE_load_store() is similar to X509_STORE_load_store_with_libctx() but +X509_STORE_load_store() is similar to X509_STORE_load_store_ex() but uses NULL for the library context I<libctx> and property query <propq>. -X509_STORE_load_locations_with_libctx() combines -X509_STORE_load_file_with_libctx() and X509_STORE_load_dir() for a given file +X509_STORE_load_locations_ex() combines +X509_STORE_load_file_ex() and X509_STORE_load_dir() for a given file and/or directory path. It is permitted to specify just a file, just a directory, or both paths. -X509_STORE_load_locations() is similar to X509_STORE_load_locations_with_libctx() +X509_STORE_load_locations() is similar to X509_STORE_load_locations_ex() but uses NULL for the library context I<libctx> and property query <propq>. -X509_STORE_set_default_paths_with_libctx() is somewhat misnamed, in that it does +X509_STORE_set_default_paths_ex() is somewhat misnamed, in that it does not set what default paths should be used for loading certificates. Instead, it loads certificates into the B<X509_STORE> from the hardcoded default paths. The library context I<libctx> and property query <propq> are used when fetching algorithms from providers. X509_STORE_set_default_paths() is similar to -X509_STORE_set_default_paths_with_libctx() but uses NULL for the library +X509_STORE_set_default_paths_ex() but uses NULL for the library context I<libctx> and property query <propq>. =head1 RETURN VALUES X509_STORE_add_cert(), X509_STORE_add_crl(), X509_STORE_set_depth(), X509_STORE_set_flags(), X509_STORE_set_purpose(), X509_STORE_set_trust(), -X509_STORE_load_file_with_libctx(), X509_STORE_load_file(), +X509_STORE_load_file_ex(), X509_STORE_load_file(), X509_STORE_load_path(), -X509_STORE_load_store_with_libctx(), X509_STORE_load_store(), -X509_STORE_load_locations_with_libctx(), X509_STORE_load_locations(), -X509_STORE_set_default_paths_with_libctx() and X509_STORE_set_default_paths() +X509_STORE_load_store_ex(), X509_STORE_load_store(), +X509_STORE_load_locations_ex(), X509_STORE_load_locations(), +X509_STORE_set_default_paths_ex() and X509_STORE_set_default_paths() return 1 on success or 0 on failure. X509_STORE_add_lookup() returns the found or created @@ -154,9 +152,9 @@ L<X509_STORE_get0_param(3)> =head1 HISTORY -The functions X509_STORE_set_default_paths_with_libctx(), -X509_STORE_load_file_with_libctx(), X509_STORE_load_store_with_libctx() and -X509_STORE_load_locations_with_libctx() were added in OpenSSL 3.0. +The functions X509_STORE_set_default_paths_ex(), +X509_STORE_load_file_with_libctx(), X509_STORE_load_store_ex() and +X509_STORE_load_locations_ex() were added in OpenSSL 3.0. =head1 COPYRIGHT |