RSAOAEPKeyExchangeFormatter and RSAPKCS1KeyExchangeFormatter

  • Thread starter Thread starter namri
  • Start date Start date
N

namri

Hi,
I want to generate a RSA KEY,
why have we two methode to generate it?
there was based on which algorithm?
and can we recupere the private key.
thanks for any help
Ilham
 
These classes are intended for secure key exchange between two or more
particpants. The exchanged key can be whatever byte stream you want. RSA is
used to secure the exchange.
If your goal is to generate a new RSA key, you should instantiate the
RSACryptoServiceProvider class. If you want to retrieve the public key, or
the public and private key, you must later use the
RSACryptoServiceProvider.ExportParameters() method.
 
Back
Top