get_data
Description:
[ CCode ( array_length_pos = 2.1 , array_length_type = "gsize" ) ]
public uint8[] get_data (ulong attr_type, Cancellable? cancellable) throws Error
public uint8[] get_data (ulong attr_type, Cancellable? cancellable) throws Error
Get the data for the specified attribute from the object.
For convenience the returned data has a null terminator.
This call may block for an indefinite period.
Parameters:
this |
The object to get attribute data from. |
attr_type |
The attribute to get data for. |
cancellable |
A Cancellable or null |
n_data |
The length of the resulting data. |
Returns:
the resulting PKCS#11 attribute data, or null if an error occurred |