buildSignRequest

fnubyte[] buildSignRequest(const(ubyte)[] keyBlob, const(ubyte)[] data, uint flags) @safe

Encodes a SIGN_REQUEST message.

Parameters

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

Returns

The complete length-prefixed message.