Constructor SshKeySigner
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
SshKeySigner(ReadOnlyMemory<byte>)
Creates a signer for the key whose public half is publicKey.
protected SshKeySigner(ReadOnlyMemory<byte> publicKey)
Parameters
publicKeyReadOnlyMemory<byte>The public key in SSH wire format (what
authorized_keysholds, base64-decoded).
Exceptions
- FormatException
The public key is malformed, of an unsupported type, or an RSA key under 2048 bits.