find_boolean


Description:

public bool find_boolean (ulong attr_type, out bool value)

Find a boolean attribute in the builder that has the type attr_type, is of the correct boolean size, and is not invalid in the PKCS#11 sense.

If multiple attributes exist for the given attribute type, then the first\ one is returned.

Parameters:

this

the builder

attr_type

the type of attribute to find

value

the location to place the found value

Returns:

whether a valid boolean attribute was found