Click or drag to resize

AsymmetricAlgorithm Class

Represents the base class from which all asymmetric key exchange formatters derive.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.CryptographyAsymmetricAlgorithm
    Crestron.SimplSharp.CryptographyDSA
    Crestron.SimplSharp.CryptographyRSA

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

The AsymmetricAlgorithm type exposes the following members.

Constructors
 NameDescription
Protected methodAsymmetricAlgorithm Initializes a new instance of the Crestron.SimplSharp.Cryptography.AsymmetricAlgorithm class.
Top
Properties
 NameDescription
Public propertyKeyExchangeAlgorithm When overridden in a derived class, gets the name of the key exchange algorithm.
Public propertyKeySize Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.
Public propertyLegalKeySizes Gets the key sizes that are supported by the asymmetric algorithm.
Public propertySignatureAlgorithm Gets the name of the signature algorithm.
Top
Methods
 NameDescription
Public methodClear Releases all resources used by the Crestron.SimplSharp.Cryptography.AsymmetricAlgorithm class.
Public methodStatic memberCreate Creates a default cryptographic object used to perform the asymmetric algorithm.
Public methodStatic memberCreate(String) Creates the specified cryptographic object used to perform the asymmetric algorithm.
Public methodDispose Dispose
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.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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)
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.
Protected fieldLegalKeySizesValue Specifies the key sizes that are supported by the asymmetric algorithm.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also