RE: Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs
From: [MSFT] (lukezhan_at_online.microsoft.com)
Date: 03/24/05
- Previous message: Robert Megee: "reading nfs mounted files on a 2003 server"
- In reply to: Roy Chastain: "Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs"
- Next in thread: Roy Chastain: "Re: Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs"
- Reply: Roy Chastain: "Re: Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Mar 2005 02:27:41 GMT
Hello Roy,
A public/private key pair is generated whenever a new instance of an
asymmetric algorithm class is created. Once a new instance of the class is
created, the key information can be extracted using one of two methods:
1. The ToXMLString method, which returns an XML representation of the key
information.
2. The ExportParameters method, which returns an RSAParameters enumeration
to hold the key information.
For more information on this, you may refer to this article:
Generating Keys for Encryption and Decryption
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpcongeneratingkeysforencryptiondecryption.asp
Hope this help,
Luke
- Previous message: Robert Megee: "reading nfs mounted files on a 2003 server"
- In reply to: Roy Chastain: "Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs"
- Next in thread: Roy Chastain: "Re: Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs"
- Reply: Roy Chastain: "Re: Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]