get_string


Description:

public string? get_string ()

Get the string value of a PKCS#11 attribute.

No conversion is performed. It is an error to pass an attribute to this function unless you're know it's supposed to contain a value of the right type.

Parameters:

this

The attribute to retrieve value from.

Returns:

a null terminated string, to be freed with g_free, or null if the value was invalid