Gck.Attribute.prototype.dup
function dup(): Gck.Attribute {
// Gjs wrapper for gck_attribute_dup()
}
Duplicate the PKCS\#11 attribute. All value memory is also copied.
The attr must have been allocated or initialized by a Gck function or the results of this function are undefined.
- Returns
the duplicated attribute; use Gck.Attribute.prototype.free to free it