Class (GI Struct)

Gck-2GckUriData

Information about the contents of a PKCS#11 URI. Various fields may be null depending on the context that the URI was parsed for.

Since PKCS#11 URIs represent a set which results from the intersections of all of the URI parts, if any_recognized is set to true then usually the URI should be treated as not matching anything.

Index

Constructors

  • Parameters

    • Optionalproperties: Partial<{ any_unrecognized: boolean }>

    Returns UriData

Properties

any_unrecognized: boolean
module_info: ModuleInfo
$gtype: GType<UriData>

Methods

  • Build a PKCS#11 URI. The various parts relevant to the flags specified will be used to build the URI.

    Parameters

    Returns string

    a newly allocated string containing a PKCS#11 URI.

  • 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.

    Parameters

    • string: string

      the URI to parse.

    • flags: Gck.UriFlags

      the context in which the URI will be used.

    Returns UriData