AsymmetricAlgorithm

AsymmetricAlgorithm


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


See Also

Project VBCorLib Overview | RSACryptoServiceProvider | DSACryptoServiceProvider

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
 ClearReleases all resources used by the current algorithm instance. 
 EqualsReturns if the value and this object instance are equal. 
 FromXmlStringInitializes an Asymmetric Algorithm instance from an XML string. 
 GetHashCodeReturns a semi-unique value genetated for this instance. 
 ToStringReturns a string representation of this instance. 
 ToXmlStringReturns an XML representation of the Asymmetrice Algorithm.