]>
Commit | Line | Data |
---|---|---|
1bdbdaff | 1 | /* |
fbd2ece1 | 2 | * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved. |
1bdbdaff P |
3 | * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. |
4 | * | |
5 | * Licensed under the Apache License 2.0 (the "License"). You may not use | |
6 | * this file except in compliance with the License. You can obtain a copy | |
7 | * in the file LICENSE in the source distribution or at | |
8 | * https://www.openssl.org/source/license.html | |
9 | */ | |
10 | ||
11 | #include <openssl/crypto.h> | |
12 | #include "internal/property.h" | |
13 | ||
1bdbdaff P |
14 | typedef int OSSL_PROPERTY_IDX; |
15 | ||
1bdbdaff | 16 | /* Property string functions */ |
b4250010 | 17 | OSSL_PROPERTY_IDX ossl_property_name(OSSL_LIB_CTX *ctx, const char *s, |
1aedc35f | 18 | int create); |
b4250010 | 19 | OSSL_PROPERTY_IDX ossl_property_value(OSSL_LIB_CTX *ctx, const char *s, |
1aedc35f | 20 | int create); |
1bdbdaff P |
21 | |
22 | /* Property list functions */ | |
1bdbdaff | 23 | void ossl_property_free(OSSL_PROPERTY_LIST *p); |
da89ac0b | 24 | int ossl_property_has_optional(const OSSL_PROPERTY_LIST *query); |
1bdbdaff | 25 | |
1bdbdaff | 26 | /* Property definition cache functions */ |
b4250010 DMSP |
27 | OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop); |
28 | int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop, | |
1aedc35f | 29 | OSSL_PROPERTY_LIST *pl); |