VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/include/crypto/decoder.h@ 99507

最後變更 在這個檔案從99507是 97984,由 vboxsync 提交於 2 年 前

libs/openssl-3.0.7: Shut up pragma once warnings for internal headers. Added sed script for doing that. bugref:10317

檔案大小: 2.0 KB
 
1/*
2 * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
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
10#ifndef OSSL_CRYPTO_DECODER_H
11# define OSSL_CRYPTO_DECODER_H
12# ifndef RT_WITHOUT_PRAGMA_ONCE /* VBOX */
13# pragma once
14# endif /* VBOX */
15
16# include <openssl/decoder.h>
17
18OSSL_DECODER *ossl_decoder_fetch_by_number(OSSL_LIB_CTX *libctx,
19 int id,
20 const char *properties);
21
22/*
23 * These are specially made for the 'file:' provider-native loader, which
24 * uses this to install a DER to anything decoder, which doesn't do much
25 * except read a DER blob and pass it on as a provider object abstraction
26 * (provider-object(7)).
27 */
28void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef,
29 OSSL_PROVIDER *prov);
30
31OSSL_DECODER_INSTANCE *
32ossl_decoder_instance_new(OSSL_DECODER *decoder, void *decoderctx);
33void ossl_decoder_instance_free(OSSL_DECODER_INSTANCE *decoder_inst);
34int ossl_decoder_ctx_add_decoder_inst(OSSL_DECODER_CTX *ctx,
35 OSSL_DECODER_INSTANCE *di);
36
37int ossl_decoder_ctx_setup_for_pkey(OSSL_DECODER_CTX *ctx,
38 EVP_PKEY **pkey, const char *keytype,
39 OSSL_LIB_CTX *libctx,
40 const char *propquery);
41
42int ossl_decoder_get_number(const OSSL_DECODER *encoder);
43int ossl_decoder_store_cache_flush(OSSL_LIB_CTX *libctx);
44int ossl_decoder_store_remove_all_provided(const OSSL_PROVIDER *prov);
45
46#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette