codekingpro/portable-devtools
115k
1/*2 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.3 *4 * Licensed under the Apache License 2.0 (the "License"). You may not use5 * this file except in compliance with the License. You can obtain a copy6 * in the file LICENSE in the source distribution or at7 * https://www.openssl.org/source/license.html8 */9 10#ifndef OPENSSL_CORE_OBJECT_H11# define OPENSSL_CORE_OBJECT_H12# pragma once13 14# ifdef __cplusplus15extern "C" {16# endif17 18/*-19 * Known object types20 *21 * These numbers are used as values for the OSSL_PARAM parameter22 * OSSL_OBJECT_PARAM_TYPE.23 *24 * For most of these types, there's a corresponding libcrypto object type.25 * The corresponding type is indicated with a comment after the number.26 */27# define OSSL_OBJECT_UNKNOWN 028# define OSSL_OBJECT_NAME 1 /* char * */29# define OSSL_OBJECT_PKEY 2 /* EVP_PKEY * */30# define OSSL_OBJECT_CERT 3 /* X509 * */31# define OSSL_OBJECT_CRL 4 /* X509_CRL * */32 33/*34 * The rest of the associated OSSL_PARAM elements is described in core_names.h35 */36 37# ifdef __cplusplus38}39# endif40 41#endif42 