sign
Description:
[ CCode ( array_length_pos = 3.66667 ,  array_length_type = "gsize" ) ]
public uint8[] sign (Object key, ulong mech_type, uint8[] input, Cancellable? cancellable = null) throws Error
  public uint8[] sign (Object key, ulong mech_type, uint8[] input, 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. | 
| mech_type | The mechanism type to use for signing. | 
| input | data to sign | 
| cancellable | Optional cancellation object, or  | 
| n_input | length of the data to sign | 
| n_result | location to store the length of the result data | 
Returns:
| the data that was signed, or  |