Table of Contents

Constructor SshAgentHostKey

Namespace
SshSharp
Assembly
SshSharp.dll

SshAgentHostKey(ReadOnlyMemory<byte>, bool)

A host key in a destination constraint, in SSH wire format; with IsCertificateAuthority, a CA key whose host certificates count.

public SshAgentHostKey(ReadOnlyMemory<byte> PublicKey, bool IsCertificateAuthority = false)

Parameters

PublicKey ReadOnlyMemory<byte>
IsCertificateAuthority bool

SshAgentHostKey(SshPublicKey, bool)

A host key, or with isCertificateAuthority a CA key, from an SshPublicKey.

public SshAgentHostKey(SshPublicKey key, bool isCertificateAuthority = false)

Parameters

key SshPublicKey

The host's key, or the certificate authority's.

isCertificateAuthority bool

Whether key is a CA whose host certificates count.