1 /* 2 * Copyright 2008 Juan Lang 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 */ 18 #ifndef __CRYPTUIRES_H_ 19 #define __CRYPTUIRES_H_ 20 21 #include <windef.h> 22 #include <winuser.h> 23 #include <commctrl.h> 24 25 #define IDS_CERTIFICATE 1000 26 #define IDS_CERTIFICATEINFORMATION 1001 27 #define IDS_CERT_INFO_BAD_SIG 1002 28 #define IDS_CERT_INFO_UNTRUSTED_CA 1003 29 #define IDS_CERT_INFO_UNTRUSTED_ROOT 1004 30 #define IDS_CERT_INFO_PARTIAL_CHAIN 1005 31 #define IDS_CERT_INFO_BAD_PURPOSES 1006 32 #define IDS_CERT_INFO_PURPOSES 1007 33 34 #define IDS_SUBJECT_HEADING 1010 35 #define IDS_ISSUER_HEADING 1011 36 #define IDS_VALID_FROM 1012 37 #define IDS_VALID_TO 1013 38 #define IDS_CERTIFICATE_BAD_SIGNATURE 1014 39 #define IDS_CERTIFICATE_BAD_TIME 1015 40 #define IDS_CERTIFICATE_BAD_TIMENEST 1016 41 #define IDS_CERTIFICATE_REVOKED 1017 42 #define IDS_CERTIFICATE_VALID 1018 43 #define IDS_FIELD 1019 44 #define IDS_VALUE 1020 45 #define IDS_FIELDS_ALL 1021 46 #define IDS_FIELDS_V1 1022 47 #define IDS_FIELDS_EXTENSIONS 1023 48 #define IDS_FIELDS_CRITICAL_EXTENSIONS 1024 49 #define IDS_FIELDS_PROPERTIES 1025 50 #define IDS_FIELD_VERSION 1026 51 #define IDS_FIELD_SERIAL_NUMBER 1027 52 #define IDS_FIELD_ISSUER 1028 53 #define IDS_FIELD_VALID_FROM 1029 54 #define IDS_FIELD_VALID_TO 1030 55 #define IDS_FIELD_SUBJECT 1031 56 #define IDS_FIELD_PUBLIC_KEY 1032 57 #define IDS_FIELD_PUBLIC_KEY_FORMAT 1033 58 #define IDS_PROP_HASH 1034 59 #define IDS_PROP_ENHKEY_USAGE 1035 60 #define IDS_PROP_FRIENDLY_NAME 1036 61 #define IDS_PROP_DESCRIPTION 1037 62 #define IDS_CERTIFICATE_PROPERTIES 1038 63 #define IDS_CERTIFICATE_PURPOSE_ERROR 1039 64 #define IDS_CERTIFICATE_PURPOSE_EXISTS 1040 65 #define IDS_SELECT_STORE_TITLE 1041 66 #define IDS_SELECT_STORE 1042 67 #define IDS_IMPORT_WIZARD 1043 68 #define IDS_IMPORT_TYPE_MISMATCH 1044 69 #define IDS_IMPORT_FILE_TITLE 1045 70 #define IDS_IMPORT_FILE_SUBTITLE 1046 71 #define IDS_IMPORT_STORE_TITLE 1047 72 #define IDS_IMPORT_STORE_SUBTITLE 1048 73 #define IDS_IMPORT_FILTER_CERT 1049 74 #define IDS_IMPORT_FILTER_PFX 1050 75 #define IDS_IMPORT_FILTER_CRL 1051 76 #define IDS_IMPORT_FILTER_CTL 1052 77 #define IDS_IMPORT_FILTER_SERIALIZED_STORE 1053 78 #define IDS_IMPORT_FILTER_CMS 1054 79 #define IDS_IMPORT_FILTER_ALL 1055 80 #define IDS_IMPORT_EMPTY_FILE 1056 81 #define IDS_IMPORT_BAD_FORMAT 1057 82 #define IDS_IMPORT_OPEN_FAILED 1058 83 #define IDS_IMPORT_DEST_DETERMINED 1059 84 #define IDS_IMPORT_SELECT_STORE 1060 85 #define IDS_IMPORT_STORE_SELECTION 1061 86 #define IDS_IMPORT_DEST_AUTOMATIC 1062 87 #define IDS_IMPORT_FILE 1063 88 #define IDS_IMPORT_CONTENT 1064 89 #define IDS_IMPORT_CONTENT_CERT 1065 90 #define IDS_IMPORT_CONTENT_CRL 1066 91 #define IDS_IMPORT_CONTENT_CTL 1067 92 #define IDS_IMPORT_CONTENT_CMS 1068 93 #define IDS_IMPORT_CONTENT_PFX 1069 94 #define IDS_IMPORT_CONTENT_STORE 1070 95 #define IDS_IMPORT_SUCCEEDED 1071 96 #define IDS_IMPORT_FAILED 1072 97 #define IDS_WIZARD_TITLE_FONT 1073 98 #define IDS_PURPOSE_ALL 1074 99 #define IDS_PURPOSE_ADVANCED 1075 100 #define IDS_SUBJECT_COLUMN 1076 101 #define IDS_ISSUER_COLUMN 1077 102 #define IDS_EXPIRATION_COLUMN 1078 103 #define IDS_FRIENDLY_NAME_COLUMN 1079 104 #define IDS_ALLOWED_PURPOSE_ALL 1080 105 #define IDS_ALLOWED_PURPOSE_NONE 1081 106 #define IDS_WARN_REMOVE_MY 1082 107 #define IDS_WARN_REMOVE_PLURAL_MY 1083 108 #define IDS_WARN_REMOVE_ADDRESSBOOK 1084 109 #define IDS_WARN_REMOVE_PLURAL_ADDRESSBOOK 1085 110 #define IDS_WARN_REMOVE_CA 1086 111 #define IDS_WARN_REMOVE_PLURAL_CA 1087 112 #define IDS_WARN_REMOVE_ROOT 1088 113 #define IDS_WARN_REMOVE_PLURAL_ROOT 1089 114 #define IDS_WARN_REMOVE_TRUSTEDPUBLISHER 1090 115 #define IDS_WARN_REMOVE_PLURAL_TRUSTEDPUBLISHER 1091 116 #define IDS_WARN_REMOVE_DEFAULT 1092 117 #define IDS_WARN_REMOVE_PLURAL_DEFAULT 1093 118 #define IDS_CERT_MGR 1094 119 #define IDS_FRIENDLY_NAME_NONE 1095 120 121 #define IDS_PURPOSE_SERVER_AUTH 1100 122 #define IDS_PURPOSE_CLIENT_AUTH 1101 123 #define IDS_PURPOSE_CODE_SIGNING 1102 124 #define IDS_PURPOSE_EMAIL_PROTECTION 1103 125 #define IDS_PURPOSE_IPSEC 1104 126 #define IDS_PURPOSE_TIMESTAMP_SIGNING 1105 127 #define IDS_PURPOSE_CTL_USAGE_SIGNING 1106 128 #define IDS_PURPOSE_EFS 1107 129 #define IDS_PURPOSE_EFS_RECOVERY 1108 130 #define IDS_PURPOSE_WHQL 1109 131 #define IDS_PURPOSE_NT5 1110 132 #define IDS_PURPOSE_OEM_WHQL 1111 133 #define IDS_PURPOSE_EMBEDDED_NT 1112 134 #define IDS_PURPOSE_ROOT_LIST_SIGNER 1113 135 #define IDS_PURPOSE_QUALIFIED_SUBORDINATION 1114 136 #define IDS_PURPOSE_KEY_RECOVERY 1115 137 #define IDS_PURPOSE_DOCUMENT_SIGNING 1116 138 #define IDS_PURPOSE_LIFETIME_SIGNING 1117 139 #define IDS_PURPOSE_DRM 1118 140 #define IDS_PURPOSE_LICENSES 1119 141 #define IDS_PURPOSE_LICENSE_SERVER 1120 142 #define IDS_PURPOSE_ENROLLMENT_AGENT 1121 143 #define IDS_PURPOSE_SMARTCARD_LOGON 1122 144 #define IDS_PURPOSE_CA_EXCHANGE 1123 145 #define IDS_PURPOSE_KEY_RECOVERY_AGENT 1124 146 #define IDS_PURPOSE_DS_EMAIL_REPLICATION 1125 147 148 #define IDS_EXPORT_WIZARD 1200 149 #define IDS_EXPORT_FORMAT_TITLE 1201 150 #define IDS_EXPORT_FORMAT_SUBTITLE 1202 151 #define IDS_EXPORT_FILE_TITLE 1203 152 #define IDS_EXPORT_FILE_SUBTITLE 1204 153 #define IDS_EXPORT_FILE_EXISTS 1205 154 #define IDS_EXPORT_FILTER_CERT 1206 155 #define IDS_EXPORT_FILTER_BASE64_CERT 1207 156 #define IDS_EXPORT_FILTER_CRL 1208 157 #define IDS_EXPORT_FILTER_CTL 1209 158 #define IDS_EXPORT_FILTER_CMS 1210 159 #define IDS_EXPORT_FILTER_PFX 1211 160 #define IDS_EXPORT_FILTER_SERIALIZED_CERT_STORE 1212 161 #define IDS_EXPORT_FORMAT 1213 162 #define IDS_EXPORT_INCLUDE_CHAIN 1214 163 #define IDS_EXPORT_KEYS 1215 164 #define IDS_YES 1216 165 #define IDS_NO 1217 166 #define IDS_EXPORT_SUCCEEDED 1218 167 #define IDS_EXPORT_FAILED 1219 168 #define IDS_EXPORT_PRIVATE_KEY_TITLE 1220 169 #define IDS_EXPORT_PRIVATE_KEY_SUBTITLE 1221 170 #define IDS_EXPORT_PASSWORD_TITLE 1222 171 #define IDS_EXPORT_PASSWORD_SUBTITLE 1223 172 #define IDS_EXPORT_PASSWORD_MISMATCH 1224 173 #define IDS_EXPORT_PRIVATE_KEY_UNAVAILABLE 1225 174 #define IDS_EXPORT_PRIVATE_KEY_NON_EXPORTABLE 1226 175 176 #define IDD_GENERAL 100 177 #define IDD_DETAIL 101 178 #define IDD_HIERARCHY 102 179 #define IDD_USERNOTICE 103 180 #define IDD_CERT_PROPERTIES_GENERAL 104 181 #define IDD_ADD_CERT_PURPOSE 105 182 #define IDD_SELECT_STORE 106 183 #define IDD_IMPORT_WELCOME 107 184 #define IDD_IMPORT_FILE 108 185 #define IDD_IMPORT_STORE 109 186 #define IDD_IMPORT_FINISH 110 187 #define IDD_CERT_MGR 111 188 #define IDD_CERT_MGR_ADVANCED 112 189 #define IDD_EXPORT_WELCOME 113 190 #define IDD_EXPORT_PRIVATE_KEY 114 191 #define IDD_EXPORT_PASSWORD 115 192 #define IDD_EXPORT_FORMAT 116 193 #define IDD_EXPORT_FILE 117 194 #define IDD_EXPORT_FINISH 118 195 196 #define IDB_SMALL_ICONS 200 197 #define IDB_CERT 201 198 #define IDB_CERT_ERROR 202 199 #define IDB_CERT_WARNING 203 200 #define IDB_CHECKS 204 201 #define IDB_CERT_WATERMARK 205 202 #define IDB_CERT_HEADER 206 203 204 #define IDC_CERTIFICATE_ICON 2001 205 #define IDC_CERTIFICATE_INFO 2002 206 #define IDC_CERTIFICATE_STATUS 2003 207 #define IDC_CERTIFICATE_NAMES 2004 208 #define IDC_ADDTOSTORE 2005 209 #define IDC_ISSUERSTATEMENT 2006 210 211 #define IDC_DETAIL_SELECT 2100 212 #define IDC_DETAIL_LIST 2101 213 #define IDC_DETAIL_VALUE 2102 214 #define IDC_EDITPROPERTIES 2103 215 #define IDC_EXPORT 2104 216 217 #define IDC_VIEWCERTIFICATE 2200 218 #define IDC_CERTPATH 2201 219 #define IDC_CERTIFICATESTATUS 2202 220 #define IDC_CERTIFICATESTATUSTEXT 2203 221 222 #define IDC_USERNOTICE 2300 223 #define IDC_CPS 2301 224 225 #define IDC_FRIENDLY_NAME 2400 226 #define IDC_DESCRIPTION 2401 227 #define IDC_ENABLE_ALL_PURPOSES 2402 228 #define IDC_DISABLE_ALL_PURPOSES 2403 229 #define IDC_ENABLE_SELECTED_PURPOSES 2404 230 #define IDC_CERTIFICATE_USAGES 2405 231 #define IDC_ADD_PURPOSE 2406 232 233 #define IDC_NEW_PURPOSE 2500 234 235 #define IDC_STORE_TEXT 2600 236 #define IDC_STORE_LIST 2601 237 #define IDC_SHOW_PHYSICAL_STORES 2602 238 239 #define IDC_IMPORT_TITLE 2700 240 #define IDC_IMPORT_FILENAME 2701 241 #define IDC_IMPORT_BROWSE_FILE 2702 242 #define IDC_IMPORT_AUTO_STORE 2703 243 #define IDC_IMPORT_SPECIFY_STORE 2704 244 #define IDC_IMPORT_STORE 2705 245 #define IDC_IMPORT_BROWSE_STORE 2706 246 #define IDC_IMPORT_SETTINGS 2707 247 248 #define IDC_MGR_PURPOSE_SELECTION 2800 249 #define IDC_MGR_STORES 2801 250 #define IDC_MGR_CERTS 2802 251 #define IDC_MGR_IMPORT 2803 252 #define IDC_MGR_EXPORT 2804 253 #define IDC_MGR_REMOVE 2805 254 #define IDC_MGR_ADVANCED 2806 255 #define IDC_MGR_PURPOSES 2807 256 #define IDC_MGR_VIEW 2808 257 258 #define IDC_EXPORT_TITLE 2900 259 #define IDC_EXPORT_FORMAT_DER 2901 260 #define IDC_EXPORT_FORMAT_BASE64 2902 261 #define IDC_EXPORT_FORMAT_CMS 2903 262 #define IDC_EXPORT_FORMAT_PFX 2904 263 #define IDC_EXPORT_CMS_INCLUDE_CHAIN 2905 264 #define IDC_EXPORT_PFX_INCLUDE_CHAIN 2906 265 #define IDC_EXPORT_PFX_STRONG_ENCRYPTION 2907 266 #define IDC_EXPORT_PFX_DELETE_PRIVATE_KEY 2908 267 #define IDC_EXPORT_FILENAME 2909 268 #define IDC_EXPORT_BROWSE_FILE 2910 269 #define IDC_EXPORT_SETTINGS 2911 270 #define IDC_EXPORT_PRIVATE_KEY_YES 2912 271 #define IDC_EXPORT_PRIVATE_KEY_NO 2913 272 #define IDC_EXPORT_PRIVATE_KEY_UNAVAILABLE 2914 273 #define IDC_EXPORT_PASSWORD 2915 274 #define IDC_EXPORT_PASSWORD_CONFIRM 2916 275 276 #endif /* ndef __CRYPTUIRES_H_ */ 277