]>
Commit | Line | Data |
---|---|---|
4c17819c | 1 | /* |
25f2138b | 2 | * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved. |
4c17819c | 3 | * |
48f4ad77 | 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
4c17819c RL |
5 | * this file except in compliance with the License. You can obtain a copy |
6 | * in the file LICENSE in the source distribution or at | |
7 | * https://www.openssl.org/source/license.html | |
8 | */ | |
9 | ||
ae4186b0 DMSP |
10 | #ifndef OSSL_CRYPTO_STORE_H |
11 | # define OSSL_CRYPTO_STORE_H | |
4c17819c RL |
12 | |
13 | # include <openssl/bio.h> | |
14 | # include <openssl/store.h> | |
15 | # include <openssl/ui.h> | |
16 | ||
4c17819c RL |
17 | /* |
18 | * Two functions to read PEM data off an already opened BIO. To be used | |
19 | * instead of OSSLSTORE_open() and OSSLSTORE_close(). Everything is done | |
20 | * as usual with OSSLSTORE_load() and OSSLSTORE_eof(). | |
21 | */ | |
22 | OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method, | |
23 | void *ui_data); | |
24 | int ossl_store_detach_pem_bio(OSSL_STORE_CTX *ctx); | |
25 | ||
25f2138b DMSP |
26 | void ossl_store_cleanup_int(void); |
27 | ||
4c17819c | 28 | #endif |