Turn audio into a shareable video. forked from nypublicradio/audiogram

cmserr.h 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. #ifndef HEADER_CMSERR_H
  11. # define HEADER_CMSERR_H
  12. # ifndef HEADER_SYMHACKS_H
  13. # include <openssl/symhacks.h>
  14. # endif
  15. # include <openssl/opensslconf.h>
  16. # ifndef OPENSSL_NO_CMS
  17. # ifdef __cplusplus
  18. extern "C"
  19. # endif
  20. int ERR_load_CMS_strings(void);
  21. /*
  22. * CMS function codes.
  23. */
  24. # define CMS_F_CHECK_CONTENT 99
  25. # define CMS_F_CMS_ADD0_CERT 164
  26. # define CMS_F_CMS_ADD0_RECIPIENT_KEY 100
  27. # define CMS_F_CMS_ADD0_RECIPIENT_PASSWORD 165
  28. # define CMS_F_CMS_ADD1_RECEIPTREQUEST 158
  29. # define CMS_F_CMS_ADD1_RECIPIENT_CERT 101
  30. # define CMS_F_CMS_ADD1_SIGNER 102
  31. # define CMS_F_CMS_ADD1_SIGNINGTIME 103
  32. # define CMS_F_CMS_COMPRESS 104
  33. # define CMS_F_CMS_COMPRESSEDDATA_CREATE 105
  34. # define CMS_F_CMS_COMPRESSEDDATA_INIT_BIO 106
  35. # define CMS_F_CMS_COPY_CONTENT 107
  36. # define CMS_F_CMS_COPY_MESSAGEDIGEST 108
  37. # define CMS_F_CMS_DATA 109
  38. # define CMS_F_CMS_DATAFINAL 110
  39. # define CMS_F_CMS_DATAINIT 111
  40. # define CMS_F_CMS_DECRYPT 112
  41. # define CMS_F_CMS_DECRYPT_SET1_KEY 113
  42. # define CMS_F_CMS_DECRYPT_SET1_PASSWORD 166
  43. # define CMS_F_CMS_DECRYPT_SET1_PKEY 114
  44. # define CMS_F_CMS_DIGESTALGORITHM_FIND_CTX 115
  45. # define CMS_F_CMS_DIGESTALGORITHM_INIT_BIO 116
  46. # define CMS_F_CMS_DIGESTEDDATA_DO_FINAL 117
  47. # define CMS_F_CMS_DIGEST_VERIFY 118
  48. # define CMS_F_CMS_ENCODE_RECEIPT 161
  49. # define CMS_F_CMS_ENCRYPT 119
  50. # define CMS_F_CMS_ENCRYPTEDCONTENT_INIT 179
  51. # define CMS_F_CMS_ENCRYPTEDCONTENT_INIT_BIO 120
  52. # define CMS_F_CMS_ENCRYPTEDDATA_DECRYPT 121
  53. # define CMS_F_CMS_ENCRYPTEDDATA_ENCRYPT 122
  54. # define CMS_F_CMS_ENCRYPTEDDATA_SET1_KEY 123
  55. # define CMS_F_CMS_ENVELOPEDDATA_CREATE 124
  56. # define CMS_F_CMS_ENVELOPEDDATA_INIT_BIO 125
  57. # define CMS_F_CMS_ENVELOPED_DATA_INIT 126
  58. # define CMS_F_CMS_ENV_ASN1_CTRL 171
  59. # define CMS_F_CMS_FINAL 127
  60. # define CMS_F_CMS_GET0_CERTIFICATE_CHOICES 128
  61. # define CMS_F_CMS_GET0_CONTENT 129
  62. # define CMS_F_CMS_GET0_ECONTENT_TYPE 130
  63. # define CMS_F_CMS_GET0_ENVELOPED 131
  64. # define CMS_F_CMS_GET0_REVOCATION_CHOICES 132
  65. # define CMS_F_CMS_GET0_SIGNED 133
  66. # define CMS_F_CMS_MSGSIGDIGEST_ADD1 162
  67. # define CMS_F_CMS_RECEIPTREQUEST_CREATE0 159
  68. # define CMS_F_CMS_RECEIPT_VERIFY 160
  69. # define CMS_F_CMS_RECIPIENTINFO_DECRYPT 134
  70. # define CMS_F_CMS_RECIPIENTINFO_ENCRYPT 169
  71. # define CMS_F_CMS_RECIPIENTINFO_KARI_ENCRYPT 178
  72. # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ALG 175
  73. # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_ORIG_ID 173
  74. # define CMS_F_CMS_RECIPIENTINFO_KARI_GET0_REKS 172
  75. # define CMS_F_CMS_RECIPIENTINFO_KARI_ORIG_ID_CMP 174
  76. # define CMS_F_CMS_RECIPIENTINFO_KEKRI_DECRYPT 135
  77. # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ENCRYPT 136
  78. # define CMS_F_CMS_RECIPIENTINFO_KEKRI_GET0_ID 137
  79. # define CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP 138
  80. # define CMS_F_CMS_RECIPIENTINFO_KTRI_CERT_CMP 139
  81. # define CMS_F_CMS_RECIPIENTINFO_KTRI_DECRYPT 140
  82. # define CMS_F_CMS_RECIPIENTINFO_KTRI_ENCRYPT 141
  83. # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_ALGS 142
  84. # define CMS_F_CMS_RECIPIENTINFO_KTRI_GET0_SIGNER_ID 143
  85. # define CMS_F_CMS_RECIPIENTINFO_PWRI_CRYPT 167
  86. # define CMS_F_CMS_RECIPIENTINFO_SET0_KEY 144
  87. # define CMS_F_CMS_RECIPIENTINFO_SET0_PASSWORD 168
  88. # define CMS_F_CMS_RECIPIENTINFO_SET0_PKEY 145
  89. # define CMS_F_CMS_SD_ASN1_CTRL 170
  90. # define CMS_F_CMS_SET1_IAS 176
  91. # define CMS_F_CMS_SET1_KEYID 177
  92. # define CMS_F_CMS_SET1_SIGNERIDENTIFIER 146
  93. # define CMS_F_CMS_SET_DETACHED 147
  94. # define CMS_F_CMS_SIGN 148
  95. # define CMS_F_CMS_SIGNED_DATA_INIT 149
  96. # define CMS_F_CMS_SIGNERINFO_CONTENT_SIGN 150
  97. # define CMS_F_CMS_SIGNERINFO_SIGN 151
  98. # define CMS_F_CMS_SIGNERINFO_VERIFY 152
  99. # define CMS_F_CMS_SIGNERINFO_VERIFY_CERT 153
  100. # define CMS_F_CMS_SIGNERINFO_VERIFY_CONTENT 154
  101. # define CMS_F_CMS_SIGN_RECEIPT 163
  102. # define CMS_F_CMS_SI_CHECK_ATTRIBUTES 183
  103. # define CMS_F_CMS_STREAM 155
  104. # define CMS_F_CMS_UNCOMPRESS 156
  105. # define CMS_F_CMS_VERIFY 157
  106. # define CMS_F_KEK_UNWRAP_KEY 180
  107. /*
  108. * CMS reason codes.
  109. */
  110. # define CMS_R_ADD_SIGNER_ERROR 99
  111. # define CMS_R_ATTRIBUTE_ERROR 161
  112. # define CMS_R_CERTIFICATE_ALREADY_PRESENT 175
  113. # define CMS_R_CERTIFICATE_HAS_NO_KEYID 160
  114. # define CMS_R_CERTIFICATE_VERIFY_ERROR 100
  115. # define CMS_R_CIPHER_INITIALISATION_ERROR 101
  116. # define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR 102
  117. # define CMS_R_CMS_DATAFINAL_ERROR 103
  118. # define CMS_R_CMS_LIB 104
  119. # define CMS_R_CONTENTIDENTIFIER_MISMATCH 170
  120. # define CMS_R_CONTENT_NOT_FOUND 105
  121. # define CMS_R_CONTENT_TYPE_MISMATCH 171
  122. # define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA 106
  123. # define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA 107
  124. # define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA 108
  125. # define CMS_R_CONTENT_VERIFY_ERROR 109
  126. # define CMS_R_CTRL_ERROR 110
  127. # define CMS_R_CTRL_FAILURE 111
  128. # define CMS_R_DECRYPT_ERROR 112
  129. # define CMS_R_ERROR_GETTING_PUBLIC_KEY 113
  130. # define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE 114
  131. # define CMS_R_ERROR_SETTING_KEY 115
  132. # define CMS_R_ERROR_SETTING_RECIPIENTINFO 116
  133. # define CMS_R_INVALID_ENCRYPTED_KEY_LENGTH 117
  134. # define CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER 176
  135. # define CMS_R_INVALID_KEY_LENGTH 118
  136. # define CMS_R_MD_BIO_INIT_ERROR 119
  137. # define CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH 120
  138. # define CMS_R_MESSAGEDIGEST_WRONG_LENGTH 121
  139. # define CMS_R_MSGSIGDIGEST_ERROR 172
  140. # define CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE 162
  141. # define CMS_R_MSGSIGDIGEST_WRONG_LENGTH 163
  142. # define CMS_R_NEED_ONE_SIGNER 164
  143. # define CMS_R_NOT_A_SIGNED_RECEIPT 165
  144. # define CMS_R_NOT_ENCRYPTED_DATA 122
  145. # define CMS_R_NOT_KEK 123
  146. # define CMS_R_NOT_KEY_AGREEMENT 181
  147. # define CMS_R_NOT_KEY_TRANSPORT 124
  148. # define CMS_R_NOT_PWRI 177
  149. # define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 125
  150. # define CMS_R_NO_CIPHER 126
  151. # define CMS_R_NO_CONTENT 127
  152. # define CMS_R_NO_CONTENT_TYPE 173
  153. # define CMS_R_NO_DEFAULT_DIGEST 128
  154. # define CMS_R_NO_DIGEST_SET 129
  155. # define CMS_R_NO_KEY 130
  156. # define CMS_R_NO_KEY_OR_CERT 174
  157. # define CMS_R_NO_MATCHING_DIGEST 131
  158. # define CMS_R_NO_MATCHING_RECIPIENT 132
  159. # define CMS_R_NO_MATCHING_SIGNATURE 166
  160. # define CMS_R_NO_MSGSIGDIGEST 167
  161. # define CMS_R_NO_PASSWORD 178
  162. # define CMS_R_NO_PRIVATE_KEY 133
  163. # define CMS_R_NO_PUBLIC_KEY 134
  164. # define CMS_R_NO_RECEIPT_REQUEST 168
  165. # define CMS_R_NO_SIGNERS 135
  166. # define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 136
  167. # define CMS_R_RECEIPT_DECODE_ERROR 169
  168. # define CMS_R_RECIPIENT_ERROR 137
  169. # define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND 138
  170. # define CMS_R_SIGNFINAL_ERROR 139
  171. # define CMS_R_SMIME_TEXT_ERROR 140
  172. # define CMS_R_STORE_INIT_ERROR 141
  173. # define CMS_R_TYPE_NOT_COMPRESSED_DATA 142
  174. # define CMS_R_TYPE_NOT_DATA 143
  175. # define CMS_R_TYPE_NOT_DIGESTED_DATA 144
  176. # define CMS_R_TYPE_NOT_ENCRYPTED_DATA 145
  177. # define CMS_R_TYPE_NOT_ENVELOPED_DATA 146
  178. # define CMS_R_UNABLE_TO_FINALIZE_CONTEXT 147
  179. # define CMS_R_UNKNOWN_CIPHER 148
  180. # define CMS_R_UNKNOWN_DIGEST_ALGORITHM 149
  181. # define CMS_R_UNKNOWN_ID 150
  182. # define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM 151
  183. # define CMS_R_UNSUPPORTED_CONTENT_TYPE 152
  184. # define CMS_R_UNSUPPORTED_KEK_ALGORITHM 153
  185. # define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM 179
  186. # define CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE 155
  187. # define CMS_R_UNSUPPORTED_RECIPIENT_TYPE 154
  188. # define CMS_R_UNSUPPORTED_TYPE 156
  189. # define CMS_R_UNWRAP_ERROR 157
  190. # define CMS_R_UNWRAP_FAILURE 180
  191. # define CMS_R_VERIFICATION_FAILURE 158
  192. # define CMS_R_WRAP_ERROR 159
  193. # endif
  194. #endif