The RSAManaged type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkRSAManaged()()()()
Initializes a new instance of the RSAManaged class with the key size of 1024.
Public methodSupported by the .NET Compact FrameworkRSAManaged(Int32)
Initializes a new instance of the RSAManaged class with the specified key size.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClear
Releases all resources used by the AsymmetricAlgorithm class.
(Inherited from AsymmetricAlgorithm.)
Public methodSupported by the .NET Compact FrameworkDecrypt(array<Byte>[]()[][])
Decrypts data with the RSA algorithm.
Public methodSupported by the .NET Compact FrameworkDecrypt(array<Byte>[]()[][], RSAEncryptionPadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkDecryptValue
Decrypts data with the RSA algorithm.
(Overrides RSA..::..DecryptValue(array<Byte>[]()[][]).)
Public methodSupported by the .NET Compact FrameworkDispose()()()() (Inherited from AsymmetricAlgorithm.)
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Releases the unmanaged resources and optionally releases the managed resources.
(Overrides AsymmetricAlgorithm..::..Dispose(Boolean).)
Public methodSupported by the .NET Compact FrameworkEncrypt(array<Byte>[]()[][])
Encrypts data with the RSA algorithm.
Public methodSupported by the .NET Compact FrameworkEncrypt(array<Byte>[]()[][], RSAEncryptionPadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkEncryptValue
Encrypts data with the RSA algorithm.
(Overrides RSA..::..EncryptValue(array<Byte>[]()[][]).)
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkExportParameters
Exports the RSAParameters.
(Overrides RSA..::..ExportParameters(Boolean).)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkFromXmlString
Initializes an RSA object from the key information from an XML string.
(Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkHashData(Stream, HashAlgorithmName) (Inherited from RSA.)
Protected methodSupported by the .NET Compact FrameworkHashData(array<Byte>[]()[][], Int32, Int32, HashAlgorithmName) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkImportParameters
Imports the specified RSAParameters.
(Overrides RSA..::..ImportParameters(RSAParameters).)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSignData(array<Byte>[]()[][], HashAlgorithm)
Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
Public methodSupported by the .NET Compact FrameworkSignData(array<Byte>[]()[][], HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkSignData(Stream, HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkSignData(array<Byte>[]()[][], Int32, Int32, HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkSignHash(array<Byte>[]()[][]) Obsolete.
Public methodSupported by the .NET Compact FrameworkSignHash(array<Byte>[]()[][], String)
Computes the signature for the specified hash value by signing it with the private key.
Public methodSupported by the .NET Compact FrameworkSignHash(array<Byte>[]()[][], HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodStatic memberSupported by the .NET Compact FrameworkSignHash(RSA, array<Byte>[]()[][], String) Obsolete.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToXmlString
Creates and returns an XML string containing the key of the current RSA object.
(Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkVerifyData(array<Byte>[]()[][], HashAlgorithm, array<Byte>[]()[][])
Verifies the specified signature data by comparing it to the signature computed for the specified data.
Public methodSupported by the .NET Compact FrameworkVerifyData(array<Byte>[]()[][], array<Byte>[]()[][], HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkVerifyData(Stream, array<Byte>[]()[][], HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkVerifyData(array<Byte>[]()[][], Int32, Int32, array<Byte>[]()[][], HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodSupported by the .NET Compact FrameworkVerifyHash(array<Byte>[]()[][], array<Byte>[]()[][]) Obsolete.
Public methodSupported by the .NET Compact FrameworkVerifyHash(array<Byte>[]()[][], String, array<Byte>[]()[][])
Verifies the specified signature data by comparing it to the signature computed for the specified hash value.
Public methodSupported by the .NET Compact FrameworkVerifyHash(array<Byte>[]()[][], array<Byte>[]()[][], HashAlgorithmName, RSASignaturePadding) (Inherited from RSA.)
Public methodStatic memberSupported by the .NET Compact FrameworkVerifyHash(RSA, array<Byte>[]()[][], String, array<Byte>[]()[][]) Obsolete.

Fields

  NameDescription
Protected fieldSupported by the .NET Compact FrameworkKeySizeValue
Represents the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Protected fieldSupported by the .NET Compact FrameworkLegalKeySizesValue
Specifies the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkKeyExchangeAlgorithm
Gets the name of the key exchange algorithm available with this implementation of RSA.
(Overrides RSAKeyExchangeAlgorithm()()()().)
Public propertySupported by the .NET Compact FrameworkKeySize
Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkLegalKeySizes
Gets the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm.)
Public propertySupported by the .NET Compact FrameworkSignatureAlgorithm
Gets the name of the signature algorithm available with this implementation of RSA.
(Overrides RSASignatureAlgorithm()()()().)

See Also