lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | # Copyright 1999-2017 The OpenSSL Project Authors. All Rights Reserved. |
| 2 | # |
| 3 | # Licensed under the OpenSSL license (the "License"). You may not use |
| 4 | # this file except in compliance with the License. You can obtain a copy |
| 5 | # in the file LICENSE in the source distribution or at |
| 6 | # https://www.openssl.org/source/license.html |
| 7 | |
| 8 | # Function codes |
| 9 | CAPI_F_CAPI_CERT_GET_FNAME:99:capi_cert_get_fname |
| 10 | CAPI_F_CAPI_CTRL:100:capi_ctrl |
| 11 | CAPI_F_CAPI_CTX_NEW:101:capi_ctx_new |
| 12 | CAPI_F_CAPI_CTX_SET_PROVNAME:102:capi_ctx_set_provname |
| 13 | CAPI_F_CAPI_DSA_DO_SIGN:114:capi_dsa_do_sign |
| 14 | CAPI_F_CAPI_GET_KEY:103:capi_get_key |
| 15 | CAPI_F_CAPI_GET_PKEY:115:capi_get_pkey |
| 16 | CAPI_F_CAPI_GET_PROVNAME:104:capi_get_provname |
| 17 | CAPI_F_CAPI_GET_PROV_INFO:105:capi_get_prov_info |
| 18 | CAPI_F_CAPI_INIT:106:capi_init |
| 19 | CAPI_F_CAPI_LIST_CONTAINERS:107:capi_list_containers |
| 20 | CAPI_F_CAPI_LOAD_PRIVKEY:108:capi_load_privkey |
| 21 | CAPI_F_CAPI_OPEN_STORE:109:capi_open_store |
| 22 | CAPI_F_CAPI_RSA_PRIV_DEC:110:capi_rsa_priv_dec |
| 23 | CAPI_F_CAPI_RSA_PRIV_ENC:111:capi_rsa_priv_enc |
| 24 | CAPI_F_CAPI_RSA_SIGN:112:capi_rsa_sign |
| 25 | CAPI_F_CAPI_VTRACE:118:capi_vtrace |
| 26 | CAPI_F_CERT_SELECT_DIALOG:117:cert_select_dialog |
| 27 | CAPI_F_CLIENT_CERT_SELECT:116:* |
| 28 | CAPI_F_WIDE_TO_ASC:113:wide_to_asc |
| 29 | |
| 30 | #Reason codes |
| 31 | CAPI_R_CANT_CREATE_HASH_OBJECT:100:cant create hash object |
| 32 | CAPI_R_CANT_FIND_CAPI_CONTEXT:101:cant find capi context |
| 33 | CAPI_R_CANT_GET_KEY:102:cant get key |
| 34 | CAPI_R_CANT_SET_HASH_VALUE:103:cant set hash value |
| 35 | CAPI_R_CRYPTACQUIRECONTEXT_ERROR:104:cryptacquirecontext error |
| 36 | CAPI_R_CRYPTENUMPROVIDERS_ERROR:105:cryptenumproviders error |
| 37 | CAPI_R_DECRYPT_ERROR:106:decrypt error |
| 38 | CAPI_R_ENGINE_NOT_INITIALIZED:107:engine not initialized |
| 39 | CAPI_R_ENUMCONTAINERS_ERROR:108:enumcontainers error |
| 40 | CAPI_R_ERROR_ADDING_CERT:109:error adding cert |
| 41 | CAPI_R_ERROR_CREATING_STORE:110:error creating store |
| 42 | CAPI_R_ERROR_GETTING_FRIENDLY_NAME:111:error getting friendly name |
| 43 | CAPI_R_ERROR_GETTING_KEY_PROVIDER_INFO:112:error getting key provider info |
| 44 | CAPI_R_ERROR_OPENING_STORE:113:error opening store |
| 45 | CAPI_R_ERROR_SIGNING_HASH:114:error signing hash |
| 46 | CAPI_R_FILE_OPEN_ERROR:115:file open error |
| 47 | CAPI_R_FUNCTION_NOT_SUPPORTED:116:function not supported |
| 48 | CAPI_R_GETUSERKEY_ERROR:117:getuserkey error |
| 49 | CAPI_R_INVALID_DIGEST_LENGTH:118:invalid digest length |
| 50 | CAPI_R_INVALID_DSA_PUBLIC_KEY_BLOB_MAGIC_NUMBER:119:\ |
| 51 | invalid dsa public key blob magic number |
| 52 | CAPI_R_INVALID_LOOKUP_METHOD:120:invalid lookup method |
| 53 | CAPI_R_INVALID_PUBLIC_KEY_BLOB:121:invalid public key blob |
| 54 | CAPI_R_INVALID_RSA_PUBLIC_KEY_BLOB_MAGIC_NUMBER:122:\ |
| 55 | invalid rsa public key blob magic number |
| 56 | CAPI_R_PUBKEY_EXPORT_ERROR:123:pubkey export error |
| 57 | CAPI_R_PUBKEY_EXPORT_LENGTH_ERROR:124:pubkey export length error |
| 58 | CAPI_R_UNKNOWN_COMMAND:125:unknown command |
| 59 | CAPI_R_UNSUPPORTED_ALGORITHM_NID:126:unsupported algorithm nid |
| 60 | CAPI_R_UNSUPPORTED_PADDING:127:unsupported padding |
| 61 | CAPI_R_UNSUPPORTED_PUBLIC_KEY_ALGORITHM:128:unsupported public key algorithm |
| 62 | CAPI_R_WIN32_ERROR:129:win32 error |