e_capi.txt 2.8 KB

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