Method GetAuthorityKey
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
GetAuthorityKey()
AuthorityKey, the certificate authority's key, as an SshPublicKey: compare it with the authority you
trust (certificate.GetAuthorityKey() == trustedCa).
public SshPublicKey GetAuthorityKey()
Returns
Exceptions
- FormatException
The authority's key is not one SshPublicKey reads.