I'm trying to retrieve a timestamp from a TSA using CryptRetrieveTimeStamp.
I can get it from some of the free services found on this answer, but always using the TIMESTAMP_NO_AUTH_RETRIEVAL flag.
But now that I want to use a paid service that uses…
I am a novice in C++ and started learning wincrypt yesterday. I have written this piece of code,
#pragma comment(lib, "crypt32.lib")
#include
#include
#include // CryptoAPI definitions
using namespace…
What does it mean that a function, in particular CryptExportPKCS8 is deprecated?
https://msdn.microsoft.com/en-us/library/windows/desktop/aa379932(v=vs.85).aspx
I'm aware that one can't use it with newer version of wincrypt just because it is not…
CONTEXT: I'm developing an application that requires a licensing process to add some security to it. The application is major C#, but it has a small portion (an independent module, in fact) of it written in C++.
The latter already has a licensing…
I'm using Visual Studios 2012 on Windows 8.1, on a 64 bit machine. I'm having trouble compiling the following code for c++, getting the above error:
#include
#include
void MD5Init(MD5Context *ctx)
{
…
I have seen the other links on this site about this topic but they are not helpful. If anyone can help me with this I would greatly appreciate it.
I am reading a line of encrypted text generated with the WinCrypt API using Visual Studio C++ 2010…
How to add Subject Alternative Name in the certificate. Using wincrypt I have created and added the certificate to "MY" and "root" path where CN can be machine fully qualified domain name or hostname or IP. As Subject alternate name I want to add…
I'm using wincrypt to encrypt data in the server side, using AES.
I want to decrypt data coming from server in the client side.
I know that AES uses IV to increase randomization. In python we can specify the IV so it's not a problem to encrypt data…
I am trying to replace a openssl code to CNG winapi code. Below is the barebone openssl code which i have.
const char *generator = ""; // 256 character hex string
const char *prime = ""; // 256 character hex string
dh = DH_new();
//…
I want to disable the encryption which is encrypted in Wincrypt API.
Please give me suggestions, how to do that, general sugestions are also welcomed
Below is the Code Samples from EncryptedMessage.cpp :
EncryptedMessage Encrypt( TextMessage& Msg,…