Searched refs:hSession (Results 1 - 6 of 6) sorted by relevance
/bind-9.6-ESV-R11/contrib/pkcs11-keygen/ |
H A D | destroyobj.c | 22 CK_SESSION_HANDLE hSession; local 87 NULL_PTR, NULL_PTR, &hSession); 101 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin)); 109 rv = C_FindObjectsInit(hSession, search_template, 117 rv = C_FindObjects(hSession, akey, 50, &ulObjectCount); 138 rv = C_GetAttributeValue(hSession, akey[i], attr_template, 3); 162 rv = C_DestroyObject(hSession, akey[i]); 170 rv = C_FindObjectsFinal(hSession); 177 (void) C_CloseSession(hSession);
|
H A D | genkey.c | 37 CK_SESSION_HANDLE hSession; local 130 NULL_PTR, NULL_PTR, &hSession); 145 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin)); 154 rv = C_FindObjectsInit(hSession, search_template, 1); 160 rv = C_FindObjects(hSession, &privatekey, 1, &ulObjectCount); 179 rv = C_GenerateKeyPair(hSession, &genmech, publickey_template, 193 rv = C_FindObjectsFinal(hSession); 200 (void) C_CloseSession(hSession);
|
H A D | listobjs.c | 22 CK_SESSION_HANDLE hSession; local 94 NULL_PTR, NULL_PTR, &hSession); 109 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin)); 118 rv = C_FindObjectsInit(hSession, search_template, all ? 0 : 1); 127 rv = C_FindObjects(hSession, akey, 50, &ulObjectCount); 148 rv = C_GetAttributeValue(hSession, akey[i], attr_template, 3); 184 rv = C_FindObjectsFinal(hSession); 191 (void) C_CloseSession(hSession);
|
H A D | set_key_id.c | 22 CK_SESSION_HANDLE hSession; local 95 NULL_PTR, NULL_PTR, &hSession); 109 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin)); 117 rv = C_FindObjectsInit(hSession, search_template, 1); 126 rv = C_FindObjects(hSession, &akey, 1, &ulObjectCount); 137 rv = C_SetAttributeValue(hSession, akey, new_template, 1); 146 rv = C_FindObjectsFinal(hSession); 153 (void) C_CloseSession(hSession);
|
H A D | readkey.c | 30 CK_SESSION_HANDLE hSession; local 111 NULL_PTR, NULL_PTR, &hSession); 125 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin)); 139 rv = C_FindObjectsInit(hSession, search_template, 3); 146 rv = C_FindObjects(hSession, &key, 1, &ulObjectCount); 158 rv = C_GetAttributeValue(hSession, key, attr_template, 9); 187 rv = C_FindObjects(hSession, &key, 1, &ulObjectCount); 217 rv = C_FindObjectsFinal(hSession); 224 (void) C_CloseSession(hSession);
|
H A D | writekey.c | 34 CK_SESSION_HANDLE hSession; local 133 NULL_PTR, NULL_PTR, &hSession); 147 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin)); 170 rv = C_FindObjectsInit(hSession, template, 3); 176 rv = C_FindObjects(hSession, &key, 1, &ulObjectCount); 272 rv = C_CreateObject(hSession, template, 10, &key); 336 rv = C_CreateObject(hSession, template, 18, &key); 339 (void) C_DestroyObject(hSession, key); 345 rv = C_FindObjectsFinal(hSession); 352 (void) C_CloseSession(hSession); [all...] |
Completed in 963 milliseconds