<PackageReference Include="SSH.NET" Version="2024.2.0" />

RsaDigitalSignature

Implements RSA digital signature algorithm.
public RsaDigitalSignature(RsaKey rsaKey)

Initializes a new instance of the RsaDigitalSignature class with the SHA-1 hash algorithm.

public RsaDigitalSignature(RsaKey rsaKey, HashAlgorithmName hashAlgorithmName)

Initializes a new instance of the RsaDigitalSignature class.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

protected virtual void Dispose(bool disposing)

Releases unmanaged and - optionally - managed resources.