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
PublicKeyReadOnlyMemory<byte>IsCertificateAuthoritybool
SshAgentHostKey(SshPublicKey, bool)
A host key, or with isCertificateAuthority a CA key, from an SshPublicKey.
public SshAgentHostKey(SshPublicKey key, bool isCertificateAuthority = false)
Parameters
keySshPublicKeyThe host's key, or the certificate authority's.
isCertificateAuthorityboolWhether
keyis a CA whose host certificates count.