AsymmetricAlgorithm

AsymmetricAlgorithm


Provides a common interface to be implemented by all Asymmetrical algorithm classes.


Public:

Properties:

NameDescription
 KeyExchangeAlgorithm (get) Returns the exchange algorithm used for key exchanges.  
 KeySize (get) Returns the key size of the current algorithm instance.  
 KeySize (let) Sets the key size to be used by the current algorithm instance.  
 LegalKeySizes (get) Returns an array of KeySizes representing all legal and valid key sizes for the current instance of the algorithm.  
 SignatureAlgorithm (get) Returns the name of the algorithm used for signing data and hashes.  

Methods:

NameDescription
 Clear Releases all resources used by the current algorithm instance.  
 Equals Returns if the value and this object instance are equal.  
 FromXmlString Initializes an Asymmetric Algorithm instance from an XML string.  
 GetHashCode Returns a semi-unique value genetated for this instance.  
 ToString Returns a string representation of this instance.  
 ToXmlString Returns an XML representation of the Asymmetrice Algorithm.  

See Also

Project CorLib Overview

Class AsymmetricAlgorithm Overview

RSACryptoServiceProvider

DSACryptoServiceProvider