Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

I've got a gut feeling the RSACryptoServiceProvider generates a key or key pair upon creating an instance. Is this true? I need to use the RSA.. class to use my own keys (which I know how to do, by the way) and do not want it to spend time creating keys that will never be used. Especially considering a key container can only be provided to the provider using the constructor (FAFAIK at the moment) Does it store it's own key in the registry before storing mine when I use the .FromXML method?

 

Info on the web is quite sparse.

 

Of course I find some extra info right after posting: the constructor creates a new key, if no default key is available. Next question is; what is the default key?

Edited by ppc76

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...