1X509_STORE_NEW(3)                   OpenSSL                  X509_STORE_NEW(3)
2
3
4

NAME

6       X509_STORE_new, X509_STORE_up_ref, X509_STORE_free, X509_STORE_lock,
7       X509_STORE_unlock - X509_STORE allocation, freeing and locking
8       functions
9

SYNOPSIS

11        #include <openssl/x509_vfy.h>
12
13        X509_STORE *X509_STORE_new(void);
14        void X509_STORE_free(X509_STORE *v);
15        int X509_STORE_lock(X509_STORE *v);
16        int X509_STORE_unlock(X509_STORE *v);
17        int X509_STORE_up_ref(X509_STORE *v);
18

DESCRIPTION

20       The X509_STORE_new() function returns a new X509_STORE.
21
22       X509_STORE_up_ref() increments the reference count associated with the
23       X509_STORE object.
24
25       X509_STORE_lock() locks the store from modification by other threads,
26       X509_STORE_unlock() unlocks it.
27
28       X509_STORE_free() frees up a single X509_STORE object.
29

RETURN VALUES

31       X509_STORE_new() returns a newly created X509_STORE or NULL if the call
32       fails.
33
34       X509_STORE_up_ref(), X509_STORE_lock() and X509_STORE_unlock() return 1
35       for success and 0 for failure.
36
37       X509_STORE_free() does not return values.
38

SEE ALSO

40       X509_STORE_set_verify_cb_func(3) X509_STORE_get0_param(3)
41

HISTORY

43       The X509_STORE_up_ref(), X509_STORE_lock() and X509_STORE_unlock()
44       functions were added in OpenSSL 1.1.0.
45
47       Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
48
49       Licensed under the OpenSSL license (the "License").  You may not use
50       this file except in compliance with the License.  You can obtain a copy
51       in the file LICENSE in the source distribution or at
52       <https://www.openssl.org/source/license.html>.
53
54
55
561.1.1i                            2021-01-26                 X509_STORE_NEW(3)
Impressum