Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:40

0001 /*
0002  * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
0003  *
0004  * Licensed under the Apache License 2.0 (the "License").  You may not use
0005  * this file except in compliance with the License.  You can obtain a copy
0006  * in the file LICENSE in the source distribution or at
0007  * https://www.openssl.org/source/license.html
0008  */
0009 
0010 #ifndef OPENSSL_CORE_OBJECT_H
0011 # define OPENSSL_CORE_OBJECT_H
0012 # pragma once
0013 
0014 # ifdef __cplusplus
0015 extern "C" {
0016 # endif
0017 
0018 /*-
0019  * Known object types
0020  *
0021  * These numbers are used as values for the OSSL_PARAM parameter
0022  * OSSL_OBJECT_PARAM_TYPE.
0023  *
0024  * For most of these types, there's a corresponding libcrypto object type.
0025  * The corresponding type is indicated with a comment after the number.
0026  */
0027 # define OSSL_OBJECT_UNKNOWN            0
0028 # define OSSL_OBJECT_NAME               1 /* char * */
0029 # define OSSL_OBJECT_PKEY               2 /* EVP_PKEY * */
0030 # define OSSL_OBJECT_CERT               3 /* X509 * */
0031 # define OSSL_OBJECT_CRL                4 /* X509_CRL * */
0032 
0033 /*
0034  * The rest of the associated OSSL_PARAM elements is described in core_names.h
0035  */
0036 
0037 # ifdef __cplusplus
0038 }
0039 # endif
0040 
0041 #endif