Re: Asymetric Encryption - What am I doing wrong?

From: Etienne Charland (mystery@golden.net)
Date: 04/06/03

  • Next message: David S.: "Re: Asymetric Encryption - What am I doing wrong?"
    From: "Etienne Charland" <mystery@golden.net>
    Date: Sat, 5 Apr 2003 18:51:51 -0500
    
    

    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
    > >
    >
    >
    >


  • Next message: David S.: "Re: Asymetric Encryption - What am I doing wrong?"