Commit Graph

251 Commits

Author SHA1 Message Date
Juan Lang fd3cd61b5d cryptui: Correct return value of the user cancels the export wizard. 2009-02-09 12:08:20 +01:00
Juan Lang 0d961d9ce3 cryptui: Implement exporting to a PFX file. 2009-02-09 12:08:15 +01:00
Juan Lang 8cb9702265 cryptui: Skip password page when moving backward through the export wizard if it wasn't shown in the first place. 2009-02-09 12:08:09 +01:00
Juan Lang 0eefd4fb3b cryptui: Validate password in export wizard. 2009-02-09 12:08:04 +01:00
Juan Lang 6209459b21 cryptui: Only show password page if the private key is to be exported. 2009-02-09 12:07:28 +01:00
Juan Lang 9c52df8364 cryptui: Add a password page to the export wizard. 2009-02-09 12:07:22 +01:00
Juan Lang 7dae1dc512 cryptui: Enable/disable PFX choice based on whether the private key is to be exported. 2009-02-09 12:07:12 +01:00
Juan Lang f09b7fa12f cryptui: Set default export format based on whether the private key is to be exported. 2009-02-09 12:07:06 +01:00
Juan Lang bd3c992795 cryptui: Make a copy of export info in CryptUIWizExport. 2009-02-09 12:06:56 +01:00
Juan Lang 53c84a8518 cryptui: Prompt whether to export the private key from CryptUIWizExport. 2009-02-09 12:06:48 +01:00
Marcus Meissner 540f11f6d6 cryptui: Check NULL ptr differently (Coverity). 2009-02-05 13:15:13 +01:00
Hwang YunSong(황윤성) b86f626528 cryptui: Updated Korean resource. 2009-02-03 12:39:50 +01:00
Juan Lang 3b7c62f80b cryptui: Fix a few test failures on older Windows versions. 2009-01-30 11:44:31 +01:00
Juan Lang 157709d7a2 cryptui: Export all selected certificates when requested from the certificate manager, not just the first one. 2009-01-27 11:08:11 +01:00
Juan Lang 56b38801b1 cryptui: Set default export file name based on input in CryptUIWizExport. 2009-01-27 11:08:03 +01:00
Juan Lang b2fefc0ffd cryptui: Move code for enabling the PFX export format to the correct dialog proc. 2009-01-27 11:07:45 +01:00
Juan Lang 214045988f cryptui: Select export format based on input in CryptUIWizExport. 2009-01-27 11:07:38 +01:00
Juan Lang 15a8ea6a51 cryptui: Implement CryptUIWizExport for CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY. 2009-01-27 11:07:12 +01:00
Juan Lang a7096f9636 cryptui: Add support for exporting a serialized store from CryptUIWizExport. 2009-01-27 11:04:30 +01:00
Juan Lang 4ae62fba22 cryptui: Add error checking to CryptUIWizExport. 2009-01-27 11:03:51 +01:00
Juan Lang 1165146188 cryptui: Default to exporting in DER format. 2009-01-27 11:03:45 +01:00
Juan Lang 53955c57fe cryptui: Always initialize export wizard's export options. 2009-01-27 11:03:39 +01:00
Juan Lang 01c24c641c cryptui: Call CryptUIWizExport when asked to. 2009-01-26 14:28:20 +01:00
Juan Lang 8e5f9d57fc cryptui: Fix a typo. 2009-01-26 14:28:16 +01:00
Juan Lang 56215060dc cryptui: Implement CryptUIWizExport for the no UI case. 2009-01-26 14:28:10 +01:00
Juan Lang 40905e42ac cryptui: Use a public type rather than a private one for export options in the export wizard. 2009-01-26 14:28:04 +01:00
Juan Lang 71e944e37a cryptui: Implement saving from the export wizard. 2009-01-26 14:27:55 +01:00
Juan Lang 5d92e2d20f cryptui: Show details of export on finish page of export wizard. 2009-01-26 14:27:47 +01:00
Juan Lang 4e9cbb2807 cryptui: Implement browsing for a filename in the export wizard. 2009-01-26 14:27:38 +01:00
Juan Lang 298f7c53f8 cryptui: Validate filename in export wizard. 2009-01-26 14:27:25 +01:00
Juan Lang 8b2792d1c1 cryptui: Enable/disable checkboxes in the format page of the export wizard depending on selection. 2009-01-26 14:27:14 +01:00
Juan Lang 7f9c8fa92f cryptui: Disable the PFX export format in the export wizard unless the source has a private key. 2009-01-26 14:27:03 +01:00
Juan Lang 245e22fb94 cryptui: Remember format and format options when leaving the format page of the export wizard. 2009-01-26 14:26:27 +01:00
Juan Lang c417c9b9c2 cryptui: Skip the format page of the export wizard if the format is implied. 2009-01-26 14:26:13 +01:00
Juan Lang 0cac6977e6 cryptui: Add a do-nothing export wizard. 2009-01-26 14:26:03 +01:00
Juan Lang 787b4bcd52 cryptui: Add stub for CryptUIWizExport. 2009-01-26 14:25:10 +01:00
Dmitry Timoshkov 267c709341 cryptui: Use "-1" as a "don't care value", fix dialog id duplicates. 2009-01-14 12:21:38 +01:00
Hwang YunSong(황윤성) e90c8f53e2 cryptui: New Korean resource. 2009-01-12 16:53:18 +01:00
Juan Lang 113cb2d313 cryptui: Don't make certificate status control disabled.
This allows using the scrollbar when there are lots of usages set for
the certificate.
2009-01-10 14:49:46 +01:00
Juan Lang 9ecb7b75e3 cryptui: Improve control spacing.
This makes the two static control borders between the three regions on
the general page appear to be the same height.
2009-01-10 14:49:46 +01:00
Juan Lang e50e78f1cb cryptui: Fix crash with native riched20. 2009-01-09 14:48:36 +01:00
Juan Lang 732fce7c3c cryptui: Call CryptUIWizImport from the certificate manager dialog. 2009-01-09 14:47:51 +01:00
Juan Lang ed5d0d8894 cryptui: Set appropriate radio button in CryptUIWizImport if the destination store is specified. 2009-01-09 14:47:47 +01:00
Juan Lang 9d6d8570fc cryptui: Implement removing certificates from certificate manager dialog. 2009-01-09 14:47:33 +01:00
Juan Lang a6e21329ee cryptui: Show usages for selected cert in certificate manager dialog. 2009-01-09 14:47:24 +01:00
Juan Lang a3f746b085 cryptui: Show selected certificate when requested in the certificate manager dialog. 2009-01-09 14:47:03 +01:00
Juan Lang c33dfc2d41 cryptui: Enable/disable controls based on selection in certificate manager dialog. 2009-01-09 14:46:57 +01:00
Juan Lang 0a58167b07 cryptui: Filter shown certs according to purpose selection in certificate manager dialog. 2009-01-09 14:46:51 +01:00
Juan Lang e7e91402d2 cryptui: Refresh cert view when purpose selection is changed in the certificate manager dialog. 2009-01-09 14:46:29 +01:00
Juan Lang 73a8f89468 cryptui: Add saved purposes to the purpose selection in the certificate manager dialog. 2009-01-09 14:46:23 +01:00
Juan Lang dfc8b91ca2 cryptui: Save purposes in certificate manager dialog's advanced dialog. 2009-01-09 14:45:54 +01:00
Juan Lang 0c17a5d61c cryptui: Recall usage state from registry in certificate manager dialog's advanced dialog. 2009-01-09 14:45:33 +01:00
Juan Lang a180f505b9 cryptui: Allow toggling a usage in the certificate manager dialog's advanced dialog. 2009-01-09 14:45:25 +01:00
Juan Lang 06505e53ae cryptui: Add known usages to certificate manager dialog's advanced dialog. 2009-01-09 14:45:19 +01:00
Juan Lang 7675bf428a cryptui: Add a (empty) advanced dialog to the certificate manager dialog. 2009-01-09 14:45:14 +01:00
Juan Lang be1587ca50 cryptui: Refresh store display when a tab is switched or the purpose selection is changed in the certificate manager dialog. 2009-01-09 14:44:53 +01:00
Juan Lang 29dcd60587 cryptui: Display contents of certificate store in certificate manager dialog. 2009-01-09 14:44:44 +01:00
Juan Lang 1d59060152 cryptui: Show names of stores certificate manager dialog. 2009-01-09 14:44:31 +01:00
Juan Lang 96d0e63620 cryptui: Add purpose selection and column headings to certificate manager dialog. 2009-01-09 14:44:23 +01:00
Juan Lang 1f183ea289 cryptui: Add a (empty) certificate manager dialog. 2009-01-09 14:44:13 +01:00
Juan Lang 214a01ac6c cryptui: Add a header bitmap to CryptUIWizImport's interior pages. 2008-12-24 19:58:40 +01:00
Juan Lang 56c7b55dfa cryptui: Add watermark image to welcome and finish pages of CryptUIWizImport. 2008-12-24 19:58:30 +01:00
Juan Lang 27d9903ec9 cryptui: Hide the column header on the finish page of CryptUIWizImport. 2008-12-24 19:58:16 +01:00
Juan Lang 0cfa64d5c9 cryptui: Use an appropriate title font for the welcome and finish wizard pages. 2008-12-24 19:58:09 +01:00
Juan Lang c6458f0fa6 cryptui: Call CryptUIWizImport from CryptUIDlgViewCertificateW. 2008-12-23 19:55:50 +01:00
Juan Lang a468c03988 cryptui: Perform import when finishing the CryptUIWizImport wizard. 2008-12-23 19:55:45 +01:00
Juan Lang 72980e1bd0 cryptui: Show the content type on the final page of CryptUIWizImport. 2008-12-23 19:55:38 +01:00
Juan Lang 1e06495b12 cryptui: Show file name and type of destination store in final page of CryptUIWizImport. 2008-12-23 19:55:32 +01:00
Juan Lang 91deb95ed5 cryptui: Ensure that a destination store is selected in CryptUIWizImport. 2008-12-23 19:55:25 +01:00
Juan Lang 2bab6a2c5d cryptui: Implement specifying the destination store in CryptUIWizImport. 2008-12-23 19:55:20 +01:00
Juan Lang 9f6c543355 cryptui: Skip the file page in CryptUIWizImport when the import source isn't a file. 2008-12-23 19:55:02 +01:00
Juan Lang b9917661aa cryptui: Store input file as a store in the file page of CryptUIWizImport. 2008-12-23 19:54:56 +01:00
Juan Lang db91fdfaa8 cryptui: Validate input file in CryptUIWizImport. 2008-12-23 19:54:50 +01:00
Juan Lang 183df56c11 cryptui: Separate opening a file from importing it. 2008-12-23 19:54:44 +01:00
Juan Lang 9169e6ed02 cryptui: Make sure input file is not empty. 2008-12-23 19:54:39 +01:00
Juan Lang dbab34e8d5 cryptui: Show UI rather than failing if no import source is specified. 2008-12-23 19:54:31 +01:00
Juan Lang 0db9031465 cryptui: Implement browsing for input file in CryptUIWizImport. 2008-12-23 19:54:25 +01:00
Juan Lang b55b4a0cf7 cryptui: Add a non-operational wizard for CryptUIWizImport. 2008-12-23 19:54:01 +01:00
Juan Lang 3b9d543693 cryptui: Use CryptQueryObject to import files in CryptUIWizImport. 2008-12-23 19:53:53 +01:00
Juan Lang f6fae84304 cryptui: Implement importing CTLs in CryptUIWizImport. 2008-12-23 19:52:47 +01:00
Juan Lang 95a38f3ac5 cryptui: Implement importing stores in CryptUIWizImport. 2008-12-23 19:52:41 +01:00
Juan Lang 31a78a7628 cryptui: Implement importing CRLs with CryptUIWizImport. 2008-12-23 19:52:34 +01:00
Juan Lang 23f789fb08 cryptui: Check for type mismatches in CryptUIWizImport. 2008-12-23 19:52:29 +01:00
Juan Lang 1accec563b cryptui: Inherit existing properties when importing a cert. 2008-12-23 19:52:22 +01:00
Juan Lang 8216c07a96 cryptui: Use helper function for importing certificates. 2008-12-23 19:52:17 +01:00
Juan Lang f2b9832518 cryptui: Test importing from a store. 2008-12-23 19:52:02 +01:00
Juan Lang f1796209eb cryptui: Test mismatches between allowed and given types in CryptUIWizImport. 2008-12-23 19:51:53 +01:00
Juan Lang 1a4f973545 cryptui: Return selected store from CryptUIDlgSelectStoreW. 2008-12-22 13:42:24 +01:00
Juan Lang 8f7e9eee93 cryptui: Make sure a store is selected when the user click OK in the select store dialog. 2008-12-22 13:42:17 +01:00
Juan Lang f3d0739916 cryptui: Add additional stores to select store dialog. 2008-12-22 13:42:10 +01:00
Juan Lang 3b765cf193 cryptui: Add system stores to the select store dialog. 2008-12-22 13:42:05 +01:00
Juan Lang 3f687ffafb cryptui: Add a (empty) select store dialog. 2008-12-22 13:41:50 +01:00
Juan Lang b378419a32 cryptui: Implement CryptUIDlgSelectStoreA on top of CryptUIDlgSelectStoreW. 2008-12-22 13:41:41 +01:00
Juan Lang b5d066d6cd cryptui: Add declarations for undocumented types used by CryptUIDlgSelectStoreA/W. 2008-12-22 13:41:31 +01:00
Juan Lang c57fff101f cryptui: Add stubs for CryptUIDlgSelectStoreA/W. 2008-12-22 13:41:16 +01:00
Juan Lang dd4e05e3ab cryptui: Fix problem with usage checkbox bitmap not being visible after the first time the edit cert properties dialog is shown. 2008-12-20 10:58:46 +01:00
Alexandre Julliard 4cca303be0 cryptui: Commit checks.bmp missed in a previous patch. 2008-12-19 18:31:35 +01:00
Juan Lang 197df1643e cryptui: Don't crash if a chain can't be created for the viewed cert. 2008-12-19 18:07:46 +01:00
Juan Lang 472f1bf508 cryptui: Partially implement CryptUIDlgViewContext. 2008-12-19 17:45:19 +01:00
Juan Lang 96a95bba25 cryptui: Refresh tabs in response to cert properties changes being applied. 2008-12-19 17:39:48 +01:00
Juan Lang 11e7701696 cryptui: Apply changes to enabled usages in response to applying the edit cert properties dialog. 2008-12-19 17:39:21 +01:00
Juan Lang 2d2aafbcfa cryptui: Set cert friendly name and description in response to applying the edit cert properties dialog. 2008-12-19 17:39:15 +01:00
Juan Lang ef8d6d8a96 cryptui: Toggle a usage when it's clicked. 2008-12-19 17:39:08 +01:00
Juan Lang a958c27cdd cryptui: Validate OID in add purpose dialog. 2008-12-19 17:39:02 +01:00
Juan Lang a0ae811ecc cryptui: Show/hide add purpose OID's scrollbar depending on how much text it has. 2008-12-19 17:38:55 +01:00
Juan Lang 356596561c cryptui: Add an add purpose dialog. 2008-12-19 17:38:49 +01:00
Juan Lang 3c7e95ee39 cryptui: Set purpose selection radio button based on enhanced key usage value. 2008-12-19 17:38:07 +01:00
Juan Lang a45c2484e0 cryptui: Redraw purposes list based on purpose selection. 2008-12-19 17:38:02 +01:00
Juan Lang 0bb4f7e3c4 cryptui: Show a cert's allowed usages in cert properties dialog. 2008-12-19 17:37:55 +01:00
Juan Lang c489ce31ba cryptui: Show/hide description's scrollbar depending on how much text it has. 2008-12-19 17:37:38 +01:00
Juan Lang 53fc5b850d cryptui: Show cert's friendly name and description in edit properties dialog. 2008-12-19 17:37:31 +01:00
Juan Lang 7153a6fb87 cryptui: Add (empty) edit cert properties dialog. 2008-12-19 17:37:24 +01:00
Juan Lang 63be2a038e cryptui: Show cert when it's double-clicked in the hierarchy page. 2008-12-19 17:37:15 +01:00
Juan Lang 93f4c49ea5 cryptui: Remove code duplication in formatting an enhanced key usage value. 2008-12-19 17:37:07 +01:00
Juan Lang 6e907fea13 cryptui: Allow viewing another cert in the chain from the hierarchy page. 2008-12-18 13:36:31 +01:00
Juan Lang 275cb46fa6 cryptui: Show certificate status for selected certificate in hierarchy page. 2008-12-18 13:36:25 +01:00
Juan Lang d3a61c769f cryptui: Show status for end cert in hierarchy page. 2008-12-18 13:36:19 +01:00
Juan Lang 84a26e5c94 cryptui: Show cert chain in hierarchy page. 2008-12-18 13:36:01 +01:00
Juan Lang e958485fe2 cryptui: Add a (empty) hierarchy page to the cert properties dialog. 2008-12-18 13:33:59 +01:00
Juan Lang 48c45fb39c cryptui: Remove unnecessary check.
Now that all the certificate extensions/properties/whatnot are shown,
the if check is unnecessary.
2008-12-18 13:33:51 +01:00
Juan Lang 094fed7529 cryptui: Show the certificate properties in the details page. 2008-12-18 13:33:42 +01:00
Juan Lang c5fad0d156 cryptui: Show the certificate extensions in the details page. 2008-12-18 13:33:32 +01:00
Juan Lang bac337e68b cryptui: Show detailed value of a field when it's selected in the details page. 2008-12-18 13:33:22 +01:00
Juan Lang d1b8b80c83 cryptui: Show the X.509 v1 certificate fields in the details page. 2008-12-18 13:30:37 +01:00
Juan Lang a4d362805b cryptui: Add selections to field selection list in details page. 2008-12-18 13:29:59 +01:00
Juan Lang b7afe1740b cryptui: Add a (empty) details page to the cert properties dialog. 2008-12-18 13:29:50 +01:00
Juan Lang e7490ad082 cryptui: Show issuer statement in cert properties dialog. 2008-12-18 13:29:31 +01:00
Juan Lang 86e1184943 cryptui: Show valid policies for a cert. 2008-12-18 13:29:20 +01:00
Juan Lang 71472a2a20 cryptui: Show icon and text representing trust state of certificate. 2008-12-18 13:29:14 +01:00
Juan Lang 9bb06915bb cryptui: Show subject, issuer, and validity period for a cert in the properties dialog. 2008-12-18 13:24:12 +01:00
Juan Lang 20dfbb3d64 cryptui: Show (empty) certificate dialog. 2008-12-18 13:18:24 +01:00
Juan Lang 104b366d07 cryptui: Call WinVerifyTrust if the caller has not. 2008-12-18 13:18:04 +01:00
Juan Lang 29bf23108b cryptui: Ignore additional prop sheet pages when calling CryptUIViewCertificateW from CryptUIViewCertificateA. 2008-12-18 13:17:47 +01:00
Nicolas Le Cam 5ddcedff18 cryptui/tests: Fix test failures on Win2k and below. 2008-11-07 11:27:28 +01:00
Francois Gouget a6d5f7df7f cryptui: Fix compilation on systems that don't support nameless unions. 2008-11-03 13:34:12 +01:00
Juan Lang b7fa4a7712 cryptui: Fix destination store for self-signed certs. 2008-10-29 11:51:39 +01:00
Juan Lang 472984f565 cryptui: Fix a failing test on Windows. 2008-10-29 11:51:33 +01:00
Juan Lang ab9a53f685 cryptui: Choose appropriate destination store for a cert. 2008-10-27 11:21:45 +01:00
Juan Lang 4b66952b7a cryptui: Test the import destination of a couple more certs. 2008-10-27 11:21:39 +01:00
Juan Lang 3f705af961 cryptui: Support importing certificate contexts. 2008-10-27 11:21:31 +01:00
Juan Lang dd81561123 cryptui: Move cert creation to a helper function. 2008-10-27 11:21:23 +01:00
Juan Lang caa64b4d03 cryptui: Improve parameter checking. 2008-10-27 11:21:13 +01:00
Juan Lang 7e0e1a1f9d cryptui: Add tests for CryptUIWizImport. 2008-10-27 11:20:39 +01:00
Juan Lang 199bf79507 cryptui: Don't crash if pImportSrc is NULL. 2008-10-27 11:19:57 +01:00
Hans Leidekker 8cbc6f951f cryptui: Honour hDestCertStore in CryptUIWizImport, be more verbose about its shortcomings. 2008-10-22 13:54:53 +02:00
Hans Leidekker d0baa50681 cryptui: Add a partial implementation of CryptUIWizImport.
This is just enough to make importing a certificate in Outlook 2007 work.
2008-10-20 12:24:01 +02:00
Juan Lang 46fbe3fc2e cryptui: Build import lib. 2008-09-22 11:51:26 +02:00
Juan Lang b01348c9a9 cryptui: Implement CryptUIDlgViewCertificateA on top of CryptUIDlgViewCertificateW. 2008-09-22 11:51:08 +02:00
Hans Leidekker 1f3e3b848b cryptui: Add a stub implementation of CryptUIDlgViewCertificateW. 2008-09-11 13:28:34 +02:00
Juan Lang 6c4d39bcaf cryptuiapi: Add a stub for CryptUIDlgCertMgr. 2008-08-29 12:24:06 +02:00