MYError_CSSMErrorDomain.strings
author Jens Alfke <jens@mooseyard.com>
Wed Sep 02 08:41:25 2009 -0700 (2009-09-02)
changeset 35 5cab3034d3a1
parent 22 a9da6c5d3f7c
permissions -rw-r--r--
10.6 compatibility: Fix some new compiler warnings, and work around apparent regressions in NSTask and -stringByStandardizingPath.
snej@22
     1
/* CSSM Error Constants. */
snej@22
     2
snej@22
     3
/* Copied from Keychain.framework, by Wade Tregaskis. --Jens Alfke, 4/2009 */
snej@22
     4
snej@22
     5
/* The key is the CSSM error name, as defined in various header files. */
snej@22
     6
/* The value is the constant corresponding to the code. */
snej@22
     7
snej@22
     8
/* "Standard" error codes defined by the CDSA spec., found in cssmerr.h. */
snej@22
     9
snej@22
    10
/* Apple use the private errors as one of their codes... d'oh. */
snej@22
    11
snej@22
    12
2147549184 = "CSSM_CSSM_BASE_ERROR";
snej@22
    13
2147550208 = "CSSM_CSSM_PRIVATE_ERROR";
snej@22
    14
2147551232 = "CSSM_CSP_BASE_ERROR";
snej@22
    15
/* 2147552256 = "CSSM_CSP_PRIVATE_ERROR"; */
snej@22
    16
2147553280 = "CSSM_DL_BASE_ERROR";
snej@22
    17
/* 2147554304 = "CSSM_DL_PRIVATE_ERROR"; */
snej@22
    18
2147555328 = "CSSM_CL_BASE_ERROR";
snej@22
    19
2147556352 = "CSSM_CL_PRIVATE_ERROR";
snej@22
    20
2147557376 = "CSSM_TP_BASE_ERROR";
snej@22
    21
/* 2147558400 = "CSSM_TP_PRIVATE_ERROR"; */
snej@22
    22
2147559424 = "CSSM_KR_BASE_ERROR";
snej@22
    23
2147560448 = "CSSM_KR_PRIVATE_ERROR";
snej@22
    24
2147561472 = "CSSM_AC_BASE_ERROR";
snej@22
    25
2147562496 = "CSSM_AC_PRIVATE_ERROR";
snej@22
    26
snej@22
    27
2147549441 = "CSSMERR_CSSM_INVALID_ADDIN_HANDLE";
snej@22
    28
2147549442 = "CSSMERR_CSSM_NOT_INITIALIZED";
snej@22
    29
2147549443 = "CSSMERR_CSSM_INVALID_HANDLE_USAGE";
snej@22
    30
2147549444 = "CSSMERR_CSSM_PVC_REFERENT_NOT_FOUND";
snej@22
    31
2147549445 = "CSSMERR_CSSM_FUNCTION_INTEGRITY_FAIL";
snej@22
    32
snej@22
    33
1 = "CSSM_ERRCODE_INTERNAL_ERROR";
snej@22
    34
2 = "CSSM_ERRCODE_MEMORY_ERROR";
snej@22
    35
3 = "CSSM_ERRCODE_MDS_ERROR";
snej@22
    36
4 = "CSSM_ERRCODE_INVALID_POINTER";
snej@22
    37
5 = "CSSM_ERRCODE_INVALID_INPUT_POINTER";
snej@22
    38
6 = "CSSM_ERRCODE_INVALID_OUTPUT_POINTER";
snej@22
    39
7 = "CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED";
snej@22
    40
8 = "CSSM_ERRCODE_SELF_CHECK_FAILED";
snej@22
    41
9 = "CSSM_ERRCODE_OS_ACCESS_DENIED";
snej@22
    42
10 = "CSSM_ERRCODE_FUNCTION_FAILED";
snej@22
    43
11 = "CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED";
snej@22
    44
12 = "CSSM_ERRCODE_INVALID_GUID";
snej@22
    45
snej@22
    46
32 = "CSSM_ERRCODE_OPERATION_AUTH_DENIED";
snej@22
    47
33 = "CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED";
snej@22
    48
34 = "CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED";
snej@22
    49
35 = "CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED";
snej@22
    50
36 = "CSSM_ERRCODE_OBJECT_ACL_REQUIRED";
snej@22
    51
37 = "CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS";
snej@22
    52
38 = "CSSM_ERRCODE_INVALID_ACL_BASE_CERTS";
snej@22
    53
39 = "CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED";
snej@22
    54
40 = "CSSM_ERRCODE_INVALID_SAMPLE_VALUE";
snej@22
    55
41 = "CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED";
snej@22
    56
42 = "CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE";
snej@22
    57
43 = "CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED";
snej@22
    58
44 = "CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK";
snej@22
    59
45 = "CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED";
snej@22
    60
46 = "CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG";
snej@22
    61
47 = "CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND";
snej@22
    62
48 = "CSSM_ERRCODE_INVALID_ACL_EDIT_MODE";
snej@22
    63
49 = "CSSM_ERRCODE_ACL_CHANGE_FAILED";
snej@22
    64
50 = "CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY";
snej@22
    65
51 = "CSSM_ERRCODE_INVALID_NEW_ACL_OWNER";
snej@22
    66
52 = "CSSM_ERRCODE_ACL_DELETE_FAILED";
snej@22
    67
53 = "CSSM_ERRCODE_ACL_REPLACE_FAILED";
snej@22
    68
54 = "CSSM_ERRCODE_ACL_ADD_FAILED";
snej@22
    69
snej@22
    70
64 = "CSSM_ERRCODE_INVALID_CONTEXT_HANDLE";
snej@22
    71
65 = "CSSM_ERRCODE_INCOMPATIBLE_VERSION";
snej@22
    72
66 = "CSSM_ERRCODE_INVALID_CERTGROUP_POINTER";
snej@22
    73
67 = "CSSM_ERRCODE_INVALID_CERT_POINTER";
snej@22
    74
68 = "CSSM_ERRCODE_INVALID_CRL_POINTER";
snej@22
    75
69 = "CSSM_ERRCODE_INVALID_FIELD_POINTER";
snej@22
    76
70 = "CSSM_ERRCODE_INVALID_DATA";
snej@22
    77
71 = "CSSM_ERRCODE_CRL_ALREADY_SIGNED";
snej@22
    78
72 = "CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS";
snej@22
    79
73 = "CSSM_ERRCODE_VERIFICATION_FAILURE";
snej@22
    80
74 = "CSSM_ERRCODE_INVALID_DB_HANDLE";
snej@22
    81
75 = "CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED";
snej@22
    82
76 = "CSSM_ERRCODE_INVALID_DB_LIST";
snej@22
    83
77 = "CSSM_ERRCODE_INVALID_DB_LIST_POINTER";
snej@22
    84
78 = "CSSM_ERRCODE_UNKNOWN_FORMAT";
snej@22
    85
79 = "CSSM_ERRCODE_UNKNOWN_TAG";
snej@22
    86
80 = "CSSM_ERRCODE_INVALID_CSP_HANDLE";
snej@22
    87
81 = "CSSM_ERRCODE_INVALID_DL_HANDLE";
snej@22
    88
82 = "CSSM_ERRCODE_INVALID_CL_HANDLE";
snej@22
    89
83 = "CSSM_ERRCODE_INVALID_TP_HANDLE";
snej@22
    90
84 = "CSSM_ERRCODE_INVALID_KR_HANDLE";
snej@22
    91
85 = "CSSM_ERRCODE_INVALID_AC_HANDLE";
snej@22
    92
86 = "CSSM_ERRCODE_INVALID_PASSTHROUGH_ID";
snej@22
    93
87 = "CSSM_ERRCODE_INVALID_NETWORK_ADDR";
snej@22
    94
88 = "CSSM_ERRCODE_INVALID_CRYPTO_DATA";
snej@22
    95
snej@22
    96
2147549185 = "CSSMERR_CSSM_INTERNAL_ERROR";
snej@22
    97
2147549186 = "CSSMERR_CSSM_MEMORY_ERROR";
snej@22
    98
2147549187 = "CSSMERR_CSSM_MDS_ERROR";
snej@22
    99
2147549188 = "CSSMERR_CSSM_INVALID_POINTER";
snej@22
   100
2147549189 = "CSSMERR_CSSM_INVALID_INPUT_POINTER";
snej@22
   101
2147549190 = "CSSMERR_CSSM_INVALID_OUTPUT_POINTER";
snej@22
   102
2147549191 = "CSSMERR_CSSM_FUNCTION_NOT_IMPLEMENTED";
snej@22
   103
2147549192 = "CSSMERR_CSSM_SELF_CHECK_FAILED";
snej@22
   104
2147549193 = "CSSMERR_CSSM_OS_ACCESS_DENIED";
snej@22
   105
2147549194 = "CSSMERR_CSSM_FUNCTION_FAILED";
snej@22
   106
2147549195 = "CSSMERR_CSSM_MODULE_MANIFEST_VERIFY_FAILED";
snej@22
   107
2147549196 = "CSSMERR_CSSM_INVALID_GUID";
snej@22
   108
snej@22
   109
2147549248 = "CSSMERR_CSSM_INVALID_CONTEXT_HANDLE";
snej@22
   110
2147549249 = "CSSMERR_CSSM_INCOMPATIBLE_VERSION";
snej@22
   111
2147549259 = "CSSMERR_CSSM_PRIVILEGE_NOT_GRANTED";
snej@22
   112
snej@22
   113
2147549456 = "CSSM_CSSM_BASE_CSSM_ERROR";
snej@22
   114
2147549457 = "CSSMERR_CSSM_SCOPE_NOT_SUPPORTED";
snej@22
   115
2147549458 = "CSSMERR_CSSM_PVC_ALREADY_CONFIGURED";
snej@22
   116
2147549459 = "CSSMERR_CSSM_INVALID_PVC";
snej@22
   117
2147549460 = "CSSMERR_CSSM_EMM_LOAD_FAILED";
snej@22
   118
2147549461 = "CSSMERR_CSSM_EMM_UNLOAD_FAILED";
snej@22
   119
2147549462 = "CSSMERR_CSSM_ADDIN_LOAD_FAILED";
snej@22
   120
2147549463 = "CSSMERR_CSSM_INVALID_KEY_HIERARCHY";
snej@22
   121
2147549464 = "CSSMERR_CSSM_ADDIN_UNLOAD_FAILED";
snej@22
   122
2147549465 = "CSSMERR_CSSM_LIB_REF_NOT_FOUND";
snej@22
   123
2147549466 = "CSSMERR_CSSM_INVALID_ADDIN_FUNCTION_TABLE";
snej@22
   124
2147549467 = "CSSMERR_CSSM_EMM_AUTHENTICATE_FAILED";
snej@22
   125
2147549468 = "CSSMERR_CSSM_ADDIN_AUTHENTICATE_FAILED";
snej@22
   126
2147549469 = "CSSMERR_CSSM_INVALID_SERVICE_MASK";
snej@22
   127
2147549470 = "CSSMERR_CSSM_MODULE_NOT_LOADED";
snej@22
   128
2147549471 = "CSSMERR_CSSM_INVALID_SUBSERVICEID";
snej@22
   129
2147549472 = "CSSMERR_CSSM_BUFFER_TOO_SMALL";
snej@22
   130
2147549473 = "CSSMERR_CSSM_INVALID_ATTRIBUTE";
snej@22
   131
2147549474 = "CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT";
snej@22
   132
2147549475 = "CSSMERR_CSSM_MODULE_MANAGER_INITIALIZE_FAIL";
snej@22
   133
2147549476 = "CSSMERR_CSSM_MODULE_MANAGER_NOT_FOUND";
snej@22
   134
2147549477 = "CSSMERR_CSSM_EVENT_NOTIFICATION_CALLBACK_NOT_FOUND";
snej@22
   135
snej@22
   136
2147557377 = "CSSMERR_TP_INTERNAL_ERROR";
snej@22
   137
2147557378 = "CSSMERR_TP_MEMORY_ERROR";
snej@22
   138
2147557379 = "CSSMERR_TP_MDS_ERROR";
snej@22
   139
2147557380 = "CSSMERR_TP_INVALID_POINTER";
snej@22
   140
2147557381 = "CSSMERR_TP_INVALID_INPUT_POINTER";
snej@22
   141
2147557382 = "CSSMERR_TP_INVALID_OUTPUT_POINTER";
snej@22
   142
2147557383 = "CSSMERR_TP_FUNCTION_NOT_IMPLEMENTED";
snej@22
   143
2147557384 = "CSSMERR_TP_SELF_CHECK_FAILED";
snej@22
   144
2147557385 = "CSSMERR_TP_OS_ACCESS_DENIED";
snej@22
   145
2147557386 = "CSSMERR_TP_FUNCTION_FAILED";
snej@22
   146
snej@22
   147
/* Proof:
snej@22
   148
    CSSMERR_TP_FUNCTION_FAILED = CSSM_TP_BASE_ERROR + CSSM_ERRCODE_FUNCTION_FAILED
snej@22
   149
                               = CSSM_CL_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRCODE_FUNCTION_FAILED
snej@22
   150
                               = CSSM_DL_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRCODE_FUNCTION_FAILED
snej@22
   151
                               = CSSM_CSP_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRCODE_FUNCTION_FAILED
snej@22
   152
                               = CSSM_CSSM_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRCODE_FUNCTION_FAILED
snej@22
   153
                               = CSSM_BASE_ERROR + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRORCODE_MODULE_EXTENT + CSSM_ERRCODE_FUNCTION_FAILED
snej@22
   154
                               = 0x80010000 + 0x00000800 + 0x00000800 + 0x00000800 + 0x00000800 + 0x000A
snej@22
   155
                               = 0x8001200A
snej@22
   156
                               = 2147557386  (Q.E.D.) */
snej@22
   157
snej@22
   158
2147557440 = "CSSMERR_TP_INVALID_CONTEXT_HANDLE";
snej@22
   159
2147557442 = "CSSMERR_TP_INVALID_CERTGROUP_POINTER";
snej@22
   160
2147557443 = "CSSMERR_TP_INVALID_CERT_POINTER";
snej@22
   161
2147557444 = "CSSMERR_TP_INVALID_CRL_POINTER";
snej@22
   162
2147557445 = "CSSMERR_TP_INVALID_FIELD_POINTER";
snej@22
   163
2147557446 = "CSSMERR_TP_INVALID_DATA";
snej@22
   164
2147557447 = "CSSMERR_TP_CRL_ALREADY_SIGNED";
snej@22
   165
2147557448 = "CSSMERR_TP_INVALID_NUMBER_OF_FIELDS";
snej@22
   166
2147557449 = "CSSMERR_TP_VERIFICATION_FAILURE";
snej@22
   167
2147557450 = "CSSMERR_TP_INVALID_DB_HANDLE";
snej@22
   168
2147557452 = "CSSMERR_TP_INVALID_DB_LIST";
snej@22
   169
2147557453 = "CSSMERR_TP_INVALID_DB_LIST_POINTER";
snej@22
   170
2147557454 = "CSSMERR_TP_UNKNOWN_FORMAT";
snej@22
   171
2147557455 = "CSSMERR_TP_UNKNOWN_TAG";
snej@22
   172
2147557456 = "CSSMERR_TP_INVALID_CSP_HANDLE";
snej@22
   173
2147557457 = "CSSMERR_TP_INVALID_DL_HANDLE";
snej@22
   174
2147557458 = "CSSMERR_TP_INVALID_CL_HANDLE";
snej@22
   175
2147557462 = "CSSMERR_TP_INVALID_PASSTHROUGH_ID";
snej@22
   176
2147557463 = "CSSMERR_TP_INVALID_NETWORK_ADDR";
snej@22
   177
snej@22
   178
2147557632 = "CSSM_TP_BASE_TP_ERROR";
snej@22
   179
2147557633 = "CSSMERR_TP_INVALID_CALLERAUTH_CONTEXT_POINTER";
snej@22
   180
2147557634 = "CSSMERR_TP_INVALID_IDENTIFIER_POINTER";
snej@22
   181
2147557635 = "CSSMERR_TP_INVALID_KEYCACHE_HANDLE";
snej@22
   182
2147557636 = "CSSMERR_TP_INVALID_CERTGROUP";
snej@22
   183
2147557637 = "CSSMERR_TP_INVALID_CRLGROUP";
snej@22
   184
2147557638 = "CSSMERR_TP_INVALID_CRLGROUP_POINTER";
snej@22
   185
2147557639 = "CSSMERR_TP_AUTHENTICATION_FAILED";
snej@22
   186
2147557640 = "CSSMERR_TP_CERTGROUP_INCOMPLETE";
snej@22
   187
2147557641 = "CSSMERR_TP_CERTIFICATE_CANT_OPERATE";
snej@22
   188
2147557642 = "CSSMERR_TP_CERT_EXPIRED";
snej@22
   189
2147557643 = "CSSMERR_TP_CERT_NOT_VALID_YET";
snej@22
   190
2147557644 = "CSSMERR_TP_CERT_REVOKED";
snej@22
   191
2147557645 = "CSSMERR_TP_CERT_SUSPENDED";
snej@22
   192
2147557646 = "CSSMERR_TP_INSUFFICIENT_CREDENTIALS";
snej@22
   193
2147557647 = "CSSMERR_TP_INVALID_ACTION";
snej@22
   194
2147557648 = "CSSMERR_TP_INVALID_ACTION_DATA";
snej@22
   195
2147557649 = "CSSMERR_TP_INVALID_NETWORK_ADDR";
snej@22
   196
2147557650 = "CSSMERR_TP_INVALID_ANCHOR_CERT";
snej@22
   197
2147557651 = "CSSMERR_TP_INVALID_AUTHORITY";
snej@22
   198
2147557652 = "CSSMERR_TP_VERIFY_ACTION_FAILED";
snej@22
   199
2147557653 = "CSSMERR_TP_INVALID_CERTIFICATE";
snej@22
   200
2147557654 = "CSSMERR_TP_INVALID_CERT_AUTHORITY";
snej@22
   201
2147557655 = "CSSMERR_TP_INVALID_CRL_AUTHORITY";
snej@22
   202
2147557656 = "CSSMERR_TP_INVALID_CRL_ENCODING";
snej@22
   203
2147557657 = "CSSMERR_TP_INVALID_CRL_TYPE";
snej@22
   204
2147557658 = "CSSMERR_TP_INVALID_CRL";
snej@22
   205
2147557659 = "CSSMERR_TP_INVALID_FORM_TYPE";
snej@22
   206
2147557660 = "CSSMERR_TP_INVALID_ID";
snej@22
   207
2147557661 = "CSSMERR_TP_INVALID_IDENTIFIER";
snej@22
   208
2147557662 = "CSSMERR_TP_INVALID_INDEX";
snej@22
   209
2147557663 = "CSSMERR_TP_INVALID_NAME";
snej@22
   210
2147557664 = "CSSMERR_TP_INVALID_POLICY_IDENTIFIERS";
snej@22
   211
2147557665 = "CSSMERR_TP_INVALID_TIMESTRING";
snej@22
   212
2147557666 = "CSSMERR_TP_INVALID_REASON";
snej@22
   213
2147557667 = "CSSMERR_TP_INVALID_REQUEST_INPUTS";
snej@22
   214
2147557668 = "CSSMERR_TP_INVALID_RESPONSE_VECTOR";
snej@22
   215
2147557669 = "CSSMERR_TP_INVALID_SIGNATURE";
snej@22
   216
2147557670 = "CSSMERR_TP_INVALID_STOP_ON_POLICY";
snej@22
   217
2147557671 = "CSSMERR_TP_INVALID_CALLBACK";
snej@22
   218
2147557672 = "CSSMERR_TP_INVALID_TUPLE";
snej@22
   219
2147557673 = "CSSMERR_TP_NOT_SIGNER";
snej@22
   220
2147557674 = "CSSMERR_TP_NOT_TRUSTED";
snej@22
   221
2147557675 = "CSSMERR_TP_NO_DEFAULT_AUTHORITY";
snej@22
   222
2147557676 = "CSSMERR_TP_REJECTED_FORM";
snej@22
   223
2147557677 = "CSSMERR_TP_REQUEST_LOST";
snej@22
   224
2147557678 = "CSSMERR_TP_REQUEST_REJECTED";
snej@22
   225
2147557679 = "CSSMERR_TP_UNSUPPORTED_ADDR_TYPE";
snej@22
   226
2147557680 = "CSSMERR_TP_UNSUPPORTED_SERVICE";
snej@22
   227
2147557681 = "CSSMERR_TP_INVALID_TUPLEGROUP_POINTER";
snej@22
   228
2147557682 = "CSSMERR_TP_INVALID_TUPLEGROUP";
snej@22
   229
snej@22
   230
2147561473 = "CSSMERR_AC_INTERNAL_ERROR";
snej@22
   231
2147561474 = "CSSMERR_AC_MEMORY_ERROR";
snej@22
   232
2147561475 = "CSSMERR_AC_MDS_ERROR";
snej@22
   233
2147561476 = "CSSMERR_AC_INVALID_POINTER";
snej@22
   234
2147561477 = "CSSMERR_AC_INVALID_INPUT_POINTER";
snej@22
   235
2147561478 = "CSSMERR_AC_INVALID_OUTPUT_POINTER";
snej@22
   236
2147561479 = "CSSMERR_AC_FUNCTION_NOT_IMPLEMENTED";
snej@22
   237
2147561480 = "CSSMERR_AC_SELF_CHECK_FAILED";
snej@22
   238
2147561481 = "CSSMERR_AC_OS_ACCESS_DENIED";
snej@22
   239
2147561482 = "CSSMERR_AC_FUNCTION_FAILED";
snej@22
   240
snej@22
   241
2147561536 = "CSSMERR_AC_INVALID_CONTEXT_HANDLE";
snej@22
   242
2147561542 = "CSSMERR_AC_INVALID_DATA";
snej@22
   243
2147561546 = "CSSMERR_AC_INVALID_DB_HANDLE";
snej@22
   244
2147561548 = "CSSMERR_AC_INVALID_DB_LIST";
snej@22
   245
2147561549 = "CSSMERR_AC_INVALID_DB_LIST_POINTER";
snej@22
   246
2147561553 = "CSSMERR_AC_INVALID_DL_HANDLE";
snej@22
   247
2147561554 = "CSSMERR_AC_INVALID_CL_HANDLE";
snej@22
   248
2147561555 = "CSSMERR_AC_INVALID_TP_HANDLE";
snej@22
   249
2147561558 = "CSSMERR_AC_INVALID_PASSTHROUGH_ID";
snej@22
   250
snej@22
   251
2147561728 = "CSSM_AC_BASE_AC_ERROR";
snej@22
   252
2147561729 = "CSSMERR_AC_INVALID_BASE_ACLS";
snej@22
   253
2147561730 = "CSSMERR_AC_INVALID_TUPLE_CREDENTIALS";
snej@22
   254
2147561731 = "CSSMERR_AC_INVALID_ENCODING";
snej@22
   255
2147561732 = "CSSMERR_AC_INVALID_VALIDITY_PERIOD";
snej@22
   256
2147561733 = "CSSMERR_AC_INVALID_REQUESTOR";
snej@22
   257
2147561734 = "CSSMERR_AC_INVALID_REQUEST_DESCRIPTOR";
snej@22
   258
snej@22
   259
2147555329 = "CSSMERR_CL_INTERNAL_ERROR";
snej@22
   260
2147555330 = "CSSMERR_CL_MEMORY_ERROR";
snej@22
   261
2147555331 = "CSSMERR_CL_MDS_ERROR";
snej@22
   262
2147555332 = "CSSMERR_CL_INVALID_POINTER";
snej@22
   263
2147555333 = "CSSMERR_CL_INVALID_INPUT_POINTER";
snej@22
   264
2147555334 = "CSSMERR_CL_INVALID_OUTPUT_POINTER";
snej@22
   265
2147555335 = "CSSMERR_CL_FUNCTION_NOT_IMPLEMENTED";
snej@22
   266
2147555336 = "CSSMERR_CL_SELF_CHECK_FAILED";
snej@22
   267
2147555337 = "CSSMERR_CL_OS_ACCESS_DENIED";
snej@22
   268
2147555338 = "CSSMERR_CL_FUNCTION_FAILED";
snej@22
   269
snej@22
   270
2147555392 = "CSSMERR_CL_INVALID_CONTEXT_HANDLE";
snej@22
   271
2147555394 = "CSSMERR_CL_INVALID_CERTGROUP_POINTER";
snej@22
   272
2147555395 = "CSSMERR_CL_INVALID_CERT_POINTER";
snej@22
   273
2147555396 = "CSSMERR_CL_INVALID_CRL_POINTER";
snej@22
   274
2147555397 = "CSSMERR_CL_INVALID_FIELD_POINTER";
snej@22
   275
2147555398 = "CSSMERR_CL_INVALID_DATA";
snej@22
   276
2147555399 = "CSSMERR_CL_CRL_ALREADY_SIGNED";
snej@22
   277
2147555400 = "CSSMERR_CL_INVALID_NUMBER_OF_FIELDS";
snej@22
   278
2147555401 = "CSSMERR_CL_VERIFICATION_FAILURE";
snej@22
   279
2147555406 = "CSSMERR_CL_UNKNOWN_FORMAT";
snej@22
   280
2147555407 = "CSSMERR_CL_UNKNOWN_TAG";
snej@22
   281
2147555414 = "CSSMERR_CL_INVALID_PASSTHROUGH_ID";
snej@22
   282
snej@22
   283
2147555584 = "CSSM_CL_BASE_CL_ERROR";
snej@22
   284
2147555585 = "CSSMERR_CL_INVALID_BUNDLE_POINTER";
snej@22
   285
2147555586 = "CSSMERR_CL_INVALID_CACHE_HANDLE";
snej@22
   286
2147555587 = "CSSMERR_CL_INVALID_RESULTS_HANDLE";
snej@22
   287
2147555588 = "CSSMERR_CL_INVALID_BUNDLE_INFO";
snej@22
   288
2147555589 = "CSSMERR_CL_INVALID_CRL_INDEX";
snej@22
   289
2147555590 = "CSSMERR_CL_INVALID_SCOPE";
snej@22
   290
2147555591 = "CSSMERR_CL_NO_FIELD_VALUES";
snej@22
   291
2147555592 = "CSSMERR_CL_SCOPE_NOT_SUPPORTED";
snej@22
   292
snej@22
   293
2147553281 = "CSSMERR_DL_INTERNAL_ERROR";
snej@22
   294
2147553282 = "CSSMERR_DL_MEMORY_ERROR";
snej@22
   295
2147553283 = "CSSMERR_DL_MDS_ERROR";
snej@22
   296
2147553284 = "CSSMERR_DL_INVALID_POINTER";
snej@22
   297
2147553285 = "CSSMERR_DL_INVALID_INPUT_POINTER";
snej@22
   298
2147553286 = "CSSMERR_DL_INVALID_OUTPUT_POINTER";
snej@22
   299
2147553287 = "CSSMERR_DL_FUNCTION_NOT_IMPLEMENTED";
snej@22
   300
2147553288 = "CSSMERR_DL_SELF_CHECK_FAILED";
snej@22
   301
2147553289 = "CSSMERR_DL_OS_ACCESS_DENIED";
snej@22
   302
2147553290 = "CSSMERR_DL_FUNCTION_FAILED";
snej@22
   303
2147553360 = "CSSMERR_DL_INVALID_CSP_HANDLE";
snej@22
   304
2147553361 = "CSSMERR_DL_INVALID_DL_HANDLE";
snej@22
   305
2147553362 = "CSSMERR_DL_INVALID_CL_HANDLE";
snej@22
   306
2147553357 = "CSSMERR_DL_INVALID_DB_LIST_POINTER";
snej@22
   307
snej@22
   308
2147553312 = "CSSMERR_DL_OPERATION_AUTH_DENIED";
snej@22
   309
2147553313 = "CSSMERR_DL_OBJECT_USE_AUTH_DENIED";
snej@22
   310
2147553314 = "CSSMERR_DL_OBJECT_MANIP_AUTH_DENIED";
snej@22
   311
2147553315 = "CSSMERR_DL_OBJECT_ACL_NOT_SUPPORTED";
snej@22
   312
2147553316 = "CSSMERR_DL_OBJECT_ACL_REQUIRED";
snej@22
   313
2147553317 = "CSSMERR_DL_INVALID_ACCESS_CREDENTIALS";
snej@22
   314
2147553318 = "CSSMERR_DL_INVALID_ACL_BASE_CERTS";
snej@22
   315
2147553319 = "CSSMERR_DL_ACL_BASE_CERTS_NOT_SUPPORTED";
snej@22
   316
2147553320 = "CSSMERR_DL_INVALID_SAMPLE_VALUE";
snej@22
   317
2147553321 = "CSSMERR_DL_SAMPLE_VALUE_NOT_SUPPORTED";
snej@22
   318
2147553322 = "CSSMERR_DL_INVALID_ACL_SUBJECT_VALUE";
snej@22
   319
2147553323 = "CSSMERR_DL_ACL_SUBJECT_TYPE_NOT_SUPPORTED";
snej@22
   320
2147553324 = "CSSMERR_DL_INVALID_ACL_CHALLENGE_CALLBACK";
snej@22
   321
2147553325 = "CSSMERR_DL_ACL_CHALLENGE_CALLBACK_FAILED";
snej@22
   322
2147553326 = "CSSMERR_DL_INVALID_ACL_ENTRY_TAG";
snej@22
   323
2147553327 = "CSSMERR_DL_ACL_ENTRY_TAG_NOT_FOUND";
snej@22
   324
2147553328 = "CSSMERR_DL_INVALID_ACL_EDIT_MODE";
snej@22
   325
2147553329 = "CSSMERR_DL_ACL_CHANGE_FAILED";
snej@22
   326
2147553330 = "CSSMERR_DL_INVALID_NEW_ACL_ENTRY";
snej@22
   327
2147553331 = "CSSMERR_DL_INVALID_NEW_ACL_OWNER";
snej@22
   328
2147553332 = "CSSMERR_DL_ACL_DELETE_FAILED";
snej@22
   329
2147553333 = "CSSMERR_DL_ACL_REPLACE_FAILED";
snej@22
   330
2147553334 = "CSSMERR_DL_ACL_ADD_FAILED";
snej@22
   331
snej@22
   332
2147553352 = "CSSMERR_DL_INVALID_DB_HANDLE";
snej@22
   333
2147553366 = "CSSMERR_DL_INVALID_PASSTHROUGH_ID";
snej@22
   334
2147553367 = "CSSMERR_DL_INVALID_NETWORK_ADDR";
snej@22
   335
snej@22
   336
2147553536 = "CSSM_DL_BASE_DL_ERROR";
snej@22
   337
2147553537 = "CSSMERR_DL_DATABASE_CORRUPT";
snej@22
   338
2147553544 = "CSSMERR_DL_INVALID_RECORD_INDEX";
snej@22
   339
2147553545 = "CSSMERR_DL_INVALID_RECORDTYPE";
snej@22
   340
2147553546 = "CSSMERR_DL_INVALID_FIELD_NAME";
snej@22
   341
2147553547 = "CSSMERR_DL_UNSUPPORTED_FIELD_FORMAT";
snej@22
   342
2147553548 = "CSSMERR_DL_UNSUPPORTED_INDEX_INFO";
snej@22
   343
2147553549 = "CSSMERR_DL_UNSUPPORTED_LOCALITY";
snej@22
   344
2147553550 = "CSSMERR_DL_UNSUPPORTED_NUM_ATTRIBUTES";
snej@22
   345
2147553551 = "CSSMERR_DL_UNSUPPORTED_NUM_INDEXES";
snej@22
   346
2147553552 = "CSSMERR_DL_UNSUPPORTED_NUM_RECORDTYPES";
snej@22
   347
2147553553 = "CSSMERR_DL_UNSUPPORTED_RECORDTYPE";
snej@22
   348
2147553554 = "CSSMERR_DL_FIELD_SPECIFIED_MULTIPLE";
snej@22
   349
2147553555 = "CSSMERR_DL_INCOMPATIBLE_FIELD_FORMAT";
snej@22
   350
2147553556 = "CSSMERR_DL_INVALID_PARSING_MODULE";
snej@22
   351
snej@22
   352
2147553558 = "CSSMERR_DL_INVALID_DB_NAME";
snej@22
   353
2147553559 = "CSSMERR_DL_DATASTORE_DOESNOT_EXIST";
snej@22
   354
2147553560 = "CSSMERR_DL_DATASTORE_ALREADY_EXISTS";
snej@22
   355
2147553561 = "CSSMERR_DL_DB_LOCKED";
snej@22
   356
2147553562 = "CSSMERR_DL_DATASTORE_IS_OPEN";
snej@22
   357
2147553563 = "CSSMERR_DL_RECORD_NOT_FOUND";
snej@22
   358
2147553564 = "CSSMERR_DL_MISSING_VALUE";
snej@22
   359
2147553565 = "CSSMERR_DL_UNSUPPORTED_QUERY";
snej@22
   360
2147553566 = "CSSMERR_DL_UNSUPPORTED_QUERY_LIMITS";
snej@22
   361
2147553567 = "CSSMERR_DL_UNSUPPORTED_NUM_SELECTION_PREDS";
snej@22
   362
snej@22
   363
2147553569 = "CSSMERR_DL_UNSUPPORTED_OPERATOR";
snej@22
   364
2147553570 = "CSSMERR_DL_INVALID_RESULTS_HANDLE";
snej@22
   365
2147553571 = "CSSMERR_DL_INVALID_DB_LOCATION";
snej@22
   366
2147553572 = "CSSMERR_DL_INVALID_ACCESS_REQUEST";
snej@22
   367
2147553573 = "CSSMERR_DL_INVALID_INDEX_INFO";
snej@22
   368
2147553574 = "CSSMERR_DL_INVALID_SELECTION_TAG";
snej@22
   369
2147553575 = "CSSMERR_DL_INVALID_NEW_OWNER";
snej@22
   370
2147553576 = "CSSMERR_DL_INVALID_RECORD_UID";
snej@22
   371
2147553577 = "CSSMERR_DL_INVALID_UNIQUE_INDEX_DATA";
snej@22
   372
2147553578 = "CSSMERR_DL_INVALID_MODIFY_MODE";
snej@22
   373
2147553579 = "CSSMERR_DL_INVALID_OPEN_PARAMETERS";
snej@22
   374
2147553580 = "CSSMERR_DL_RECORD_MODIFIED";
snej@22
   375
2147553581 = "CSSMERR_DL_ENDOFDATA";
snej@22
   376
2147553582 = "CSSMERR_DL_INVALID_QUERY";
snej@22
   377
2147553583 = "CSSMERR_DL_INVALID_VALUE";
snej@22
   378
2147553584 = "CSSMERR_DL_MULTIPLE_VALUES_UNSUPPORTED";
snej@22
   379
2147553585 = "CSSMERR_DL_STALE_UNIQUE_RECORD";
snej@22
   380
snej@22
   381
2147551233 = "CSSMERR_CSP_INTERNAL_ERROR";
snej@22
   382
2147551234 = "CSSMERR_CSP_MEMORY_ERROR";
snej@22
   383
2147551235 = "CSSMERR_CSP_MDS_ERROR";
snej@22
   384
2147551236 = "CSSMERR_CSP_INVALID_POINTER";
snej@22
   385
2147551237 = "CSSMERR_CSP_INVALID_INPUT_POINTER";
snej@22
   386
2147551238 = "CSSMERR_CSP_INVALID_OUTPUT_POINTER";
snej@22
   387
2147551239 = "CSSMERR_CSP_FUNCTION_NOT_IMPLEMENTED";
snej@22
   388
2147551240 = "CSSMERR_CSP_SELF_CHECK_FAILED";
snej@22
   389
2147551241 = "CSSMERR_CSP_OS_ACCESS_DENIED";
snej@22
   390
2147551242 = "CSSMERR_CSP_FUNCTION_FAILED";
snej@22
   391
snej@22
   392
2147551264 = "CSSMERR_CSP_OPERATION_AUTH_DENIED";
snej@22
   393
2147551265 = "CSSMERR_CSP_OBJECT_USE_AUTH_DENIED";
snej@22
   394
2147551266 = "CSSMERR_CSP_OBJECT_MANIP_AUTH_DENIED";
snej@22
   395
2147551267 = "CSSMERR_CSP_OBJECT_ACL_NOT_SUPPORTED";
snej@22
   396
2147551268 = "CSSMERR_CSP_OBJECT_ACL_REQUIRED";
snej@22
   397
2147551269 = "CSSMERR_CSP_INVALID_ACCESS_CREDENTIALS";
snej@22
   398
2147551270 = "CSSMERR_CSP_INVALID_ACL_BASE_CERTS";
snej@22
   399
2147551271 = "CSSMERR_CSP_ACL_BASE_CERTS_NOT_SUPPORTED";
snej@22
   400
2147551272 = "CSSMERR_CSP_INVALID_SAMPLE_VALUE";
snej@22
   401
2147551273 = "CSSMERR_CSP_SAMPLE_VALUE_NOT_SUPPORTED";
snej@22
   402
2147551274 = "CSSMERR_CSP_INVALID_ACL_SUBJECT_VALUE";
snej@22
   403
2147551275 = "CSSMERR_CSP_ACL_SUBJECT_TYPE_NOT_SUPPORTED";
snej@22
   404
2147551276 = "CSSMERR_CSP_INVALID_ACL_CHALLENGE_CALLBACK";
snej@22
   405
2147551277 = "CSSMERR_CSP_ACL_CHALLENGE_CALLBACK_FAILED";
snej@22
   406
2147551278 = "CSSMERR_CSP_INVALID_ACL_ENTRY_TAG";
snej@22
   407
2147551279 = "CSSMERR_CSP_ACL_ENTRY_TAG_NOT_FOUND";
snej@22
   408
2147551280 = "CSSMERR_CSP_INVALID_ACL_EDIT_MODE";
snej@22
   409
2147551281 = "CSSMERR_CSP_ACL_CHANGE_FAILED";
snej@22
   410
2147551282 = "CSSMERR_CSP_INVALID_NEW_ACL_ENTRY";
snej@22
   411
2147551283 = "CSSMERR_CSP_INVALID_NEW_ACL_OWNER";
snej@22
   412
2147551284 = "CSSMERR_CSP_ACL_DELETE_FAILED";
snej@22
   413
2147551285 = "CSSMERR_CSP_ACL_REPLACE_FAILED";
snej@22
   414
2147551286 = "CSSMERR_CSP_ACL_ADD_FAILED";
snej@22
   415
snej@22
   416
2147551296 = "CSSMERR_CSP_INVALID_CONTEXT_HANDLE";
snej@22
   417
2147551307 = "CSSMERR_CSP_PRIVILEGE_NOT_GRANTED";
snej@22
   418
2147551302 = "CSSMERR_CSP_INVALID_DATA";
snej@22
   419
2147551318 = "CSSMERR_CSP_INVALID_PASSTHROUGH_ID";
snej@22
   420
2147551320 = "CSSMERR_CSP_INVALID_CRYPTO_DATA";
snej@22
   421
snej@22
   422
2147551488 = "CSSM_CSP_BASE_CSP_ERROR";
snej@22
   423
2147551489 = "CSSMERR_CSP_INPUT_LENGTH_ERROR";
snej@22
   424
2147551490 = "CSSMERR_CSP_OUTPUT_LENGTH_ERROR";
snej@22
   425
2147551491 = "CSSMERR_CSP_PRIVILEGE_NOT_SUPPORTED";
snej@22
   426
2147551492 = "CSSMERR_CSP_DEVICE_ERROR";
snej@22
   427
2147551493 = "CSSMERR_CSP_DEVICE_MEMORY_ERROR";
snej@22
   428
2147551494 = "CSSMERR_CSP_ATTACH_HANDLE_BUSY";
snej@22
   429
2147551495 = "CSSMERR_CSP_NOT_LOGGED_IN";
snej@22
   430
snej@25
   431
2147551504 = "CSSMERR_CSP_INVALID_KEY";
snej@25
   432
2147551505 = "CSSMERR_CSP_INVALID_KEY_REFERENCE";
snej@25
   433
2147551506 = "CSSMERR_CSP_INVALID_KEY_CLASS";
snej@25
   434
2147551507 = "CSSMERR_CSP_ALGID_MISMATCH";
snej@25
   435
2147551508 = "CSSMERR_CSP_KEY_USAGE_INCORRECT";
snej@25
   436
2147551509 = "CSSMERR_CSP_KEY_BLOB_TYPE_INCORRECT";
snej@25
   437
2147551510 = "CSSMERR_CSP_KEY_HEADER_INCONSISTENT";
snej@25
   438
2147551511 = "CSSMERR_CSP_UNSUPPORTED_KEY_FORMAT";
snej@25
   439
2147551512 = "CSSMERR_CSP_UNSUPPORTED_KEY_SIZE";
snej@25
   440
2147551513 = "CSSMERR_CSP_INVALID_KEY_POINTER";
snej@25
   441
2147551514 = "CSSMERR_CSP_INVALID_KEYUSAGE_MASK";
snej@25
   442
2147551515 = "CSSMERR_CSP_UNSUPPORTED_KEYUSAGE_MASK";
snej@25
   443
2147551516 = "CSSMERR_CSP_INVALID_KEYATTR_MASK";
snej@25
   444
2147551517 = "CSSMERR_CSP_UNSUPPORTED_KEYATTR_MASK";
snej@25
   445
2147551518 = "CSSMERR_CSP_INVALID_KEY_LABEL";
snej@25
   446
2147551519 = "CSSMERR_CSP_UNSUPPORTED_KEY_LABEL";
snej@25
   447
2147551520 = "CSSMERR_CSP_INVALID_KEY_FORMAT";
snej@22
   448
snej@22
   449
2147551528 = "CSSMERR_CSP_INVALID_DATA_COUNT";
snej@22
   450
2147551529 = "CSSMERR_CSP_VECTOR_OF_BUFS_UNSUPPORTED";
snej@22
   451
2147551530 = "CSSMERR_CSP_INVALID_INPUT_VECTOR";
snej@22
   452
2147551531 = "CSSMERR_CSP_INVALID_OUTPUT_VECTOR";
snej@22
   453
snej@22
   454
2147551536 = "CSSMERR_CSP_INVALID_CONTEXT";
snej@22
   455
2147551537 = "CSSMERR_CSP_INVALID_ALGORITHM";
snej@22
   456
2147551542 = "CSSMERR_CSP_INVALID_ATTR_KEY";
snej@22
   457
2147551543 = "CSSMERR_CSP_MISSING_ATTR_KEY";
snej@22
   458
2147551544 = "CSSMERR_CSP_INVALID_ATTR_INIT_VECTOR";
snej@22
   459
2147551545 = "CSSMERR_CSP_MISSING_ATTR_INIT_VECTOR";
snej@22
   460
2147551546 = "CSSMERR_CSP_INVALID_ATTR_SALT";
snej@22
   461
2147551547 = "CSSMERR_CSP_MISSING_ATTR_SALT";
snej@22
   462
2147551548 = "CSSMERR_CSP_INVALID_ATTR_PADDING";
snej@22
   463
2147551549 = "CSSMERR_CSP_MISSING_ATTR_PADDING";
snej@22
   464
2147551550 = "CSSMERR_CSP_INVALID_ATTR_RANDOM";
snej@22
   465
2147551551 = "CSSMERR_CSP_MISSING_ATTR_RANDOM";
snej@22
   466
2147551552 = "CSSMERR_CSP_INVALID_ATTR_SEED";
snej@22
   467
2147551553 = "CSSMERR_CSP_MISSING_ATTR_SEED";
snej@22
   468
2147551554 = "CSSMERR_CSP_INVALID_ATTR_PASSPHRASE";
snej@22
   469
2147551555 = "CSSMERR_CSP_MISSING_ATTR_PASSPHRASE";
snej@22
   470
2147551556 = "CSSMERR_CSP_INVALID_ATTR_KEY_LENGTH";
snej@22
   471
2147551557 = "CSSMERR_CSP_MISSING_ATTR_KEY_LENGTH";
snej@22
   472
2147551558 = "CSSMERR_CSP_INVALID_ATTR_BLOCK_SIZE";
snej@22
   473
2147551559 = "CSSMERR_CSP_MISSING_ATTR_BLOCK_SIZE";
snej@22
   474
2147551560 = "CSSMERR_CSP_STAGED_OPERATION_IN_PROGRESS";
snej@22
   475
2147551561 = "CSSMERR_CSP_STAGED_OPERATION_NOT_STARTED";
snej@22
   476
2147551562 = "CSSMERR_CSP_VERIFY_FAILED";
snej@22
   477
2147551563 = "CSSMERR_CSP_INVALID_SIGNATURE";
snej@22
   478
2147551564 = "CSSMERR_CSP_QUERY_SIZE_UNKNOWN";
snej@22
   479
2147551565 = "CSSMERR_CSP_BLOCK_SIZE_MISMATCH";
snej@22
   480
2147551566 = "CSSMERR_CSP_PRIVATE_KEY_NOT_FOUND";
snej@22
   481
2147551567 = "CSSMERR_CSP_PUBLIC_KEY_INCONSISTENT";
snej@22
   482
2147551568 = "CSSMERR_CSP_DEVICE_VERIFY_FAILED";
snej@22
   483
2147551569 = "CSSMERR_CSP_INVALID_LOGIN_NAME";
snej@22
   484
2147551570 = "CSSMERR_CSP_ALREADY_LOGGED_IN";
snej@22
   485
2147551571 = "CSSMERR_CSP_PRIVATE_KEY_ALREADY_EXISTS";
snej@22
   486
2147551572 = "CSSMERR_CSP_KEY_LABEL_ALREADY_EXISTS";
snej@22
   487
2147551573 = "CSSMERR_CSP_INVALID_DIGEST_ALGORITHM";
snej@22
   488
2147551574 = "CSSMERR_CSP_CRYPTO_DATA_CALLBACK_FAILED";
snej@22
   489
snej@22
   490
2147551588 = "CSSMERR_CSP_INVALID_ATTR_OUTPUT_SIZE";
snej@22
   491
2147551589 = "CSSMERR_CSP_MISSING_ATTR_OUTPUT_SIZE";
snej@22
   492
2147551590 = "CSSMERR_CSP_INVALID_ATTR_ROUNDS";
snej@22
   493
2147551591 = "CSSMERR_CSP_MISSING_ATTR_ROUNDS";
snej@22
   494
2147551592 = "CSSMERR_CSP_INVALID_ATTR_ALG_PARAMS";
snej@22
   495
2147551593 = "CSSMERR_CSP_MISSING_ATTR_ALG_PARAMS";
snej@22
   496
2147551594 = "CSSMERR_CSP_INVALID_ATTR_LABEL";
snej@22
   497
2147551595 = "CSSMERR_CSP_MISSING_ATTR_LABEL";
snej@22
   498
2147551596 = "CSSMERR_CSP_INVALID_ATTR_KEY_TYPE";
snej@22
   499
2147551597 = "CSSMERR_CSP_MISSING_ATTR_KEY_TYPE";
snej@22
   500
2147551598 = "CSSMERR_CSP_INVALID_ATTR_MODE";
snej@22
   501
2147551599 = "CSSMERR_CSP_MISSING_ATTR_MODE";
snej@22
   502
2147551600 = "CSSMERR_CSP_INVALID_ATTR_EFFECTIVE_BITS";
snej@22
   503
2147551601 = "CSSMERR_CSP_MISSING_ATTR_EFFECTIVE_BITS";
snej@22
   504
2147551602 = "CSSMERR_CSP_INVALID_ATTR_START_DATE";
snej@22
   505
2147551603 = "CSSMERR_CSP_MISSING_ATTR_START_DATE";
snej@22
   506
2147551604 = "CSSMERR_CSP_INVALID_ATTR_END_DATE";
snej@22
   507
2147551605 = "CSSMERR_CSP_MISSING_ATTR_END_DATE";
snej@22
   508
2147551606 = "CSSMERR_CSP_INVALID_ATTR_VERSION";
snej@22
   509
2147551607 = "CSSMERR_CSP_MISSING_ATTR_VERSION";
snej@22
   510
2147551608 = "CSSMERR_CSP_INVALID_ATTR_PRIME";
snej@22
   511
2147551609 = "CSSMERR_CSP_MISSING_ATTR_PRIME";
snej@22
   512
2147551610 = "CSSMERR_CSP_INVALID_ATTR_BASE";
snej@22
   513
2147551611 = "CSSMERR_CSP_MISSING_ATTR_BASE";
snej@22
   514
2147551612 = "CSSMERR_CSP_INVALID_ATTR_SUBPRIME";
snej@22
   515
2147551613 = "CSSMERR_CSP_MISSING_ATTR_SUBPRIME";
snej@22
   516
2147551614 = "CSSMERR_CSP_INVALID_ATTR_ITERATION_COUNT";
snej@22
   517
2147551615 = "CSSMERR_CSP_MISSING_ATTR_ITERATION_COUNT";
snej@22
   518
2147551616 = "CSSMERR_CSP_INVALID_ATTR_DL_DB_HANDLE";
snej@22
   519
2147551617 = "CSSMERR_CSP_MISSING_ATTR_DL_DB_HANDLE";
snej@22
   520
2147551618 = "CSSMERR_CSP_INVALID_ATTR_ACCESS_CREDENTIALS";
snej@22
   521
2147551619 = "CSSMERR_CSP_MISSING_ATTR_ACCESS_CREDENTIALS";
snej@22
   522
2147551620 = "CSSMERR_CSP_INVALID_ATTR_PUBLIC_KEY_FORMAT";
snej@22
   523
2147551621 = "CSSMERR_CSP_MISSING_ATTR_PUBLIC_KEY_FORMAT";
snej@22
   524
2147551622 = "CSSMERR_CSP_INVALID_ATTR_PRIVATE_KEY_FORMAT";
snej@22
   525
2147551623 = "CSSMERR_CSP_MISSING_ATTR_PRIVATE_KEY_FORMAT";
snej@22
   526
2147551624 = "CSSMERR_CSP_INVALID_ATTR_SYMMETRIC_KEY_FORMAT";
snej@22
   527
2147551625 = "CSSMERR_CSP_MISSING_ATTR_SYMMETRIC_KEY_FORMAT";
snej@22
   528
2147551626 = "CSSMERR_CSP_INVALID_ATTR_WRAPPED_KEY_FORMAT";
snej@22
   529
2147551627 = "CSSMERR_CSP_MISSING_ATTR_WRAPPED_KEY_FORMAT";
snej@22
   530
snej@22
   531
/* Apple's error codes, defined in cssmapple.h. */
snej@22
   532
snej@22
   533
224 = "CSSM_ERRCODE_NO_USER_INTERACTION";
snej@22
   534
225 = "CSSM_ERRCODE_USER_CANCELED";
snej@22
   535
226 = "CSSM_ERRCODE_SERVICE_NOT_AVAILABLE";
snej@22
   536
227 = "CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION";
snej@22
   537
228 = "CSSM_ERRCODE_DEVICE_RESET";
snej@22
   538
229 = "CSSM_ERRCODE_DEVICE_FAILED";
snej@22
   539
snej@22
   540
2147549408 = "CSSMERR_CSSM_NO_USER_INTERACTION";
snej@22
   541
2147549409 = "CSSMERR_CSSM_USER_CANCELED";
snej@22
   542
2147549410 = "CSSMERR_CSSM_SERVICE_NOT_AVAILABLE";
snej@22
   543
2147549411 = "CSSMERR_CSSM_INSUFFICIENT_CLIENT_IDENTIFICATION";
snej@22
   544
2147549412 = "CSSMERR_CSSM_DEVICE_RESET";
snej@22
   545
2147549413 = "CSSMERR_CSSM_DEVICE_FAILED";
snej@22
   546
snej@22
   547
2147561696 = "CSSMERR_AC_NO_USER_INTERACTION";
snej@22
   548
2147561697 = "CSSMERR_AC_USER_CANCELED";
snej@22
   549
2147561698 = "CSSMERR_AC_SERVICE_NOT_AVAILABLE";
snej@22
   550
2147561699 = "CSSMERR_AC_INSUFFICIENT_CLIENT_IDENTIFICATION";
snej@22
   551
2147561700 = "CSSMERR_AC_DEVICE_RESET";
snej@22
   552
2147561701 = "CSSMERR_AC_DEVICE_FAILED";
snej@22
   553
snej@22
   554
2147551456 = "CSSMERR_CSP_NO_USER_INTERACTION";
snej@22
   555
2147551457 = "CSSMERR_CSP_USER_CANCELED";
snej@22
   556
2147551458 = "CSSMERR_CSP_SERVICE_NOT_AVAILABLE";
snej@22
   557
2147551459 = "CSSMERR_CSP_INSUFFICIENT_CLIENT_IDENTIFICATION";
snej@22
   558
2147551460 = "CSSMERR_CSP_DEVICE_RESET";
snej@22
   559
2147551461 = "CSSMERR_CSP_DEVICE_FAILED";
snej@22
   560
snej@22
   561
2147555552 = "CSSMERR_CL_NO_USER_INTERACTION";
snej@22
   562
2147555553 = "CSSMERR_CL_USER_CANCELED";
snej@22
   563
2147555554 = "CSSMERR_CL_SERVICE_NOT_AVAILABLE";
snej@22
   564
2147555555 = "CSSMERR_CL_INSUFFICIENT_CLIENT_IDENTIFICATION";
snej@22
   565
2147555556 = "CSSMERR_CL_DEVICE_RESET";
snej@22
   566
2147555557 = "CSSMERR_CL_DEVICE_FAILED";
snej@22
   567
snej@22
   568
2147553504 = "CSSMERR_DL_NO_USER_INTERACTION";
snej@22
   569
2147553505 = "CSSMERR_DL_USER_CANCELED";
snej@22
   570
2147553506 = "CSSMERR_DL_SERVICE_NOT_AVAILABLE";
snej@22
   571
2147553507 = "CSSMERR_DL_INSUFFICIENT_CLIENT_IDENTIFICATION";
snej@22
   572
2147553508 = "CSSMERR_DL_DEVICE_RESET";
snej@22
   573
2147553509 = "CSSMERR_DL_DEVICE_FAILED";
snej@22
   574
snej@22
   575
2147557600 = "CSSMERR_TP_NO_USER_INTERACTION";
snej@22
   576
2147557601 = "CSSMERR_TP_USER_CANCELED";
snej@22
   577
2147557602 = "CSSMERR_TP_SERVICE_NOT_AVAILABLE";
snej@22
   578
2147557603 = "CSSMERR_TP_INSUFFICIENT_CLIENT_IDENTIFICATION";
snej@22
   579
2147557604 = "CSSMERR_TP_DEVICE_RESET";
snej@22
   580
2147557605 = "CSSMERR_TP_DEVICE_FAILED";
snej@22
   581
snej@22
   582
/* Apple's private CSP errors, defined in cssmapple.h. */
snej@22
   583
snej@22
   584
2147552256 = "CSSMERR_CSP_APPLE_ADD_APPLICATION_ACL_SUBJECT";
snej@22
   585
2147552257 = "CSSMERR_CSP_APPLE_PUBLIC_KEY_INCOMPLETE";
snej@22
   586
2147552258 = "CSSMERR_CSP_APPLE_SIGNATURE_MISMATCH";
snej@22
   587
2147552259 = "CSSMERR_CSP_APPLE_INVALID_KEY_START_DATE";
snej@22
   588
2147552260 = "CSSMERR_CSP_APPLE_INVALID_KEY_END_DATE";
snej@22
   589
2147552261 = "CSSMERR_CSPDL_APPLE_DL_CONVERSION_ERROR";
snej@22
   590
snej@22
   591
/* Apple's private DL errors, defined in cssmapple.h. */
snej@22
   592
snej@22
   593
2147554304 = "CSSMERR_APPLEDL_INVALID_OPEN_PARAMETERS";
snej@22
   594
2147554305 = "CSSMERR_APPLEDL_DISK_FULL";
snej@22
   595
2147554306 = "CSSMERR_APPLEDL_QUOTA_EXCEEDED";
snej@22
   596
2147554307 = "CSSMERR_APPLEDL_FILE_TOO_BIG";
snej@22
   597
2147554308 = "CSSMERR_APPLEDL_INVALID_DATABASE_BLOB";
snej@22
   598
2147554309 = "CSSMERR_APPLEDL_INVALID_KEY_BLOB";
snej@22
   599
2147554310 = "CSSMERR_APPLEDL_INCOMPATIBLE_DATABASE_BLOB";
snej@22
   600
2147554311 = "CSSMERR_APPLEDL_INCOMPATIBLE_KEY_BLOB";
snej@22
   601
snej@22
   602
/* Apple's private X509 TP errors, defined in cssmapple.h. */
snej@22
   603
snej@22
   604
2147558400 = "CSSMERR_APPLETP_HOSTNAME_MISMATCH";
snej@22
   605
2147558401 = "CSSMERR_APPLETP_UNKNOWN_CRITICAL_EXTEN";
snej@22
   606
2147558402 = "CSSMERR_APPLETP_NO_BASIC_CONSTRAINTS";
snej@22
   607
2147558403 = "CSSMERR_APPLETP_INVALID_CA";
snej@22
   608
2147558404 = "CSSMERR_APPLETP_INVALID_AUTHORITY_ID";
snej@22
   609
2147558405 = "CSSMERR_APPLETP_INVALID_SUBJECT_ID";
snej@22
   610
2147558406 = "CSSMERR_APPLETP_INVALID_KEY_USAGE";
snej@22
   611
2147558407 = "CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE";
snej@22
   612
2147558408 = "CSSMERR_APPLETP_INVALID_ID_LINKAGE";
snej@22
   613
2147558409 = "CSSMERR_APPLETP_PATH_LEN_CONSTRAINT";
snej@22
   614
2147558410 = "CSSMERR_APPLETP_INVALID_ROOT";
snej@22
   615
2147558411 = "CSSMERR_APPLETP_CRL_EXPIRED";
snej@22
   616
2147558412 = "CSSMERR_APPLETP_CRL_NOT_VALID_YET";
snej@22
   617
2147558413 = "CSSMERR_APPLETP_CRL_NOT_FOUND";
snej@22
   618
2147558414 = "CSSMERR_APPLETP_CRL_SERVER_DOWN";
snej@22
   619
2147558415 = "CSSMERR_APPLETP_CRL_BAD_URI";
snej@22
   620
2147558416 = "CSSMERR_APPLETP_UNKNOWN_CERT_EXTEN";
snej@22
   621
2147558417 = "CSSMERR_APPLETP_UNKNOWN_CRL_EXTEN";
snej@22
   622
2147558418 = "CSSMERR_APPLETP_CRL_NOT_TRUSTED";
snej@22
   623
2147558419 = "CSSMERR_APPLETP_CRL_INVALID_ANCHOR_CERT";
snej@22
   624
2147558420 = "CSSMERR_APPLETP_CRL_POLICY_FAIL";
snej@22
   625
2147558421 = "CSSMERR_APPLETP_IDP_FAIL";
snej@22
   626
2147558422 = "CSSMERR_APPLETP_CERT_NOT_FOUND_FROM_ISSUER";
snej@22
   627
2147558423 = "CSSMERR_APPLETP_BAD_CERT_FROM_ISSUER";
snej@22
   628
2147558424 = "CSSMERR_APPLETP_SMIME_EMAIL_ADDRS_NOT_FOUND";
snej@22
   629
2147558425 = "CSSMERR_APPLETP_SMIME_BAD_EXT_KEY_USE";
snej@22
   630
2147558426 = "CSSMERR_APPLETP_SMIME_BAD_KEY_USE";
snej@22
   631
2147558427 = "CSSMERR_APPLETP_SMIME_KEYUSAGE_NOT_CRITICAL";
snej@22
   632
2147558428 = "CSSMERR_APPLETP_SMIME_NO_EMAIL_ADDRS";
snej@22
   633
2147558429 = "CSSMERR_APPLETP_SMIME_SUBJ_ALT_NAME_NOT_CRIT";
snej@22
   634
2147558430 = "CSSMERR_APPLETP_SSL_BAD_EXT_KEY_USE";
snej@22
   635
2147558431 = "CSSMERR_APPLETP_OCSP_BAD_RESPONSE";
snej@22
   636
2147558432 = "CSSMERR_APPLETP_OCSP_BAD_REQUEST";
snej@22
   637
2147558433 = "CSSMERR_APPLETP_OCSP_UNAVAILABLE";
snej@22
   638
2147558434 = "CSSMERR_APPLETP_OCSP_STATUS_UNRECOGNIZED";
snej@22
   639
2147558435 = "CSSMERR_APPLETP_INCOMPLETE_REVOCATION_CHECK";
snej@22
   640
2147558436 = "CSSMERR_APPLETP_NETWORK_FAILURE";
snej@22
   641
2147558437 = "CSSMERR_APPLETP_OCSP_NOT_TRUSTED";
snej@22
   642
2147558438 = "CSSMERR_APPLETP_OCSP_INVALID_ANCHOR_CERT";
snej@22
   643
2147558439 = "CSSMERR_APPLETP_OCSP_SIG_ERROR";
snej@22
   644
2147558440 = "CSSMERR_APPLETP_OCSP_NO_SIGNER";
snej@22
   645
2147558441 = "CSSMERR_APPLETP_OCSP_RESP_MALFORMED_REQ";
snej@22
   646
2147558442 = "CSSMERR_APPLETP_OCSP_RESP_INTERNAL_ERR";
snej@22
   647
2147558443 = "CSSMERR_APPLETP_OCSP_RESP_TRY_LATER";
snej@22
   648
2147558444 = "CSSMERR_APPLETP_OCSP_RESP_SIG_REQUIRED";
snej@22
   649
2147558445 = "CSSMERR_APPLETP_OCSP_RESP_UNAUTHORIZED";
snej@22
   650
2147558446 = "CSSMERR_APPLETP_OCSP_NONCE_MISMATCH";
snej@22
   651
2147558447 = "CSSMERR_APPLETP_CS_BAD_CERT_CHAIN_LENGTH";
snej@22
   652
2147558448 = "CSSMERR_APPLETP_CS_NO_BASIC_CONSTRAINTS";
snej@22
   653
2147558449 = "CSSMERR_APPLETP_CS_BAD_PATH_LENGTH";
snej@22
   654
2147558450 = "CSSMERR_APPLETP_CS_NO_EXTENDED_KEY_USAGE";
snej@22
   655
2147558451 = "CSSMERR_APPLETP_CODE_SIGN_DEVELOPMENT";
snej@22
   656
snej@22
   657
/* Apple's private .Mac TP errors, defined in cssmapple.h. */
snej@22
   658
snej@22
   659
2147558500 = "CSSMERR_APPLE_DOTMAC_REQ_QUEUED";
snej@22
   660
2147558501 = "CSSMERR_APPLE_DOTMAC_REQ_REDIRECT";
snej@22
   661
2147558502 = "CSSMERR_APPLE_DOTMAC_REQ_SERVER_ERR";
snej@22
   662
2147558503 = "CSSMERR_APPLE_DOTMAC_REQ_SERVER_PARAM";
snej@22
   663
2147558504 = "CSSMERR_APPLE_DOTMAC_REQ_SERVER_AUTH";
snej@22
   664
2147558505 = "CSSMERR_APPLE_DOTMAC_REQ_SERVER_UNIMPL";
snej@22
   665
2147558506 = "CSSMERR_APPLE_DOTMAC_REQ_SERVER_NOT_AVAIL";
snej@22
   666
2147558507 = "CSSMERR_APPLE_DOTMAC_REQ_SERVER_ALREADY_EXIST";
snej@22
   667
2147558508 = "CSSMERR_APPLE_DOTMAC_REQ_SERVER_SERVICE_ERROR";
snej@22
   668
2147558509 = "CSSMERR_APPLE_DOTMAC_REQ_IS_PENDING";
snej@22
   669
2147558510 = "CSSMERR_APPLE_DOTMAC_NO_REQ_PENDING";