Click here to Skip to main content
15,888,610 members
Articles / Desktop Programming / Win32

Cryptographic Interoperability: Keys

Rate me:
Please Sign up or sign in to vote.
5.00/5 (63 votes)
5 Jun 2008CPOL33 min read 301.6K   14.2K   192  
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.                   
#define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
#endif						

#include <windows.h>

#include <string>
using std::string;
using std::wstring;

#include <iostream>
using std::cout;
using std::wcout;

using std::cin;
using std::wcin;

using std::cerr;
using std::wcerr;

using std::endl;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems / Hardware Administrator
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions