{
    "mode": "man",
    "parameter": "ossl_store-file",
    "section": "7ssl",
    "url": "https://www.chedong.com/phpMan.php/man/ossl_store-file/7ssl/json",
    "generated": "2026-06-03T03:35:35Z",
    "synopsis": "#include <openssl/store.h>",
    "sections": {
        "NAME": {
            "content": "osslstore-file - The store 'file' scheme loader\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#include <openssl/store.h>\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Support for the 'file' scheme is built into \"libcrypto\".  Since files come in all kinds of\nformats and content types, the 'file' scheme has its own layer of functionality called \"file\nhandlers\", which are used to try to decode diverse types of file contents.\n\nIn case a file is formatted as PEM, each called file handler receives the PEM name\n(everything following any '\"-----BEGIN \"') as well as possible PEM headers, together with the\ndecoded PEM body.  Since PEM formatted files can contain more than one object, the file\nhandlers are called upon for each such object.\n\nIf the file isn't determined to be formatted as PEM, the content is loaded in raw form in its\nentirety and passed to the available file handlers as is, with no PEM name or headers.\n\nEach file handler is expected to handle PEM and non-PEM content as appropriate.  Some may\nrefuse non-PEM content for the sake of determinism (for example, there are keys out in the\nwild that are represented as an ASN.1 OCTET STRING.  In raw form, it's not easily possible to\ndistinguish those from any other data coming as an ASN.1 OCTET STRING, so such keys would\nnaturally be accepted as PEM files only).\n",
            "subsections": []
        },
        "NOTES": {
            "content": "When needed, the 'file' scheme loader will require a pass phrase by using the UIMETHOD that\nwas passed via OSSLSTOREopen().  This pass phrase is expected to be UTF-8 encoded, anything\nelse will give an undefined result.  The files made accessible through this loader are\nexpected to be standard compliant with regards to pass phrase encoding.  Files that aren't\nshould be re-generated with a correctly encoded pass phrase.  See passphrase-encoding(7) for\nmore information.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "osslstore(7), passphrase-encoding(7)\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use this file except in\ncompliance with the License.  You can obtain a copy in the file LICENSE in the source\ndistribution or at <https://www.openssl.org/source/license.html>.\n\n\n\n3.0.2                                        2026-04-07                        OSSLSTORE-FILE(7SSL)",
            "subsections": []
        }
    },
    "summary": "osslstore-file - The store 'file' scheme loader",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "osslstore",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/osslstore/7/json"
        },
        {
            "name": "passphrase-encoding",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/passphrase-encoding/7/json"
        }
    ]
}