]>
Commit | Line | Data |
---|---|---|
71a5516d RL |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
fac8673b | 3 | * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. |
71a5516d RL |
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 | #include <openssl/err.h> | |
12 | #include <openssl/storeerr.h> | |
13 | ||
14 | #ifndef OPENSSL_NO_ERR | |
15 | ||
16 | static const ERR_STRING_DATA OSSL_STORE_str_functs[] = { | |
7852f588 | 17 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_CTRL, 0), "file_ctrl"}, |
9c6da42d RL |
18 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_GET_PASS, 0), |
19 | "file_get_pass"}, | |
20 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_LOAD, 0), "file_load"}, | |
1aabc244 RL |
21 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_LOAD_TRY_DECODE, 0), |
22 | "file_load_try_decode"}, | |
970f467a RL |
23 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_NAME_TO_URI, 0), |
24 | "file_name_to_uri"}, | |
9c6da42d | 25 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_FILE_OPEN, 0), "file_open"}, |
4c17819c RL |
26 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO, 0), |
27 | "ossl_store_attach_pem_bio"}, | |
072bfcc9 RL |
28 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_EXPECT, 0), |
29 | "OSSL_STORE_expect"}, | |
4c17819c RL |
30 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_FILE_ATTACH_PEM_BIO_INT, 0), |
31 | "ossl_store_file_attach_pem_bio_int"}, | |
fac8673b RL |
32 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_FIND, 0), |
33 | "OSSL_STORE_find"}, | |
71a5516d RL |
34 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_GET0_LOADER_INT, 0), |
35 | "ossl_store_get0_loader_int"}, | |
36 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_GET1_CERT, 0), | |
37 | "OSSL_STORE_INFO_get1_CERT"}, | |
38 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_GET1_CRL, 0), | |
39 | "OSSL_STORE_INFO_get1_CRL"}, | |
40 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME, 0), | |
41 | "OSSL_STORE_INFO_get1_NAME"}, | |
42 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME_DESCRIPTION, 0), | |
43 | "OSSL_STORE_INFO_get1_NAME_description"}, | |
44 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_GET1_PARAMS, 0), | |
45 | "OSSL_STORE_INFO_get1_PARAMS"}, | |
46 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_GET1_PKEY, 0), | |
47 | "OSSL_STORE_INFO_get1_PKEY"}, | |
48 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_CERT, 0), | |
49 | "OSSL_STORE_INFO_new_CERT"}, | |
50 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_CRL, 0), | |
51 | "OSSL_STORE_INFO_new_CRL"}, | |
50ecedda RL |
52 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_EMBEDDED, 0), |
53 | "ossl_store_info_new_EMBEDDED"}, | |
71a5516d RL |
54 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_NAME, 0), |
55 | "OSSL_STORE_INFO_new_NAME"}, | |
56 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_PARAMS, 0), | |
57 | "OSSL_STORE_INFO_new_PARAMS"}, | |
58 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_PKEY, 0), | |
59 | "OSSL_STORE_INFO_new_PKEY"}, | |
60 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_SET0_NAME_DESCRIPTION, 0), | |
61 | "OSSL_STORE_INFO_set0_NAME_description"}, | |
62 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INIT_ONCE, 0), | |
63 | "ossl_store_init_once"}, | |
64 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_LOADER_NEW, 0), | |
65 | "OSSL_STORE_LOADER_new"}, | |
66 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_OPEN, 0), | |
67 | "OSSL_STORE_open"}, | |
68 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_OPEN_INT, 0), ""}, | |
69 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT, 0), | |
70 | "ossl_store_register_loader_int"}, | |
fac8673b RL |
71 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ALIAS, 0), |
72 | "OSSL_STORE_SEARCH_by_alias"}, | |
73 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ISSUER_SERIAL, 0), | |
74 | "OSSL_STORE_SEARCH_by_issuer_serial"}, | |
75 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT, 0), | |
76 | "OSSL_STORE_SEARCH_by_key_fingerprint"}, | |
77 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_SEARCH_BY_NAME, 0), | |
78 | "OSSL_STORE_SEARCH_by_name"}, | |
71a5516d RL |
79 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_UNREGISTER_LOADER_INT, 0), |
80 | "ossl_store_unregister_loader_int"}, | |
9c6da42d RL |
81 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_TRY_DECODE_PARAMS, 0), |
82 | "try_decode_params"}, | |
a09003ea RL |
83 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_TRY_DECODE_PKCS12, 0), |
84 | "try_decode_PKCS12"}, | |
7ad2ef36 RL |
85 | {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED, 0), |
86 | "try_decode_PKCS8Encrypted"}, | |
71a5516d RL |
87 | {0, NULL} |
88 | }; | |
89 | ||
90 | static const ERR_STRING_DATA OSSL_STORE_str_reasons[] = { | |
9c6da42d RL |
91 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE), |
92 | "ambiguous content type"}, | |
7ad2ef36 RL |
93 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_BAD_PASSWORD_READ), |
94 | "bad password read"}, | |
a09003ea RL |
95 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC), |
96 | "error verifying pkcs12 mac"}, | |
fac8673b RL |
97 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST), |
98 | "fingerprint size does not match digest"}, | |
71a5516d RL |
99 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_INVALID_SCHEME), |
100 | "invalid scheme"}, | |
e61ec2d9 | 101 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_IS_NOT_A), "is not a"}, |
5ee40746 RL |
102 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_LOADER_INCOMPLETE), |
103 | "loader incomplete"}, | |
072bfcc9 RL |
104 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_LOADING_STARTED), |
105 | "loading started"}, | |
71a5516d RL |
106 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_CERTIFICATE), |
107 | "not a certificate"}, | |
108 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_CRL), "not a crl"}, | |
109 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_KEY), "not a key"}, | |
110 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_A_NAME), "not a name"}, | |
111 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_NOT_PARAMETERS), | |
112 | "not parameters"}, | |
a09003ea RL |
113 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR), |
114 | "passphrase callback error"}, | |
9c6da42d RL |
115 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE), |
116 | "path must be absolute"}, | |
117 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED), | |
118 | "ui process interrupted or cancelled"}, | |
71a5516d RL |
119 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNREGISTERED_SCHEME), |
120 | "unregistered scheme"}, | |
9c6da42d RL |
121 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE), |
122 | "unsupported content type"}, | |
fac8673b RL |
123 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_OPERATION), |
124 | "unsupported operation"}, | |
ba476aa3 RL |
125 | {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED), |
126 | "uri authority unsupported"}, | |
71a5516d RL |
127 | {0, NULL} |
128 | }; | |
129 | ||
130 | #endif | |
131 | ||
132 | int ERR_load_OSSL_STORE_strings(void) | |
133 | { | |
134 | #ifndef OPENSSL_NO_ERR | |
135 | if (ERR_func_error_string(OSSL_STORE_str_functs[0].error) == NULL) { | |
136 | ERR_load_strings_const(OSSL_STORE_str_functs); | |
137 | ERR_load_strings_const(OSSL_STORE_str_reasons); | |
138 | } | |
139 | #endif | |
140 | return 1; | |
141 | } |