summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/X509_LOOKUP_hash_dir.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/X509_LOOKUP_hash_dir.3')
-rw-r--r--src/lib/libcrypto/man/X509_LOOKUP_hash_dir.314
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/X509_LOOKUP_hash_dir.3 b/src/lib/libcrypto/man/X509_LOOKUP_hash_dir.3
index 4b06525994..886b3d303a 100644
--- a/src/lib/libcrypto/man/X509_LOOKUP_hash_dir.3
+++ b/src/lib/libcrypto/man/X509_LOOKUP_hash_dir.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_LOOKUP_hash_dir.3,v 1.1 2016/12/04 20:51:47 schwarze Exp $ 1.\" $OpenBSD: X509_LOOKUP_hash_dir.3,v 1.2 2016/12/05 16:38:24 jmc Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file was written by Victor B. Wagner <vitus@cryptocom.ru> 4.\" This file was written by Victor B. Wagner <vitus@cryptocom.ru>
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 4 2016 $ 52.Dd $Mdocdate: December 5 2016 $
53.Dt X509_LOOKUP_HASH_DIR 3 53.Dt X509_LOOKUP_HASH_DIR 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -89,7 +89,7 @@ and
89.Fn X509_LOOKUP_file 89.Fn X509_LOOKUP_file
90are two certificate lookup methods to use with 90are two certificate lookup methods to use with
91.Vt X509_STORE , 91.Vt X509_STORE ,
92provided by OpenSSL library. 92provided by the OpenSSL library.
93.Pp 93.Pp
94Users of the library typically do not need to create instances of these 94Users of the library typically do not need to create instances of these
95methods manually. 95methods manually.
@@ -99,7 +99,7 @@ or
99.Xr SSL_CTX_load_verify_locations 3 99.Xr SSL_CTX_load_verify_locations 3
100functions. 100functions.
101.Pp 101.Pp
102Internally loading of certificates and CRLs is implemented via functions 102Internally, loading of certificates and CRLs is implemented via the functions
103.Fn X509_load_cert_crl_file , 103.Fn X509_load_cert_crl_file ,
104.Fn X509_load_cert_file 104.Fn X509_load_cert_file
105and 105and
@@ -137,7 +137,7 @@ The constant
137.Dv FILETYPE_DEFAULT 137.Dv FILETYPE_DEFAULT
138with 138with
139.Dv NULL 139.Dv NULL
140filename causes these functions to load default certificate 140filename causes these functions to load the default certificate
141store file (see 141store file (see
142.Xr X509_STORE_set_default_paths 3 ) . 142.Xr X509_STORE_set_default_paths 3 ) .
143.Pp 143.Pp
@@ -162,7 +162,7 @@ This method should be used by applications which work with a small set
162of CAs. 162of CAs.
163.Ss Hashed Directory Method 163.Ss Hashed Directory Method
164.Fa X509_LOOKUP_hash_dir 164.Fa X509_LOOKUP_hash_dir
165is a more advanced method, which loads certificates and CRLs on demand, 165is a more advanced method which loads certificates and CRLs on demand,
166and caches them in memory once they are loaded. 166and caches them in memory once they are loaded.
167As of OpenSSL 1.0.0, it also checks for newer CRLs upon each lookup, so 167As of OpenSSL 1.0.0, it also checks for newer CRLs upon each lookup, so
168that newer CRLs are used as soon as they appear in the directory. 168that newer CRLs are used as soon as they appear in the directory.
@@ -182,7 +182,7 @@ name for CRLs.
182The hash can also be obtained via the 182The hash can also be obtained via the
183.Fl hash 183.Fl hash
184option of the 184option of the
185.Xr openssl 185.Xr openssl 1
186.Cm x509 186.Cm x509
187or 187or
188.Cm crl 188.Cm crl