sign_full


Description:

public uint8 sign_full (Object key, Mechanism mechanism, uint8[] input, size_t n_result, Cancellable? cancellable = null) throws Error

Sign data in a mechanism specific manner.

This call may block for an indefinite period.

Parameters:

this

The session.

key

The key to sign with.

mechanism

The mechanism type and parameters to use for signing.

input

data to sign

n_result

location to store the length of the result data

cancellable

A GCancellable which can be used to cancel the operation.

n_input

length of the data to sign

Returns:

The data that was signed, or null if an error occured.