Lines Matching refs:class

265 	CK_OBJECT_CLASS *class)
275 *class = *((CK_OBJECT_CLASS*)template[i].pValue);
378 if (object_p->class != CKO_CERTIFICATE ||
1055 * attributes associated with the type (i.e. class) of the object. Also,
1062 CK_OBJECT_CLASS class = object_p->class;
1065 switch (class) {
1578 new_object->class = CKO_PUBLIC_KEY;
2223 new_object->class = CKO_PRIVATE_KEY;
2596 new_object->class = CKO_SECRET_KEY;
3339 new_object->class = CKO_DOMAIN_PARAMETERS;
3611 new_object->class = CKO_CERTIFICATE;
3635 * call the appropriate build function according to the class of
3651 CK_OBJECT_CLASS class = (CK_OBJECT_CLASS)~0UL;
3659 rv = soft_validate_attr(template, ulAttrNum, &class);
3665 if (class == (CK_OBJECT_CLASS)~0UL)
3669 * Call the appropriate function based on the supported class
3672 switch (class) {
3710 * call the appropriate build function according to the class of
3716 soft_object_t *new_object, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type,
3731 * If either the class from the parameter list ("class") or
3732 * the class from the template ("temp_class") is not specified,
3736 temp_class = class;
3737 } else if (class == (CK_OBJECT_CLASS)~0UL) {
3738 class = temp_class;
3741 /* If object class is still not specified, template is incomplete. */
3742 if (class == (CK_OBJECT_CLASS)~0UL)
3746 if (class != temp_class)
3750 * Call the appropriate function based on the supported class
3753 switch (class) {
3817 return (get_ulong_attr_from_object(object_p->class,
4712 * Call the appropriate get attribute function according to the class
4722 CK_OBJECT_CLASS class = object_p->class;
4724 switch (class) {
5152 * Call the appropriate set attribute function according to the class
5168 CK_OBJECT_CLASS class = object_p->class;
5170 switch (class) {
6419 * Some attributes are specific to an object class. If one or more
6422 * because we can immediately skip an object if the class of that
6447 * don't need to guess the class, it is specified.
6448 * Just record the class, and return.
6471 * Get the list of objects class that might contain
6477 * class if public key object isn't already in the list
6561 * Check if the class of this object match with any
6567 if (obj->class == pclasses[i]) {
6592 obj->class) {
6701 if ((obj->class == CKO_CERTIFICATE) &&
6713 if ((obj->class == CKO_CERTIFICATE) &&
6738 if (obj->class == CKO_SECRET_KEY) {
6748 switch (obj->class) {
6797 if (obj->class == CKO_PUBLIC_KEY) {
6799 } else if (obj->class == CKO_PRIVATE_KEY) {
6812 (obj->class == CKO_PUBLIC_KEY)) {
6825 if (obj->class == CKO_PUBLIC_KEY) {
6827 } else if (obj->class == CKO_PRIVATE_KEY) {
6840 (obj->class == CKO_PRIVATE_KEY)) {
6850 (obj->class == CKO_PRIVATE_KEY)) {
6860 (obj->class == CKO_PRIVATE_KEY)) {
6870 (obj->class == CKO_PRIVATE_KEY)) {
6880 (obj->class == CKO_PRIVATE_KEY)) {
6890 (obj->class == CKO_PRIVATE_KEY)) {
6900 (obj->class == CKO_PRIVATE_KEY)) {
6911 if (obj->class == CKO_PUBLIC_KEY) {
6925 } else if (obj->class == CKO_PRIVATE_KEY) {
6939 } else if (obj->class == CKO_DOMAIN_PARAMETERS) {
6959 if (obj->class == CKO_PUBLIC_KEY) {
6970 } else if (obj->class == CKO_PRIVATE_KEY) {
6981 } else if (obj->class == CKO_DOMAIN_PARAMETERS) {
6998 if (obj->class == CKO_PUBLIC_KEY) {
7012 } else if (obj->class == CKO_PRIVATE_KEY) {
7026 } else if (obj->class == CKO_DOMAIN_PARAMETERS) {
7046 if (obj->class == CKO_DOMAIN_PARAMETERS) {
7069 if ((obj->class == CKO_DOMAIN_PARAMETERS) &&