find


Description:

public unowned Attribute find (ulong attr_type)

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 [structAttribute] 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.

Parameters:

this

the builder

attr_type

the type of attribute to find

Returns:

the attribute or null if not found




2022 vala-language.org