Creating a DSACryptoServiceProvider without generating new Keys
From: Mike Grasso (mgrasso2_at_tampabay.rr.com)
Date: 06/24/03
- Next message: mrwoopey: "How do you figure out the LDAP://? ("Error authenticating. Error authenticating user. The specified domain either does not exist or could not be contacted")"
- Previous message: Matthew Honkanen: "Re: ASP .net impersonation not working"
- Next in thread: Sebastien Pouliot: "Re: Creating a DSACryptoServiceProvider without generating new Keys"
- Reply: Sebastien Pouliot: "Re: Creating a DSACryptoServiceProvider without generating new Keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 24 Jun 2003 13:44:28 -0700
Hey all,
If you construct a DSACryptoServiceProvider(), it will generate a new
pair of keys. That's great and all , but I already have my keys.
I've played around with the CspParameters, but that just deals with
the MachineKeyStore. This app will be sitting on a client who will
only have my public key. I'd like to load the key using
FromXmlString(). My problem is that when I construct the
DSACryptoServiceProvider, it takes over 8 seconds. This is way too
long, and I don't need it. I guess I could pop up a copy of War and
Peace for the users to read, but I'd like to be able to cut out the
unnecessary key generation.
- Next message: mrwoopey: "How do you figure out the LDAP://? ("Error authenticating. Error authenticating user. The specified domain either does not exist or could not be contacted")"
- Previous message: Matthew Honkanen: "Re: ASP .net impersonation not working"
- Next in thread: Sebastien Pouliot: "Re: Creating a DSACryptoServiceProvider without generating new Keys"
- Reply: Sebastien Pouliot: "Re: Creating a DSACryptoServiceProvider without generating new Keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]