Click or drag to resize

RSA Class

Represents the base class from which all implementations of the Crestron.SimplSharp.Cryptography.RSA algorithm inherit.
Inheritance Hierarchy

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public abstract class RSA : AsymmetricAlgorithm

The RSA type exposes the following members.

Constructors
 NameDescription
Protected methodRSA Initializes a new instance of Crestron.SimplSharp.Cryptography.RSA.
Top
Properties
 NameDescription
Public propertyKeyExchangeAlgorithm When overridden in a derived class, gets the name of the key exchange algorithm.
(Inherited from AsymmetricAlgorithm)
Public propertyKeySize Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm)
Public propertyLegalKeySizes Gets the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm)
Public propertySignatureAlgorithm Gets the name of the signature algorithm.
(Inherited from AsymmetricAlgorithm)
Top
Methods
 NameDescription
Public methodClear Releases all resources used by the Crestron.SimplSharp.Cryptography.AsymmetricAlgorithm class.
(Inherited from AsymmetricAlgorithm)
Public methodStatic memberCreate Creates an instance of the default implementation of the Crestron.SimplSharp.Cryptography.RSA algorithm.
Public methodStatic memberCreate(String) Creates an instance of the specified implementation of Crestron.SimplSharp.Cryptography.RSA.
Public methodDecryptValue When overridden in a derived class, decrypts the input data using the private key.
Public methodDispose Dispose
(Inherited from AsymmetricAlgorithm)
Protected methodDispose(Boolean) When overridden in a derived class, releases the unmanaged resources used by the Crestron.SimplSharp.Cryptography.AsymmetricAlgorithm and optionally releases the managed resources.
(Inherited from AsymmetricAlgorithm)
Public methodEncryptValue When overridden in a derived class, encrypts the input data using the public key.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExportParameters When overridden in a derived class, exports the Crestron.SimplSharp.Cryptography.RSAParameters.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodImportParameters When overridden in a derived class, imports the specified Crestron.SimplSharp.Cryptography.RSAParameters.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected fieldKeySizeValue Represents the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm)
Protected fieldLegalKeySizesValue Specifies the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also