Method GetPublicKey
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
GetPublicKey()
The signer's key as an SshPublicKey (the certified key, when it signed with a certificate), to compare with a key you trust: Verify(ReadOnlySpan<byte>, string) proves only that this key signed.
public SshPublicKey GetPublicKey()
Returns
Exceptions
- FormatException
The key is one SshPublicKey does not read (a FIDO security-key certificate).