Gck.uri_parse
function uri_parse(string: String, flags: Gck.UriFlags): Gck.UriData { // Gjs wrapper for gck_uri_parse() }
Parse a PKCS\#11 URI for use in a given context.
The result will contain the fields that are relevant for the given context. See Gck.UriData for more info. Other fields will be set to null.
- string
the URI to parse.
- flags
the context in which the URI will be used.
- Returns
a newly allocated Gck.UriData; which should be freed with Gck.UriData.prototype.free