The members of System.Security.Cryptography.RSACryptoServiceProvider are listed below.
See Also: Inherited members from System.Security.Cryptography.RSA
Public Constructors
| | Create a new RSACryptoServiceProvider instance with the specified key pair length. |
| | Create a new DSACryptoServiceProvider instance with the specified key pair length. |
| | Create a new RSACryptoServiceProvider instance with the default key pair length. The generated key pair will be persisted in the key store specified by the CspParameters. |
| | Create a new RSACryptoServiceProvider instance with the specified key pair length. The generated key pair will be persisted in the key store specified by the CspParameters. |
Public Properties
[read-only] | CspKeyContainerInfo | CspKeyContainerInfo. Documentation for this section has not yet been entered. |
[read-only] override | KeyExchangeAlgorithm | string. Return the common, but unique, name when using this algorithm for key exchange. |
[read-only] override | KeySize | int. Return the key length (in bits) of the current key. |
| PersistKeyInCsp | bool. Specify if the current key pair is persisted into a Cryptographic Service Provider (CSP) |
[read-only] | PublicOnly | bool. Documentation for this section has not yet been entered. |
[read-only] override | SignatureAlgorithm | string. Return the common, but unique, name when using this algorithm for signature. |
static | UseMachineKeyStore | bool. Specified if, by default, the key store for persistance should be the machine store (default is the user store). |
Public Methods
| Decrypt(byte[], bool) : byte[]Decrypt the provided data using the private key and the specified padding mechanism. |
override | DecryptValue(byte[]) : byte[]Raw (unpadded) decryption using the RSA private key. |
| Encrypt(byte[], bool) : byte[]Encrypt the provided data using the public key and the specified padding mechanism. |
override | EncryptValue(byte[]) : byte[]Raw (unpadded) encryption using the RSA public key. |
| ExportCspBlob(bool) : byte[]Documentation for this section has not yet been entered. |
override | ExportParameters(bool) : RSAParametersExport the instance key into a System.Security.Cryptography.RSAParameters structure. |
| Finalize()Documentation for this section has not yet been entered. |
| ImportCspBlob(byte[])Documentation for this section has not yet been entered. |
override | ImportParameters(RSAParameters)Import the key from the System.Security.Cryptography.DSAParameters structure into the current instance. |
| SignData(byte[], object) : byte[]Process the specified hash algorithm on the complete buffer specified then sign it's result. |
| SignData(System.IO.Stream, object) : byte[]Process the specified hash algorithm on the stream then sign it's result. |
| SignData(byte[], int, int, object) : byte[]Process the specified hash algorithm on a subset of the buffer specified then sign it's result. |
| SignHash(byte[], string) : byte[]Sign the specified hash value. |
| VerifyData(byte[], object, byte[]) : boolProcess the specified hash algorithm on the complete buffer specified then verify it's signature. |
| VerifyHash(byte[], string, byte[]) : boolVerify the signature using the specified hash value. |
Protected Methods
override | Dispose(bool)Documentation for this section has not yet been entered. |