cryptoapi
When should I use CryptoAPI vs System.Security.Cryptography vs Bouncycastle?
From what I can tell BouncyCastle & System.Security.Crypt开发者_如何学运维ography provides ability to do high level tasks while CryptoAPI is somewhat lower level.[详细]
2023-02-17 20:35 分类:问答CryptoAPI: How to verify a DSA signature from OpenSSL or Java using CryptVerifySignature
I would like to be able to verify an OpenSSL-generated DSA signature using the Microsoft CryptoAPI. Consider that you have the following inputs:[详细]
2023-02-11 12:39 分类:问答CryptoAPI: Using CryptVerifySignature to verify a signature from openssl with public key
I am trying to port the AquaticPrime framework for Mac to Windows. On the Mac, it uses the opensll library, and I try to understand how to port this to Windows, where I have to use the CryptoAPI, I g[详细]
2023-02-08 21:47 分类:问答How to generate and use public key cryptography in WinCrypt
I\'m currently experimenting with the Windows Cryptography API and running into some problems with Public-Key-Cryptography. I can find lots of examples of how to encrypt items, but nothing directly ad[详细]
2023-02-08 04:26 分类:问答Converting between Windows CryptoAPI and OpenSSL x509 formats
I have a CERT_CONTEXT structure which I\'ve extracted from a smart card on Windows via the CryptoAPI. I need to convert this structure into a DER encoded byte array which is consistent with OpenSSL. T[详细]
2023-02-08 03:32 分类:问答How to import machine certificate into the Personal certificate store associated with a Windows service?
I am reposting my question from the MSDN forums here. This problem has to do with importing a certificate into the personal certificate store associated with a windows service.[详细]
2023-02-05 03:55 分类:问答How to prevent popups when loading a keystore
Hi as corollary to this question I wanted to ask if you know how to prevent the poping of dialogue either to ask for password or to ask to insert a certificate.[详细]
2023-02-01 07:47 分类:问答MS Crypto API behavior on Windows XP vs Vista/7
I\'m trying to understand how to get a public key imported from PEM format (sample included in the code below) across XP, Vista and Windows 7.The sample code will import the key on both XP and Windows[详细]
2023-01-31 18:21 分类:问答Can't reproduce ATL-based data decryption in .NET: wrong first 4 bytes
This is C++ code: CCryptMD5Hash md5; CCryptProv cprov; PCWSTR pszPassword = <password>; BYTE* data = <array of bytes>;[详细]
2023-01-28 12:56 分类:问答CryptoAPI - export/import of keys between different versions of Windows
On Win 2003 32 bit, I successfully export a PRIVATEKEYBLOB with a CryptExportKey call (dwFlags=0).Then I attempt to import the key blob on a Win Server 2008 64 bit with a 64 bit executable, the call t[详细]
2023-01-27 12:58 分类:问答