Lines Matching refs:pTmpl
284 CK_ATTRIBUTE pTmpl[10];
302 pTmpl[i].type = CKA_TOKEN;
303 pTmpl[i].pValue = &is_token;
304 pTmpl[i].ulValueLen = sizeof (CK_BBOOL);
307 pTmpl[i].type = CKA_CLASS;
308 pTmpl[i].pValue = &class;
309 pTmpl[i].ulValueLen = sizeof (class);
312 pTmpl[i].type = CKA_LABEL;
313 pTmpl[i].pValue = keylabel;
314 pTmpl[i].ulValueLen = strlen(keylabel);
317 pTmpl[i].type = CKA_KEY_TYPE;
318 pTmpl[i].pValue = &ckKeyType;
319 pTmpl[i].ulValueLen = sizeof (ckKeyType);
322 pTmpl[i].type = CKA_PRIVATE;
323 pTmpl[i].pValue = &true;
324 pTmpl[i].ulValueLen = sizeof (true);
327 rv = C_FindObjectsInit(hSession, pTmpl, i);