Table of Contents

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

SshPublicKey

Exceptions

FormatException

The authority's key is not one SshPublicKey reads.