VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.0/crypto/provider_local.h@ 100908

最後變更 在這個檔案從100908是 99366,由 vboxsync 提交於 21 月 前

openssl-3.1.0: Applied and adjusted our OpenSSL changes to 3.0.7. bugref:10418

檔案大小: 1.0 KB
 
1/*
2 * Copyright 2019-2021 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#include <openssl/core.h>
11
12typedef struct {
13 char *name;
14 char *value;
15} INFOPAIR;
16DEFINE_STACK_OF(INFOPAIR)
17
18typedef struct {
19 char *name;
20 char *path;
21 OSSL_provider_init_fn *init;
22 STACK_OF(INFOPAIR) *parameters;
23 unsigned int is_fallback:1;
24} OSSL_PROVIDER_INFO;
25
26extern const OSSL_PROVIDER_INFO ossl_predefined_providers[];
27
28void ossl_provider_info_clear(OSSL_PROVIDER_INFO *info);
29int ossl_provider_info_add_to_store(OSSL_LIB_CTX *libctx,
30 OSSL_PROVIDER_INFO *entry);
31int ossl_provider_info_add_parameter(OSSL_PROVIDER_INFO *provinfo,
32 const char *name,
33 const char *value);
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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