Skip to main content

AsymmetricAlgorithm Class

NuGet: GHIElectronics.TinyCLR.Cryptography
Assembly: System.Security.Cryptography
Namespace: System.Security.Cryptography

Abstract base for asymmetric (public-key) algorithms.

public abstract class AsymmetricAlgorithm : IDisposable

Properties

KeySize

public virtual int KeySize { get; set; }

The key size, in bits.

KeyExchangeAlgorithm

public virtual string KeyExchangeAlgorithm { get; }

Name of the key-exchange algorithm, or null.

SignatureAlgorithm

public virtual string SignatureAlgorithm { get; }

Name of the signature algorithm, or null.

Methods

Dispose()

public virtual void Dispose()

Releases the resources used by the algorithm.

Clear()

public void Clear()

Releases the resources used by the algorithm.