Lines Matching defs:keys
163 pk_show_keys(void *handle, KMF_KEY_HANDLE *keys, int numkeys)
169 i+1, describeKey(&keys[i]),
170 keys[i].keylabel ? keys[i].keylabel :
173 if (keys[i].keyclass == KMF_SYMMETRIC) {
178 rv = kmf_get_sym_key_value(handle, &keys[i],
184 } else if (keys[i].kstype == KMF_KEYSTORE_PK11TOKEN) {
263 KMF_KEY_HANDLE *keys;
279 (void) printf(gettext("Found %d %s keys.\n"),
281 keys = (KMF_KEY_HANDLE *)malloc(numkeys *
283 if (keys == NULL)
285 (void) memset(keys, 0, numkeys *
290 keys, sizeof (KMF_KEY_HANDLE));
295 pk_show_keys(handle, keys, numkeys);
297 kmf_free_kmf_key(handle, &keys[i]);
298 free(keys);
324 * Symmetric keys and RSA/DSA/ECDSA private keys are always
386 /* list asymmetric private keys */
414 /* list symmetric keys */
439 /* list asymmetric public keys (if any) */
587 /* list asymmetric private keys */
609 /* list symmetric keys */
758 /* list asymmetric private keys */
778 /* list symmetric keys */
791 /* list asymmetric public keys */