Home
last modified time | relevance | path

Searched refs:tokenname (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkeypair.c325 char *tokenname = NULL; in pk_genkeypair() local
363 if (tokenname) in pk_genkeypair()
365 tokenname = optarg_av; in pk_genkeypair()
485 if (tokenname == NULL || !strlen(tokenname)) { in pk_genkeypair()
487 tokenname = "internal"; in pk_genkeypair()
489 tokenname = PK_DEFAULT_PK11TOKEN; in pk_genkeypair()
493 (void) get_token_password(kstype, tokenname, &tokencred); in pk_genkeypair()
501 tokenname, label, dir, prefix, keyAlg, keylen, in pk_genkeypair()
506 tokenname, label, keyAlg, keylen, in pk_genkeypair()
H A Dgenkey.c365 char *tokenname = NULL; in pk_genkey() local
399 if (tokenname) in pk_genkey()
401 tokenname = optarg_av; in pk_genkey()
521 if (kstype == KMF_KEYSTORE_PK11TOKEN && tokenname == NULL) { in pk_genkey()
522 tokenname = PK_DEFAULT_PK11TOKEN; in pk_genkey()
523 } else if (kstype == KMF_KEYSTORE_NSS && tokenname == NULL) { in pk_genkey()
524 tokenname = DEFAULT_NSS_TOKEN; in pk_genkey()
529 (void) get_token_password(kstype, tokenname, &tokencred); in pk_genkey()
537 rv = genkey_nss(kmfhandle, tokenname, dir, prefix, in pk_genkey()
543 rv = genkey_pkcs11(kmfhandle, tokenname, keylabel, keyAlg, in pk_genkey()
H A Dgencsr.c375 char *tokenname = NULL; in pk_gencsr() local
449 if (tokenname) in pk_gencsr()
451 tokenname = optarg_av; in pk_gencsr()
696 if (tokenname == NULL || !strlen(tokenname)) { in pk_gencsr()
698 tokenname = "internal"; in pk_gencsr()
700 tokenname = PK_DEFAULT_PK11TOKEN; in pk_gencsr()
704 (void) get_token_password(kstype, tokenname, &tokencred); in pk_gencsr()
718 tokenname, subname, altname, alttype, altcrit, in pk_gencsr()
726 tokenname, subname, altname, alttype, altcrit, in pk_gencsr()
H A Dgencert.c576 char *tokenname = NULL; in pk_gencert() local
647 if (tokenname) in pk_gencert()
649 tokenname = optarg_av; in pk_gencert()
911 if (tokenname == NULL || !strlen(tokenname)) { in pk_gencert()
913 tokenname = "internal"; in pk_gencert()
915 tokenname = PK_DEFAULT_PK11TOKEN; in pk_gencert()
919 (void) get_token_password(kstype, tokenname, &tokencred); in pk_gencert()
927 tokenname, subname, altname, alttype, altcrit, in pk_gencert()
934 tokenname, subname, altname, alttype, altcrit, in pk_gencert()
/titanic_44/usr/src/head/
H A Dldap.h1543 (void *context, char **tokenname);
1545 (void *context, const char *tokenname, char **tokenpin);