1 /* 2 * Generated by util/mkerr.pl DO NOT EDIT 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. 4 * 5 * Licensed under the OpenSSL license (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 #ifndef HEADER_OSSL_STOREERR_H 12 # define HEADER_OSSL_STOREERR_H 13 14 # ifndef HEADER_SYMHACKS_H 15 # include <openssl/symhacks.h> 16 # endif 17 18 # ifdef __cplusplus 19 extern "C" 20 # endif 21 int ERR_load_OSSL_STORE_strings(void); 22 23 /* 24 * OSSL_STORE function codes. 25 */ 26 # define OSSL_STORE_F_FILE_CTRL 129 27 # define OSSL_STORE_F_FILE_FIND 138 28 # define OSSL_STORE_F_FILE_GET_PASS 118 29 # define OSSL_STORE_F_FILE_LOAD 119 30 # define OSSL_STORE_F_FILE_LOAD_TRY_DECODE 124 31 # define OSSL_STORE_F_FILE_NAME_TO_URI 126 32 # define OSSL_STORE_F_FILE_OPEN 120 33 # define OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO 127 34 # define OSSL_STORE_F_OSSL_STORE_EXPECT 130 35 # define OSSL_STORE_F_OSSL_STORE_FILE_ATTACH_PEM_BIO_INT 128 36 # define OSSL_STORE_F_OSSL_STORE_FIND 131 37 # define OSSL_STORE_F_OSSL_STORE_GET0_LOADER_INT 100 38 # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CERT 101 39 # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CRL 102 40 # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME 103 41 # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME_DESCRIPTION 135 42 # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PARAMS 104 43 # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PKEY 105 44 # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CERT 106 45 # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CRL 107 46 # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_EMBEDDED 123 47 # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_NAME 109 48 # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PARAMS 110 49 # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PKEY 111 50 # define OSSL_STORE_F_OSSL_STORE_INFO_SET0_NAME_DESCRIPTION 134 51 # define OSSL_STORE_F_OSSL_STORE_INIT_ONCE 112 52 # define OSSL_STORE_F_OSSL_STORE_LOADER_NEW 113 53 # define OSSL_STORE_F_OSSL_STORE_OPEN 114 54 # define OSSL_STORE_F_OSSL_STORE_OPEN_INT 115 55 # define OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT 117 56 # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ALIAS 132 57 # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ISSUER_SERIAL 133 58 # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT 136 59 # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_NAME 137 60 # define OSSL_STORE_F_OSSL_STORE_UNREGISTER_LOADER_INT 116 61 # define OSSL_STORE_F_TRY_DECODE_PARAMS 121 62 # define OSSL_STORE_F_TRY_DECODE_PKCS12 122 63 # define OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED 125 64 65 /* 66 * OSSL_STORE reason codes. 67 */ 68 # define OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE 107 69 # define OSSL_STORE_R_BAD_PASSWORD_READ 115 70 # define OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC 113 71 # define OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST 121 72 # define OSSL_STORE_R_INVALID_SCHEME 106 73 # define OSSL_STORE_R_IS_NOT_A 112 74 # define OSSL_STORE_R_LOADER_INCOMPLETE 116 75 # define OSSL_STORE_R_LOADING_STARTED 117 76 # define OSSL_STORE_R_NOT_A_CERTIFICATE 100 77 # define OSSL_STORE_R_NOT_A_CRL 101 78 # define OSSL_STORE_R_NOT_A_KEY 102 79 # define OSSL_STORE_R_NOT_A_NAME 103 80 # define OSSL_STORE_R_NOT_PARAMETERS 104 81 # define OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR 114 82 # define OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE 108 83 # define OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES 119 84 # define OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED 109 85 # define OSSL_STORE_R_UNREGISTERED_SCHEME 105 86 # define OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE 110 87 # define OSSL_STORE_R_UNSUPPORTED_OPERATION 118 88 # define OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE 120 89 # define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED 111 90 91 #endif 92