1 /* 2 * Generated by util/mkerr.pl DO NOT EDIT 3 * Copyright 1995-2021 The OpenSSL Project Authors. 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 #ifndef OPENSSL_STOREERR_H 12 # define OPENSSL_STOREERR_H 13 # pragma once 14 15 # include <openssl/opensslconf.h> 16 # include <openssl/symhacks.h> 17 # include <openssl/cryptoerr_legacy.h> 18 19 20 21 /* 22 * OSSL_STORE reason codes. 23 */ 24 # define OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE 107 25 # define OSSL_STORE_R_BAD_PASSWORD_READ 115 26 # define OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC 113 27 # define OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST 121 28 # define OSSL_STORE_R_INVALID_SCHEME 106 29 # define OSSL_STORE_R_IS_NOT_A 112 30 # define OSSL_STORE_R_LOADER_INCOMPLETE 116 31 # define OSSL_STORE_R_LOADING_STARTED 117 32 # define OSSL_STORE_R_NOT_A_CERTIFICATE 100 33 # define OSSL_STORE_R_NOT_A_CRL 101 34 # define OSSL_STORE_R_NOT_A_NAME 103 35 # define OSSL_STORE_R_NOT_A_PRIVATE_KEY 102 36 # define OSSL_STORE_R_NOT_A_PUBLIC_KEY 122 37 # define OSSL_STORE_R_NOT_PARAMETERS 104 38 # define OSSL_STORE_R_NO_LOADERS_FOUND 123 39 # define OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR 114 40 # define OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE 108 41 # define OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES 119 42 # define OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED 109 43 # define OSSL_STORE_R_UNREGISTERED_SCHEME 105 44 # define OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE 110 45 # define OSSL_STORE_R_UNSUPPORTED_OPERATION 118 46 # define OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE 120 47 # define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED 111 48 49 #endif 50