get_template


Description:

public Attributes get_template (ulong attr_type, Cancellable? cancellable = null) throws Error

Get an attribute template from the object.

The attr_type must be for an attribute which returns a template.

This call may block for an indefinite period.

Parameters:

this

The object to get an attribute template from.

attr_type

The template attribute type.

cancellable

Optional cancellation object, or null.

Returns:

the resulting PKCS\#11 attribute template, or null if an error occurred