Hackfut Security File Manager
Current Path:
/opt/cpanel/ea-openssl11/share/doc/openssl/html/man7
opt
/
cpanel
/
ea-openssl11
/
share
/
doc
/
openssl
/
html
/
man7
/
📁
..
📄
Ed25519.html
(4.54 KB)
📄
Ed448.html
(4.54 KB)
📄
RAND.html
(4.35 KB)
📄
RAND_DRBG.html
(15.31 KB)
📄
RSA-PSS.html
(3.36 KB)
📄
SM2.html
(4.02 KB)
📄
X25519.html
(3.57 KB)
📄
X448.html
(3.57 KB)
📄
bio.html
(4.01 KB)
📄
crypto.html
(3.16 KB)
📄
ct.html
(2.61 KB)
📄
des_modes.html
(8.26 KB)
📄
evp.html
(5.8 KB)
📄
ossl_store-file.html
(3.32 KB)
📄
ossl_store.html
(4.1 KB)
📄
passphrase-encoding.html
(8.75 KB)
📄
proxy-certificates.html
(14.45 KB)
📄
scrypt.html
(5.37 KB)
📄
ssl.html
(51.82 KB)
📄
x509.html
(3.74 KB)
Editing: ossl_store.html
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ossl_store</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@localhost" /> </head> <body style="background-color: white"> <!-- INDEX BEGIN --> <div name="index"> <p><a name="__index__"></a></p> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <ul> <li><a href="#general">General</a></li> <li><a href="#uri_schemes_and_loaders">URI schemes and loaders</a></li> <li><a href="#ui_method_and_pass_phrases">UI_METHOD and pass phrases</a></li> </ul> <li><a href="#examples">EXAMPLES</a></li> <ul> <li><a href="#a_generic_call">A generic call</a></li> </ul> <li><a href="#see_also">SEE ALSO</a></li> <li><a href="#copyright">COPYRIGHT</a></li> </ul> <hr name="index" /> </div> <!-- INDEX END --> <p> </p> <hr /> <h1><a name="name">NAME</a></h1> <p>ossl_store - Store retrieval functions</p> <p> </p> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <p>#include <openssl/store.h></p> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p> </p> <h2><a name="general">General</a></h2> <p>A STORE is a layer of functionality to retrieve a number of supported objects from a repository of any kind, addressable as a filename or as a URI.</p> <p>The functionality supports the pattern "open a channel to the repository", "loop and retrieve one object at a time", and "finish up by closing the channel".</p> <p>The retrieved objects are returned as a wrapper type <strong>OSSL_STORE_INFO</strong>, from which an OpenSSL type can be retrieved.</p> <p> </p> <h2><a name="uri_schemes_and_loaders">URI schemes and loaders</a></h2> <p>Support for a URI scheme is called a STORE "loader", and can be added dynamically from the calling application or from a loadable engine.</p> <p>Support for the 'file' scheme is built into <code>libcrypto</code>. See <em>ossl_store-file(7)</em> for more information.</p> <p> </p> <h2><a name="ui_method_and_pass_phrases">UI_METHOD and pass phrases</a></h2> <p>The <strong>OSS_STORE</strong> API does nothing to enforce any specific format or encoding on the pass phrase that the <strong>UI_METHOD</strong> provides. However, the pass phrase is expected to be UTF-8 encoded. The result of any other encoding is undefined.</p> <p> </p> <hr /> <h1><a name="examples">EXAMPLES</a></h1> <p> </p> <h2><a name="a_generic_call">A generic call</a></h2> <pre> OSSL_STORE_CTX *ctx = OSSL_STORE_open("<a href="file:/foo/bar/data.pem"">file:/foo/bar/data.pem"</a>;);</pre> <pre> /* * OSSL_STORE_eof() simulates file semantics for any repository to signal * that no more data can be expected */ while (!OSSL_STORE_eof(ctx)) { OSSL_STORE_INFO *info = OSSL_STORE_load(ctx);</pre> <pre> /* * Do whatever is necessary with the OSSL_STORE_INFO, * here just one example */ switch (OSSL_STORE_INFO_get_type(info)) { case OSSL_STORE_INFO_X509: /* Print the X.509 certificate text */ X509_print_fp(stdout, OSSL_STORE_INFO_get0_CERT(info)); /* Print the X.509 certificate PEM output */ PEM_write_X509(stdout, OSSL_STORE_INFO_get0_CERT(info)); break; } }</pre> <pre> OSSL_STORE_close(ctx);</pre> <p> </p> <hr /> <h1><a name="see_also">SEE ALSO</a></h1> <p><em>OSSL_STORE_INFO(3)</em>, <em>OSSL_STORE_LOADER(3)</em>, <em>OSSL_STORE_open(3)</em>, <em>OSSL_STORE_expect(3)</em>, <em>OSSL_STORE_SEARCH(3)</em></p> <p> </p> <hr /> <h1><a name="copyright">COPYRIGHT</a></h1> <p>Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.</p> <p>Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p> </body> </html>
Upload File
Create Folder