Method: PKCS11::CK_ATTRIBUTE#type

Defined in:
ext/pk11.c

#typeInteger

Returns attribute type PKCS11::CKA_*.

Returns:

  • (Integer)

    attribute type PKCS11::CKA_*



1391
1392
1393
1394
1395
1396
1397
# File 'ext/pk11.c', line 1391

static VALUE
ck_attr_type(VALUE self)
{
  CK_ATTRIBUTE *attr;
  Data_Get_Struct(self, CK_ATTRIBUTE, attr);
  return ULONG2NUM(attr->type);
}