Home | History | Annotate | Line # | Download | only in man3
      1      1.1  christos =pod
      2      1.1  christos 
      3      1.1  christos =head1 NAME
      4      1.1  christos 
      5  1.1.1.4  christos X509_STORE_new, X509_STORE_up_ref, X509_STORE_free,
      6  1.1.1.4  christos X509_STORE_lock,X509_STORE_unlock
      7  1.1.1.4  christos - X509_STORE allocation, freeing and locking functions
      8      1.1  christos 
      9      1.1  christos =head1 SYNOPSIS
     10      1.1  christos 
     11      1.1  christos  #include <openssl/x509_vfy.h>
     12      1.1  christos 
     13      1.1  christos  X509_STORE *X509_STORE_new(void);
     14      1.1  christos  void X509_STORE_free(X509_STORE *v);
     15      1.1  christos  int X509_STORE_lock(X509_STORE *v);
     16      1.1  christos  int X509_STORE_unlock(X509_STORE *v);
     17      1.1  christos  int X509_STORE_up_ref(X509_STORE *v);
     18      1.1  christos 
     19      1.1  christos =head1 DESCRIPTION
     20      1.1  christos 
     21      1.1  christos The X509_STORE_new() function returns a new X509_STORE.
     22      1.1  christos 
     23      1.1  christos X509_STORE_up_ref() increments the reference count associated with the
     24      1.1  christos X509_STORE object.
     25      1.1  christos 
     26      1.1  christos X509_STORE_lock() locks the store from modification by other threads,
     27  1.1.1.3  christos X509_STORE_unlock() unlocks it.
     28      1.1  christos 
     29      1.1  christos X509_STORE_free() frees up a single X509_STORE object.
     30  1.1.1.5  christos If the argument is NULL, nothing is done.
     31      1.1  christos 
     32      1.1  christos =head1 RETURN VALUES
     33      1.1  christos 
     34      1.1  christos X509_STORE_new() returns a newly created X509_STORE or NULL if the call fails.
     35      1.1  christos 
     36      1.1  christos X509_STORE_up_ref(), X509_STORE_lock() and X509_STORE_unlock() return
     37      1.1  christos 1 for success and 0 for failure.
     38      1.1  christos 
     39      1.1  christos X509_STORE_free() does not return values.
     40      1.1  christos 
     41      1.1  christos =head1 SEE ALSO
     42      1.1  christos 
     43      1.1  christos L<X509_STORE_set_verify_cb_func(3)>
     44      1.1  christos L<X509_STORE_get0_param(3)>
     45      1.1  christos 
     46      1.1  christos =head1 HISTORY
     47      1.1  christos 
     48      1.1  christos The X509_STORE_up_ref(), X509_STORE_lock() and X509_STORE_unlock()
     49  1.1.1.2  christos functions were added in OpenSSL 1.1.0.
     50      1.1  christos 
     51      1.1  christos =head1 COPYRIGHT
     52      1.1  christos 
     53  1.1.1.5  christos Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
     54      1.1  christos 
     55  1.1.1.4  christos Licensed under the Apache License 2.0 (the "License").  You may not use
     56      1.1  christos this file except in compliance with the License.  You can obtain a copy
     57      1.1  christos in the file LICENSE in the source distribution or at
     58      1.1  christos L<https://www.openssl.org/source/license.html>.
     59      1.1  christos 
     60      1.1  christos =cut
     61