Class SshAgentHostKey
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
A host key in a destination constraint, in SSH wire format; with IsCertificateAuthority, a CA key whose host certificates count.
public sealed record SshAgentHostKey : IEquatable<SshAgentHostKey>
- Inheritance
-
SshAgentHostKey
- Implements
- Inherited Members
Constructors
- SshAgentHostKey(SshPublicKey, bool)
A host key, or with
isCertificateAuthoritya CA key, from an SshPublicKey.
- SshAgentHostKey(ReadOnlyMemory<byte>, bool)
A host key in a destination constraint, in SSH wire format; with
IsCertificateAuthority, a CA key whose host certificates count.
Properties
Methods
- Equals(SshAgentHostKey?)
Equal when the key bytes and IsCertificateAuthority are.
- GetHashCode()
Serves as the default hash function.
- GetPublicKey()
PublicKey as an SshPublicKey.