RSAManaged Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)
Managed implementation of RSA algorithm.
Syntax
public class RSAManaged : RSA, IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
RSAManaged() | Initializes a new instance of the RSAManaged class with the key size of 1024. |
RSAManaged(Int32) | Initializes a new instance of the RSAManaged class with the specified key size. |
Properties
Name | Description |
---|---|
Key |
Gets the name of the key exchange algorithm available with this implementation of RSA. |
Signature |
Gets the name of the signature algorithm available with this implementation of RSA. |
Methods
Name | Description |
---|---|
Decrypt(Byte[]) | Decrypts data with the RSA algorithm. |
Decrypt |
Decrypts data with the RSA algorithm. Replacement for deprecated Decrypt |
Decrypt |
Decrypts data with the RSA algorithm. |
Dispose(Boolean) | Releases the unmanaged resources and optionally releases the managed resources. |
Encrypt(Byte[]) | Encrypts data with the RSA algorithm. |
Encrypt |
Decrypts data with the RSA algorithm. Replacement for deprecated Encrypt |
Encrypt |
Encrypts data with the RSA algorithm. |
Export |
Exports the RSAParameters. |
Import |
Imports the specified RSAParameters. |
Sign |
Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value. |
Sign |
Computes the signature for the specified hash value by signing it with the private key. |
Verify |
Verifies the specified signature data by comparing it to the signature computed for the specified data. |
Verify |
Verifies the specified signature data by comparing it to the signature computed for the specified hash value. |