Blame include/crypto/store.h

Packit c4476c
/*
Packit c4476c
 * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
 *
Packit c4476c
 * Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
 * this file except in compliance with the License.  You can obtain a copy
Packit c4476c
 * in the file LICENSE in the source distribution or at
Packit c4476c
 * https://www.openssl.org/source/license.html
Packit c4476c
 */
Packit c4476c
Packit c4476c
#ifndef OSSL_CRYPTO_STORE_H
Packit c4476c
# define OSSL_CRYPTO_STORE_H
Packit c4476c
Packit c4476c
# include <openssl/bio.h>
Packit c4476c
# include <openssl/store.h>
Packit c4476c
# include <openssl/ui.h>
Packit c4476c
Packit c4476c
/*
Packit c4476c
 * Two functions to read PEM data off an already opened BIO.  To be used
Packit c4476c
 * instead of OSSLSTORE_open() and OSSLSTORE_close().  Everything is done
Packit c4476c
 * as usual with OSSLSTORE_load() and OSSLSTORE_eof().
Packit c4476c
 */
Packit c4476c
OSSL_STORE_CTX *ossl_store_attach_pem_bio(BIO *bp, const UI_METHOD *ui_method,
Packit c4476c
                                          void *ui_data);
Packit c4476c
int ossl_store_detach_pem_bio(OSSL_STORE_CTX *ctx);
Packit c4476c
Packit c4476c
void ossl_store_cleanup_int(void);
Packit c4476c
Packit c4476c
#endif