Renci.SshNet.Security.EcdsaKey
Contains ECDSA (ecdsa-sha2-nistp{256,384,521}) private and public key.
namespace Renci.SshNet.Security
{
public class EcdsaKey : Key, IDisposable
{
public CngAlgorithm HashAlgorithm { get; }
public byte[] PrivateKey { get; }
public ECDsa Ecdsa { get; }
public EcdsaKey(SshKeyData publicKeyData);
public EcdsaKey(string curve, byte[] publickey, byte[] privatekey);
public EcdsaKey(byte[] data);
public void Dispose();
protected virtual void Dispose(bool disposing);
}
}
namespace Renci.SshNet.Security
{
public class DsaKey : Key, IDisposable
{
public BigInteger P { get; }
public BigInteger Q { get; }
public BigInteger G { get; }
public BigInteger Y { get; }
public BigInteger X { get; }
public DsaKey(SshKeyData publicKeyData);
public DsaKey(byte[] privateKeyData);
public DsaKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y, BigInteger x);
public void Dispose();
protected virtual void Dispose(bool disposing);
}
}