Click or drag to resize

RSACryptoServiceProvider Methods

The RSACryptoServiceProvider type exposes the following members.

Methods
 NameDescription
Public methodClear Releases all resources used by the Crestron.SimplSharp.Cryptography.AsymmetricAlgorithm class.
(Inherited from AsymmetricAlgorithm)
Public methodDecrypt Decrypts data with the Crestron.SimplSharp.Cryptography.RSA algorithm.
Public methodDecryptValue This method is not supported in the current version.
(Overrides RSADecryptValue(Byte))
Public methodDispose Dispose
(Inherited from AsymmetricAlgorithm)
Protected methodDispose(Boolean) Required member to implement AsymmetricAlgorithm class.
(Overrides AsymmetricAlgorithmDispose(Boolean))
Public methodEncrypt Encrypts data with the Crestron.SimplSharp.Cryptography.RSA algorithm.
Public methodEncryptValue This method is not supported in the current version.
(Overrides RSAEncryptValue(Byte))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExportCspBlob Exports a blob containing the key information associated with an Crestron.SimplSharp.Cryptography.RSACryptoServiceProvider object.
Public methodExportParameters Exports the Crestron.SimplSharp.Cryptography.RSAParameters.
(Overrides RSAExportParameters(Boolean))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodImportCspBlob Imports a blob that represents RSA key information.
Public methodImportParameters Imports the specified Crestron.SimplSharp.Cryptography.RSAParameters.
(Overrides RSAImportParameters(RSAParameters))
Public methodSignData(Byte, Object) Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
Public methodSignData(Stream, Object) Computes the hash value of the specified input stream using the specified hash algorithm, and signs the resulting hash value.
Public methodSignData(Byte, Int32, Int32, Object) Computes the hash value of a subset of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
Public methodSignHash Computes the signature for the specified hash value by encrypting it with the private key.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodVerifyData Verifies the specified signature data by comparing it to the signature computed for the specified data.
Public methodVerifyHash Verifies the specified signature data by comparing it to the signature computed for the specified hash value.
Top
See Also