[ CCode ( array_length_pos = 2.1 , array_length_type = "gsize" ) ]
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.
this |
The object to get attribute data from. |
attr_type |
The attribute to get data for. |
cancellable |
A Cancellable or |
n_data |
The length of the resulting data. |
the resulting PKCS#11 attribute data, or |