Gck.Builder.prototype.find
function find(attr_type: Number(gulong)): Gck.Attribute {
// Gjs wrapper for gck_builder_find()
}
Find an attribute in the builder. Both valid and invalid attributes (in the PKCS\#11 sense) are returned. If multiple attributes exist for the given attribute type, then the first one is returned.
The returned Gck.Attribute is owned by the builder and may not be modified in any way. It is only valid until another attribute is added to or set on the builder, or until the builder is cleared or unreferenced.
- attr_type
the type of attribute to find
- Returns
the attribute or null if not found