Lines Matching refs:class

266 	CK_OBJECT_CLASS *class)
276 *class = *((CK_OBJECT_CLASS*)template[i].pValue);
379 if (object_p->class != CKO_CERTIFICATE ||
1020 * attributes associated with the type (i.e. class) of the object. Also,
1027 CK_OBJECT_CLASS class = object_p->class;
1031 switch (class) {
1542 new_object->class = CKO_PUBLIC_KEY;
2184 new_object->class = CKO_PRIVATE_KEY;
2548 new_object->class = CKO_SECRET_KEY;
3288 new_object->class = CKO_DOMAIN_PARAMETERS;
3560 new_object->class = CKO_CERTIFICATE;
3582 * call the appropriate build function according to the class of
3598 CK_OBJECT_CLASS class = (CK_OBJECT_CLASS)~0UL;
3606 rv = soft_validate_attr(template, ulAttrNum, &class);
3612 if (class == (CK_OBJECT_CLASS)~0UL)
3616 * Call the appropriate function based on the supported class
3619 switch (class) {
3657 * call the appropriate build function according to the class of
3663 soft_object_t *new_object, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type,
3678 * If either the class from the parameter list ("class") or
3679 * the class from the template ("temp_class") is not specified,
3683 temp_class = class;
3684 } else if (class == (CK_OBJECT_CLASS)~0UL) {
3685 class = temp_class;
3688 /* If object class is still not specified, template is incomplete. */
3689 if (class == (CK_OBJECT_CLASS)~0UL)
3693 if (class != temp_class)
3697 * Call the appropriate function based on the supported class
3700 switch (class) {
3764 return (get_ulong_attr_from_object(object_p->class,
4647 * Call the appropriate get attribute function according to the class
4657 CK_OBJECT_CLASS class = object_p->class;
4659 switch (class) {
5087 * Call the appropriate set attribute function according to the class
5103 CK_OBJECT_CLASS class = object_p->class;
5105 switch (class) {
6354 * Some attributes are specific to an object class. If one or more
6357 * because we can immediately skip an object if the class of that
6382 * don't need to guess the class, it is specified.
6383 * Just record the class, and return.
6406 * Get the list of objects class that might contain
6412 * class if public key object isn't already in the list
6496 * Check if the class of this object match with any
6502 if (obj->class == pclasses[i]) {
6527 obj->class) {
6636 if ((obj->class == CKO_CERTIFICATE) &&
6648 if ((obj->class == CKO_CERTIFICATE) &&
6673 if (obj->class == CKO_SECRET_KEY) {
6683 switch (obj->class) {
6732 if (obj->class == CKO_PUBLIC_KEY) {
6734 } else if (obj->class == CKO_PRIVATE_KEY) {
6747 (obj->class == CKO_PUBLIC_KEY)) {
6760 if (obj->class == CKO_PUBLIC_KEY) {
6762 } else if (obj->class == CKO_PRIVATE_KEY) {
6775 (obj->class == CKO_PRIVATE_KEY)) {
6785 (obj->class == CKO_PRIVATE_KEY)) {
6795 (obj->class == CKO_PRIVATE_KEY)) {
6805 (obj->class == CKO_PRIVATE_KEY)) {
6815 (obj->class == CKO_PRIVATE_KEY)) {
6825 (obj->class == CKO_PRIVATE_KEY)) {
6835 (obj->class == CKO_PRIVATE_KEY)) {
6846 if (obj->class == CKO_PUBLIC_KEY) {
6860 } else if (obj->class == CKO_PRIVATE_KEY) {
6874 } else if (obj->class == CKO_DOMAIN_PARAMETERS) {
6894 if (obj->class == CKO_PUBLIC_KEY) {
6905 } else if (obj->class == CKO_PRIVATE_KEY) {
6916 } else if (obj->class == CKO_DOMAIN_PARAMETERS) {
6933 if (obj->class == CKO_PUBLIC_KEY) {
6947 } else if (obj->class == CKO_PRIVATE_KEY) {
6961 } else if (obj->class == CKO_DOMAIN_PARAMETERS) {
6981 if (obj->class == CKO_DOMAIN_PARAMETERS) {
7004 if ((obj->class == CKO_DOMAIN_PARAMETERS) &&