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


Glossary Item Box

The following tables list the members exposed by RSAPublicKey.

Public Constructors

 NameDescription
Public ConstructorRSAPublicKey ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyIsPrivateKeyReturns True if this object is also an RSAPrivateKey  
Top

Protected Properties

 NameDescription
Protected PropertyBlockSizeOverridden. For this type of padding, block size is (key byte length - 11) see http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsacryptoserviceprovider.encrypt.aspx  
Protected PropertyRSAKeyReturns the key to use for encryption/decryption  
Protected PropertyTransformSizeOverridden. Output size  
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(...)  
Public MethodDisposeOverloaded. Overridden. Clears the key  
Public MethodEncryptOverloaded. Encrypts the given bytes (Inherited from CSharpTest.Net.Crypto.CryptoKey)
Public MethodExportParametersReturns the public/private key information  
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)FromStoreOverloaded. Creates the key from the information provided  
Public Methodstatic (Shared in Visual Basic)FromXmlOverloaded. Creates the key from the information provided  
Public MethodToArrayReturns a CspBlob standard binary key definition  
Public MethodToXmlOverloaded. Returns the key information  
Public MethodVerifyHashSigns the provided Hash code with the private key and returns the hash signature  
Public MethodWriteToStoreOverloaded. Writes a copy of this key into the local Csp store for the current user  
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 MethodDecryptBlockOverridden. Decrypts the given bytes  
Protected MethodEncryptBlockOverridden. Encrypts the given bytes  
Top

See Also

Generated with Document! X 2011 by Innovasys