RSA

RSA


Represents the base interface from which all RSA class implementations must implement.


Public:

Properties:

NameDescription
 KeyExchangeAlgorithm (get) Returns the algorithm used for key exchange.  
 KeySize (get) Returns the key size used by the RSA instance.  
 KeySize (let) Sets the key size used by the current RSA instance.  
 LegalKeySizes (get) Returns an array of KeySizes objects representing all the valid key sizes.  
 SignatureAlgorithm (get) Returns the name of the signature algorithm used.  

Methods:

NameDescription
 Clear Releases any resources used by the RSA instance.  
 DecryptValue Decrypts an array of encrypted data, returning the plain text data.  
 EncryptValue Encrypts an array of plain text data, returning the encrypted data.  
 Equals Returns if the Value is equal this RSA instance.  
 ExportParameters Exports the RSA key in an RSAParameters object.  
 FromXmlString Initializes an RSA instance with an Xml representation of an RSA key.  
 GetHashCode Returns a hash code identifying this object instance.  
 ImportParameters Imports the RSA key from an RSAParameters object.  
 ToString Returns a string representation of this object instance.  
 ToXmlString Returns an Xml representation of the key for this RSA instance.  

See Also

Project CorLib Overview

Class RSA Overview

RSACryptoServiceProvider