The following tables list the members exposed by RSAPrivateKey.
Name | Description | |
---|---|---|
![]() | RSAPrivateKey Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | DefaultKeySize | The default key size in bits to use when constructing a new keypair |
![]() | MaxKeySize | The maximum allowed value for an RSA key |
![]() | MinKeySize | The minimum allowed value for an RSA key |
Name | Description | |
---|---|---|
![]() | IsPrivateKey | Returns True if this object is also an RSAPrivateKey (Inherited from CSharpTest.Net.Crypto.RSAPublicKey) |
![]() | PublicKey | Returns only the public key of this public/private key pair |
Name | Description | |
---|---|---|
![]() | BlockSize | Provides the size, in bytes, of the maximum transform unit (Inherited from CSharpTest.Net.Crypto.AsymmetricKey) |
![]() | RSAKey | Returns the key to use for encryption/decryption (Inherited from CSharpTest.Net.Crypto.RSAPublicKey) |
![]() | TransformSize | Proivdes the output size, in bytes, assuming an input of BlockSize (Inherited from CSharpTest.Net.Crypto.AsymmetricKey) |
Name | Description | |
---|---|---|
![]() | Decrypt | Overloaded. Decrypts the given bytes (Inherited from CSharpTest.Net.Crypto.CryptoKey) |
![]() | DeleteFromStore | Removes the key from the Csp store if it was fetch with RSAPublicKey.FromStore(...) (Inherited from CSharpTest.Net.Crypto.RSAPublicKey) |
![]() | Dispose | Overloaded. Clears any secure memory associated with this object (Inherited from CSharpTest.Net.Crypto.CryptoKey) |
![]() | Encrypt | Overloaded. Encrypts the given bytes (Inherited from CSharpTest.Net.Crypto.CryptoKey) |
![]() | ExportParameters | Returns the public/private key information (Inherited from CSharpTest.Net.Crypto.RSAPublicKey) |
![]() ![]() | FromBytes | Creates the key from the information provided |
![]() ![]() | FromParameters | Creates the key from the information provided |
![]() ![]() | FromStore | Creates the key from the information provided |
![]() ![]() | FromXml | Creates the key from the information provided |
![]() | SignHash | Signs the provided Hash code with the private key and returns the hash signature |
![]() | ToArray | Returns a CspBlob standard binary key definition (Inherited from CSharpTest.Net.Crypto.RSAPublicKey) |
![]() | ToXml | Overloaded. Overridden. Returns the key information |
![]() | VerifyHash | Signs the provided Hash code with the private key and returns the hash signature (Inherited from CSharpTest.Net.Crypto.RSAPublicKey) |
![]() | WriteToStore | Overloaded. Writes a copy of this key into the local Csp store for the current user (Inherited from CSharpTest.Net.Crypto.RSAPublicKey) |
Name | Description | |
---|---|---|
![]() | Assert<T> | Throws ObjectDisposedException if the object has been disposed (Inherited from CSharpTest.Net.Crypto.CryptoKey) |
![]() | CryptographicException | Used to ensure generality in excpetions raised from cryptographic routines. (Inherited from CSharpTest.Net.Crypto.CryptoKey) |
![]() | DecryptBlock | Decrypts a raw data block as a set of bytes (Inherited from CSharpTest.Net.Crypto.AsymmetricKey) |
![]() | EncryptBlock | Encrypts a raw data block as a set of bytes (Inherited from CSharpTest.Net.Crypto.AsymmetricKey) |
Reference
RSAPrivateKey ClassCSharpTest.Net.Crypto Namespace
Source Code
Library/Crypto/RSAPrivateKey.csUsed By
RSAPrivateKey RSAPrivateKey.FromParameters(RSAParameters)RSAPrivateKey RSAPrivateKey.FromBytes(Byte[])
RSAPrivateKey RSAPrivateKey.FromStore(String)
RSAPrivateKey RSAPrivateKey.FromStore(CspParameters)