Searched refs:kstype (Results 1 - 25 of 27) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/lib/libkmf/libkmf/common/
H A Dkeyop.c45 KMF_KEYSTORE_TYPE kstype; local
70 len = sizeof (kstype);
72 &kstype, &len);
76 plugin = FindPlugin(handle, kstype);
92 KMF_KEYSTORE_TYPE kstype; local
117 len = sizeof (kstype);
119 &kstype, &len);
123 plugin = FindPlugin(handle, kstype);
161 KMF_KEYSTORE_TYPE kstype; local
184 len = sizeof (kstype);
205 KMF_KEYSTORE_TYPE kstype; local
275 KMF_KEYSTORE_TYPE kstype; local
[all...]
H A Dcertop.c109 KMF_KEYSTORE_TYPE kstype; local
153 &kstype, NULL);
157 plugin = FindPlugin(handle, kstype);
249 KMF_KEYSTORE_TYPE kstype; local
268 &kstype, NULL);
272 plugin = FindPlugin(handle, kstype);
400 if (key->kstype == KMF_KEYSTORE_NSS)
767 plugin = FindPlugin(handle, sign_key_ptr->kstype);
832 KMF_KEYSTORE_TYPE kstype; local
865 len = sizeof (kstype);
1287 KMF_KEYSTORE_TYPE kstype; local
1324 KMF_KEYSTORE_TYPE kstype; local
1362 KMF_KEYSTORE_TYPE kstype; local
1472 check_crl_validity(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE kstype, char *crlfilename, KMF_DATA *issuer_cert) argument
1514 cert_crl_check(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE *kstype, KMF_DATA *user_cert, KMF_DATA *issuer_cert) argument
1734 cert_ocsp_check(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE *kstype, KMF_DATA *user_cert, KMF_DATA *issuer_cert, KMF_DATA *response, char *slotlabel, char *dirpath) argument
2121 find_issuer_cert(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE *kstype, char *user_issuer, KMF_DATA *issuer_cert, char *slotlabel, char *dirpath) argument
2250 find_ta_cert(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE *kstype, KMF_DATA *ta_cert, KMF_X509_NAME *user_issuerDN, char *slotlabel, char *dirpath) argument
2394 KMF_KEYSTORE_TYPE *kstype = NULL; local
2836 KMF_KEYSTORE_TYPE kstype; local
[all...]
H A Dpk11tokens.c117 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
147 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
451 KMF_KEYSTORE_TYPE kstype; local
465 len = sizeof (kstype);
467 &kstype, &len);
471 plugin = FindPlugin(handle, kstype);
541 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
H A Dcsrcrlop.c84 plugin = FindPlugin(handle, KMFKey->kstype);
397 KMF_KEYSTORE_TYPE_ATTR, &Signkey->kstype,
398 sizeof (Signkey->kstype));
645 KMF_KEYSTORE_TYPE kstype; local
646 uint32_t len = sizeof (kstype);
666 &kstype, &len);
670 switch (kstype) {
672 *plugin = FindPlugin(handle, kstype);
743 KMF_KEYSTORE_TYPE kstype; local
744 uint32_t len = sizeof (kstype);
[all...]
H A Dgeneralop.c146 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3706
203 FindPlugin(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE kstype) argument
215 while (node != NULL && node->plugin->type != kstype)
222 if (VALID_DEFAULT_KEYSTORE_TYPE(kstype)) {
226 if (plugin_list[i].kstype == kstype) {
227 ret = InitializePlugin(plugin_list[i].kstype,
244 if (phead->entry->kstype == kstype)
288 ret = InitializePlugin(phead->entry->kstype, realpat
308 InitializePlugin(KMF_KEYSTORE_TYPE kstype, char *path, KMF_PLUGIN **plugin) argument
535 KMF_KEYSTORE_TYPE kstype; local
2646 kmf_get_plugin_info(KMF_HANDLE_T handle, char *keystore_name, KMF_KEYSTORE_TYPE *kstype, char **option) argument
2775 is_valid_keystore_type(KMF_KEYSTORE_TYPE kstype) argument
[all...]
H A Dpk11keys.c507 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
521 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
532 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
598 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
629 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
640 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
657 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
670 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
811 kmfh->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
820 kmfh->lasterr.kstype
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dimport.c67 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
85 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
136 KMF_KEYSTORE_TYPE_ATTR, &kstype,
137 sizeof (kstype));
220 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
240 KMF_KEYSTORE_TYPE_ATTR, &kstype,
241 sizeof (kstype));
292 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
358 pk_import_cert( KMF_HANDLE_T kmfhandle, KMF_KEYSTORE_TYPE kstype, char *label, char *token_spec, char *filename, char *dir, char *prefix, char *trustflags) argument
430 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
462 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
498 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
610 pk_import_keys(KMF_HANDLE_T kmfhandle, KMF_KEYSTORE_TYPE kstype, char *token_spec, KMF_CREDENTIAL *cred, char *filename, char *label, char *senstr, char *extstr) argument
697 pk_import_rawkey(KMF_HANDLE_T kmfhandle, KMF_KEYSTORE_TYPE kstype, char *token, KMF_CREDENTIAL *cred, char *filename, char *label, KMF_KEY_ALG keyAlg, char *senstr, char *extstr) argument
814 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Dgenkeypair.c55 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
70 KMF_KEYSTORE_TYPE_ATTR, &kstype,
71 sizeof (kstype));
140 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
168 KMF_KEYSTORE_TYPE_ATTR, &kstype,
169 sizeof (kstype));
234 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
251 KMF_KEYSTORE_TYPE_ATTR, &kstype,
252 sizeof (kstype));
324 KMF_KEYSTORE_TYPE kstype local
[all...]
H A Dgenkey.c48 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
68 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
124 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
172 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
267 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
293 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
366 KMF_KEYSTORE_TYPE kstype local
[all...]
H A Dsetpin.c51 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
59 &kstype, sizeof (kstype));
123 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
187 &kstype, sizeof (kstype));
245 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
254 kstype = KS2Int(optarg_av);
255 if (kstype == 0)
290 if (kstype
[all...]
H A Dexport.c89 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
96 KMF_KEYSTORE_TYPE_ATTR, &kstype,
97 sizeof (kstype));
131 kstype = KMF_KEYSTORE_OPENSSL;
135 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
165 KMF_KEYSTORE_TYPE kstype; local
177 kstype = KMF_KEYSTORE_NSS;
179 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
239 KMF_KEYSTORE_TYPE kstype; local
286 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
374 KMF_KEYSTORE_TYPE kstype; local
442 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
593 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
689 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Dsigncsr.c216 &key->kstype, sizeof (KMF_KEYSTORE_TYPE));
265 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
308 &kstype, sizeof (kstype));
353 KMF_KEYSTORE_TYPE kstype,
385 if (kstype == KMF_KEYSTORE_PK11TOKEN) {
387 } else if (kstype == KMF_KEYSTORE_NSS) {
417 &kstype, sizeof (kstype));
419 if (kstype
352 pk_signcsr_pk11_nss(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE kstype, char *dir, char *prefix, char *token, KMF_CREDENTIAL *cred, char *signkey, char *csrfile, KMF_BIGINT *serial, char *certfile, char *issuer, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, uint16_t kubits, int kucrit, EKU_LIST *ekulist, uint32_t ltime, KMF_ENCODE_FORMAT fmt, int store, char *outlabel) argument
548 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Dlist.c184 } else if (keys[i].kstype == KMF_KEYSTORE_PK11TOKEN) {
215 KMF_KEYSTORE_TYPE kstype; local
218 &kstype, NULL);
253 kstype != KMF_KEYSTORE_OPENSSL)
265 KMF_KEYSTORE_TYPE kstype; local
268 &kstype, NULL);
301 kstype != KMF_KEYSTORE_OPENSSL)
313 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
347 &kstype, sizeof (kstype));
549 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
712 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
918 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Ddelete.c50 KMF_KEYSTORE_TYPE kstype; local
56 len = sizeof (kstype);
58 &kstype, &len);
63 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
74 switch (kstype) {
232 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
242 &kstype, sizeof (kstype));
322 KMF_KEYSTORE_TYPE kstype local
387 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
425 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
528 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
581 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
635 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
694 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
735 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Dgencsr.c61 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
123 &kstype, sizeof (kstype));
145 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
277 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
340 &kstype, sizeof (kstype));
373 KMF_KEYSTORE_TYPE kstype = 0; local
426 kstype
[all...]
H A Dgencert.c61 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
145 &kstype, sizeof (kstype));
176 &kstype, sizeof (kstype));
203 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
223 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
262 KMF_KEYSTORE_TYPE kstype local
425 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
574 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Dcommon.c722 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
729 KMF_KEYSTORE_TYPE_ATTR, &kstype,
730 sizeof (kstype));
756 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
760 KMF_KEYSTORE_TYPE_ATTR, &kstype,
761 sizeof (kstype));
1108 get_token_password(KMF_KEYSTORE_TYPE kstype, argument
1118 if (kstype == KMF_KEYSTORE_PK11TOKEN) {
1150 if (kstype == KMF_KEYSTORE_PK11TOKEN && p != NULL)
/opensolaris-onvv-gate/usr/src/lib/libelfsign/common/
H A Delfcertlib.c232 KMF_KEYSTORE_TYPE kstype; local
236 kstype = KMF_KEYSTORE_OPENSSL;
242 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
344 KMF_KEYSTORE_TYPE kstype; local
350 kstype = KMF_KEYSTORE_OPENSSL;
358 &kstype, sizeof (kstype));
404 KMF_KEYSTORE_TYPE kstype; local
427 kstype
589 KMF_KEYSTORE_TYPE kstype; local
688 KMF_KEYSTORE_TYPE kstype; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/wusbadm/
H A Dcrypto_util.c45 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
64 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm_create.c324 KMF_KEYSTORE_TYPE kstype; local
390 kstype = KMF_KEYSTORE_PK11TOKEN;
392 &kstype, sizeof (kstype));
588 KMF_KEYSTORE_TYPE kstype; local
605 kstype = KMF_KEYSTORE_PK11TOKEN;
607 &kstype, sizeof (kstype));
631 kstype = KMF_KEYSTORE_PK11TOKEN;
633 &kstype, sizeo
771 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c743 KMF_KEYSTORE_TYPE kstype; local
763 kstype = KMF_KEYSTORE_OPENSSL;
777 kstype = KMF_KEYSTORE_PK11TOKEN;
782 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
802 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
817 if (kstype == KMF_KEYSTORE_OPENSSL) {
/opensolaris-onvv-gate/usr/src/lib/libkmf/include/
H A DkmfapiP.h191 h->lasterr.kstype = 0; \
331 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3631
H A Dkmftypes.h224 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3658
233 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3659
/opensolaris-onvv-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c47 #define SET_ERROR(h, c) h->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; \
207 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN;
1729 privkey->kstype = KMF_KEYSTORE_PK11TOKEN;
1734 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN;
1775 privkey->kstype = KMF_KEYSTORE_PK11TOKEN;
1780 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN;
1826 privkey->kstype = KMF_KEYSTORE_PK11TOKEN;
1831 pubkey->kstype = KMF_KEYSTORE_PK11TOKEN;
2253 key->kstype = KMF_KEYSTORE_PK11TOKEN;
3056 keys[n].kstype
4075 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c169 #define SET_ERROR(h, c) h->lasterr.kstype = KMF_KEYSTORE_NSS; \
973 privkey->kstype = KMF_KEYSTORE_NSS;
979 pubkey->kstype = KMF_KEYSTORE_NSS;
1279 key->kstype = KMF_KEYSTORE_NSS;
1463 keys[count].kstype = KMF_KEYSTORE_NSS;
1497 keys[count].kstype = KMF_KEYSTORE_NSS;
1554 keys[count].kstype = KMF_KEYSTORE_NSS;
2007 symkey->kstype = KMF_KEYSTORE_NSS;
2251 } else if (pubkey != NULL && pubkey->kstype == KMF_KEYSTORE_NSS) {
2260 } else if (prikey != NULL && prikey->kstype
[all...]

Completed in 137 milliseconds

12