Constructor SshAgentRequest
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
SshAgentRequest(SshAgentOperation, SshPublicKey, SshCertificate?, IReadOnlyList<SshPublicKey>?, SshPublicKey?)
Creates a request (SshSharp makes them; this is for testing a filter).
public SshAgentRequest(SshAgentOperation operation, SshPublicKey key, SshCertificate? certificate = null, IReadOnlyList<SshPublicKey>? forwardingHostKeys = null, SshPublicKey? destinationHostKey = null)
Parameters
operationSshAgentOperationListing the keys, or signing with one.
keySshPublicKeyThe key, or the key a certificate certifies.
certificateSshCertificateThe certificate, when the agent's identity is one.
forwardingHostKeysIReadOnlyList<SshPublicKey>The host keys of the servers the agent was forwarded through; null for none.
destinationHostKeySshPublicKeyThe host key of the server being logged in to, when known.
Exceptions
- ArgumentNullException
keyis null.