Commit Graph

180 Commits

Author SHA1 Message Date
Alexandre Julliard 60ac1cec62 include: Use DECLSPEC_HIDDEN instead of DECLSPEC_IMPORT for dll exports.
DECLSPEC_IMPORT interferes with delay imports on MinGW.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:34 +02:00
Orhan Kavrakoğlu d3c606954b crypt32: Implement CryptHashCertificate2.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46516
Signed-off-by: Orhan Kavrakoğlu <aibok42@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 17:12:13 +01:00
Hans Leidekker 226fd5cb23 crypt32: Initial implementation of PFXImportCertStore.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 17:12:13 +01:00
Orhan Kavrakoğlu 7ab111aabb crypt32: Add CryptImportPublicKeyInfoEx2 stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46516
Signed-off-by: Orhan Kavrakoğlu <aibok42@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 10:22:40 +01:00
Dmitry Timoshkov 25ced03068 include: Fix a typo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-17 10:46:06 +01:00
Thanasis Papoutsidakis 473b269d70 crypt32: Add some missing CRYPT_STRING flags.
Signed-off-by: Thanasis Papoutsidakis <pwnzorbot4000@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-07 10:47:21 -06:00
Dmitry Timoshkov 62838182d5 crypt32: Add support for importing public key information to a 3rd party CSP.
Based on a patch by Alexander Morozov.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 15:30:24 +02:00
Dmitry Timoshkov 061033ed02 crypt32: Implement CryptRegisterOIDInfo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 13:37:21 +02:00
Alex Henrie 62296c56c9 include: Add missing type declaration to CERT_EFSBLOB_VALUE_NAME.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-25 11:58:39 +02:00
Michael Müller 3b168abc16 crypt32/tests: Add a basic test for ecdsa oid.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 17:12:53 +02:00
Michael Müller d791d36a9b crypt32: Implement decoding of X509_OBJECT_IDENTIFIER.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:23:16 +02:00
Alex Henrie f0da42f7f6 include: Add CertRegisterSystemStore and CertUnregisterSystemStore.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:58 +01:00
Jacek Caban 86c998e551 crypt32: Added support for szOID_NIST_sha* OIDs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 09:06:33 +01:00
Hans Leidekker 9bafbe1086 crypt32: Add a stub implementation of CertUnregisterPhysicalStore.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:21 +01:00
Alex Henrie 26a47d32a3 include: Add CryptProtectMemory and CryptUnprotectMemory.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-16 22:26:32 +09:00
André Hentschel 0d6906bf21 include: Remove duplicate declaration of PFXVerifyPassword.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 12:06:05 +02:00
Akihiro Sagawa 8d2c20575e include: Add CALG_ECDH_EPHEM family.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 20:02:52 +02:00
Alex Henrie e0f7d17507 include: Add constants for CryptProtectMemory/CryptUnprotectMemory.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:53 +01:00
Huw Davies 9430954c8a include: Add new members to WINTRUST_DATA and CRYPT_PROVIDER_DATA.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 14:16:50 +01:00
Jacek Caban 0d2c6db9d2 wincrypt.h: Added some missing constants. 2015-07-03 08:28:08 +09:00
Nikolay Sivov bfd2c533be rsaenh: Fail on unsupported flag values only in CryptHashData(). 2013-10-18 11:31:23 +02:00
Michael Stefaniuc 23b86eb44e include: Replace the remaining CONSTs. 2013-09-27 10:34:09 +02:00
Piotr Caban 15632df2c9 include: Added MS_ENH_RSA_AES_PROV_XP definition. 2012-12-06 13:03:07 +01:00
Ken Thomases ba12844f32 include/wincrypt.h: Add identifiers for Elliptic curve Diffie-Hellman algorithm. 2012-07-16 14:19:31 +02:00
Francois Gouget 644cd0ae17 include: Add a missing wincrypt.h include directive to mprapi.h.
Also add the USE_WC_PREFIX macro so one can cleanly deal with the CMSG_DATA conflict with sys/socket.h.
2011-12-13 18:59:03 +01:00
Michael Stefaniuc ad0f8b6b66 include: Make some more "long" numeric constants LP64/LLP64 proof. 2011-11-22 11:10:02 +01:00
Alexander Morozov a39e87532b wincrypt.h: Fix a typo. 2011-11-02 16:07:25 +01:00
Juan Lang 259dc8c17c wincrypt.h: Add FindCertsByIssuer declaration. 2011-10-24 11:17:22 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Louis Lenders e11e1841f3 crypt32: Add stub for PFXVerifyPassword. 2011-06-03 17:36:09 +02:00
Juan Lang 7f0db79491 crypt32: Add stub for CertRegisterPhysicalStore. 2011-01-17 13:22:05 +01:00
Alexander Morozov 60be01f16d wincrypt.h: Define PFN_CMSG_IMPORT_KEY_TRANS callback function. 2010-12-16 11:22:45 +01:00
Alexander Morozov 1de6229489 wincrypt.h: Define some enveloped message callback functions. 2010-12-02 14:45:17 +01:00
Juan Lang 70462b5e08 include: Define a couple more CERT_CHAIN_POLICY flags. 2010-10-06 14:41:04 +02:00
Juan Lang b6a5772a0c include: Define a few missing CERT_TRUST error and info flags. 2010-10-06 14:41:03 +02:00
Juan Lang 3d73c466ca wincrypt.h: Remove duplicate definitions. 2010-06-21 11:46:46 +02:00
Juan Lang d3db308853 crypt32: Update definition of CERT_CHAIN_ENGINE_CONFIG. 2010-05-20 13:47:53 +02:00
Juan Lang 8447844d81 include: Add a few missing OIDs. 2010-03-15 15:06:11 +01:00
Juan Lang cb035848c4 wincrypt.h: Add missing URL OIDs. 2009-12-04 12:01:42 +01:00
Juan Lang 9495aa22bf wincrypt.h: Define szOID_INHIBIT_ANY_POLICY. 2009-11-10 13:05:30 +01:00
Juan Lang d8094382a8 crypt32: Implement CertAddEncodedCertificateToSystemStoreA/W. 2009-11-04 16:45:16 +01:00
Juan Lang ed701e0787 crypt32: Add stub for CryptGetIntendedKeyUsage. 2009-11-03 21:31:28 +01:00
Juan Lang fc0aff0d2e crypt32: Add support for the CRYPT_STRING_NOCRLF flag to CryptBinaryToStringA/W. 2009-11-03 21:16:12 +01:00
Dmitry Timoshkov d3c482250a rsaenh: Fix the accepted RC2 key length, based on a test case by Dan Kegel. 2009-10-13 14:07:00 +02:00
Alexandre Julliard a54bd70bac advapi32: Use strict prototypes in the VTableProvStruc definition. 2009-10-07 13:31:12 +02:00
Hans Leidekker 50d75d480e include: Sync definition of CERT_CHAIN_PARA and SCHANNEL_CRED with the latest SDK. 2009-05-28 15:28:39 +02:00
Juan Lang 4f7385e6bd include: Add definitions for CryptFindCertificateKeyProvInfo. 2009-01-28 12:09:09 +01:00
Juan Lang f2ee8242a2 include: Add PFX definitions. 2009-01-28 12:08:06 +01:00
Juan Lang a53537d66d include: Add a few definitions. 2009-01-28 12:07:56 +01:00
Juan Lang fa659a64e2 include: Add declaration of CryptFindLocalizedName. 2008-12-22 13:41:58 +01:00