SshAgentClient.sign

SshAgentOperation sign(const(ubyte)[] keyBlob, const(ubyte)[] data, uint flags)

Starts a signature request.

Parameters

keyBlobPublic key blob identifying the key.
dataExact bytes to sign.
flagsSignature flags (RSA SHA-2 selection).

Returns

The operation to poll with pump.

Throws

SshAgentException when another operation is running.