Re: Asymetric Encryption - What am I doing wrong?
From: William Stacey [MVP] (staceyw@mvps.org)
Date: 04/06/03
- Previous message: Andrew Snyder: ".NET Cryptography Performance"
- In reply to: Etienne Charland: "Re: Asymetric Encryption - What am I doing wrong?"
- Next in thread: Michel Gallant \(MVP\): "Re: Asymetric Encryption - What am I doing wrong?"
- Reply: Michel Gallant \(MVP\): "Re: Asymetric Encryption - What am I doing wrong?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "William Stacey [MVP]" <staceyw@mvps.org> Date: Sun, 6 Apr 2003 16:09:49 -0400
Q - How do you protect a private key in this case, when it is persisted to a
file?
-- William Stacey, MVP "Etienne Charland" <mystery@golden.net> wrote in message news:uzk0Y58#CHA.2052@TK2MSFTNGP11.phx.gbl... > It's easy to put the content of the RSA parameters to a file. You can call > myRSA.ToXmlString to get all the data in a string (in XML format). You put > that string in a file. To get it back, you call FromXmlString. > > Etienne > > "David S." <pleasenospamjustdave2@cox.net> wrote in message > news:eGigfa8#CHA.1996@TK2MSFTNGP12.phx.gbl... > > Allen, > > > > You are correct, In a previous attempt I found that I had success > encrypting > > and decrypting on the same system. > > > > I tried to follow this example: > > http://www.eggheadcafe.com/articles/20020630.asp > > > > And it looks simple enough, but I wonder if there is something more than > > just the keys that must be exported... > > > > I don't see an easy way of writing the entire set of RSA parameters to a > > file, and I am beginning to think that I am missing a seed value or > > something that is still in the local keystore. > > > > David > > > > > > "Allen Jones" <agj@bigfoot.com> wrote in message > > news:ORZfhp6#CHA.2704@TK2MSFTNGP11.phx.gbl... > > > One suggestion. > > > > > > Try getting your system working by persisting your asymmetric keys to a > > CSP > > > key container using the CspParameters class. > > > > > > At least then you can determine if it is how you are storing and > > retrieving > > > your keys. > > > > > > Regards > > > Allen > > > > > > > > > > >
- Previous message: Andrew Snyder: ".NET Cryptography Performance"
- In reply to: Etienne Charland: "Re: Asymetric Encryption - What am I doing wrong?"
- Next in thread: Michel Gallant \(MVP\): "Re: Asymetric Encryption - What am I doing wrong?"
- Reply: Michel Gallant \(MVP\): "Re: Asymetric Encryption - What am I doing wrong?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|