Provides RSA encryption services using the Windows Crypto API methods.

See Also

Project VBCorLib Overview





 CspKeyContainerInfo (get)Returns a CspKeyContainerInfo object containing information about this RSACryptoServiceProvider instance. 
 KeyExchangeAlgorithm (get)Returns the name of the key exchange algorithm this instance represents. 
 KeySize (get)Returns the RSA key size in bits. 
 KeySize (let)Sets the key size. 
 LegalKeySizes (get)Returns an array of KeySizes objects defining the valid key sizes. 
 PersistKeyInCsp (get)Returns if the current key will be stored in the current provider container. 
 PersistKeyInCsp (let)Sets if the current key will be stored in the current provider container. 
 PublicOnly (get)Returns if the key for this RSA instance is only the public half of the key pair. 
 SignatureAlgorithm (get)Returns the signature algorithm. 


 ClearReleases any resources and disposes the RSA instance. 
 DecryptDecrypts data using the private key in this RSA instance. 
 DecryptValueDecrypts the value. 
 EncryptEncrypts data using the public key in this RSA instance. 
 EncryptValueEncrypts a value. 
 EqualsThis function determines if the value passed in is the same as the current object instance. Meaning, are the Value and this object the same object in memory. 
 ExportCspBlobExports the key information as a CryptoAPI PRIVATEKEYBLOB or PUBLICKEYBLOB structure. 
 ExportParametersExports the RSA algorithm parameters. 
 FromXmlStringImports RSA parameters from an XML string. 
 GetHashCodeReturns a psuedo-unique number used to help identify this object in memory. The current method is to return the value obtained from ObjPtr. If a different method needs to be impelmented then change the method here in this function. An override might be necessary if the hashcode should be derived from a value contained within the class. 
 ImportCspBlobImports a CryptoAPI PRIVATEKEYBLOB or PUBLICKEYBLOB into the RSA provider. 
 ImportParametersImports the RSA key parameters. 
 SignDataSigns data using the specified hash algorithm. 
 SignHashSigns a hash using RSA AT_SIGNATURE. 
 ToStringReturns a string representation of this object instance. The default method simply returns the application name and class name in which this class resides. A Person class may return the persons name instead. 
 ToXmlStringExports the RSA key to an Xml string. 
 VerifyDataVerifies the data using the signature. 
 VerifyHashVerifies the hash using the signature.