CSharpTest.Net
RSAPrivateKey Class Members
See Also  Fields  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Crypto Namespace : RSAPrivateKey Class


Glossary Item Box

The following tables list the members exposed by RSAPrivateKey.

Public Constructors

 NameDescription
Public ConstructorRSAPrivateKey ConstructorOverloaded.   
Top

Public Fields

 NameDescription
Public FieldDefaultKeySizeThe default key size in bits to use when constructing a new keypair  
Public FieldMaxKeySizeThe maximum allowed value for an RSA key  
Public FieldMinKeySizeThe minimum allowed value for an RSA key  
Top

Public Properties

 NameDescription
Public PropertyIsPrivateKeyReturns True if this object is also an RSAPrivateKey (Inherited from CSharpTest.Net.Crypto.RSAPublicKey)
Public PropertyPublicKeyReturns only the public key of this public/private key pair  
Top

Protected Properties

 NameDescription
Protected PropertyBlockSizeProvides the size, in bytes, of the maximum transform unit (Inherited from CSharpTest.Net.Crypto.AsymmetricKey)
Protected PropertyRSAKeyReturns the key to use for encryption/decryption (Inherited from CSharpTest.Net.Crypto.RSAPublicKey)
Protected PropertyTransformSizeProivdes the output size, in bytes, assuming an input of BlockSize (Inherited from CSharpTest.Net.Crypto.AsymmetricKey)
Top

Public Methods

 NameDescription
Public MethodDecryptOverloaded. Decrypts the given bytes (Inherited from CSharpTest.Net.Crypto.CryptoKey)
Public MethodDeleteFromStoreRemoves the key from the Csp store if it was fetch with RSAPublicKey.FromStore(...) (Inherited from CSharpTest.Net.Crypto.RSAPublicKey)
Public MethodDisposeOverloaded. Clears any secure memory associated with this object (Inherited from CSharpTest.Net.Crypto.CryptoKey)
Public MethodEncryptOverloaded. Encrypts the given bytes (Inherited from CSharpTest.Net.Crypto.CryptoKey)
Public MethodExportParametersReturns the public/private key information (Inherited from CSharpTest.Net.Crypto.RSAPublicKey)
Public Methodstatic (Shared in Visual Basic)FromBytesCreates the key from the information provided  
Public Methodstatic (Shared in Visual Basic)FromParametersCreates the key from the information provided  
Public Methodstatic (Shared in Visual Basic)FromStoreCreates the key from the information provided  
Public Methodstatic (Shared in Visual Basic)FromXmlCreates the key from the information provided  
Public MethodSignHashSigns the provided Hash code with the private key and returns the hash signature  
Public MethodToArrayReturns a CspBlob standard binary key definition (Inherited from CSharpTest.Net.Crypto.RSAPublicKey)
Public MethodToXmlOverloaded. Overridden. Returns the key information  
Public MethodVerifyHashSigns the provided Hash code with the private key and returns the hash signature (Inherited from CSharpTest.Net.Crypto.RSAPublicKey)
Public MethodWriteToStoreOverloaded. Writes a copy of this key into the local Csp store for the current user (Inherited from CSharpTest.Net.Crypto.RSAPublicKey)
Top

Protected Methods

 NameDescription
Protected MethodAssert<T>Throws ObjectDisposedException if the object has been disposed (Inherited from CSharpTest.Net.Crypto.CryptoKey)
Protected MethodCryptographicExceptionUsed to ensure generality in excpetions raised from cryptographic routines. (Inherited from CSharpTest.Net.Crypto.CryptoKey)
Protected MethodDecryptBlockDecrypts a raw data block as a set of bytes (Inherited from CSharpTest.Net.Crypto.AsymmetricKey)
Protected MethodEncryptBlockEncrypts a raw data block as a set of bytes (Inherited from CSharpTest.Net.Crypto.AsymmetricKey)
Top

See Also

Generated with Document! X 2011 by Innovasys