Searched defs:kstype (Results 1 - 23 of 23) sorted by relevance

/illumos-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 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 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 Dgeneralop.c146 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3482
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...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkey.c46 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
66 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
122 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
170 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
265 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
291 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
364 KMF_KEYSTORE_TYPE kstype 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 Dsetpin.c52 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
60 &kstype, sizeof (kstype));
124 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
188 &kstype, sizeof (kstype));
246 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
255 kstype = KS2Int(optarg_av);
256 if (kstype == 0)
290 if (kstype
[all...]
H A Ddelete.c49 KMF_KEYSTORE_TYPE kstype; local
55 len = sizeof (kstype);
57 &kstype, &len);
62 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
73 switch (kstype) {
231 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
241 &kstype, sizeof (kstype));
321 KMF_KEYSTORE_TYPE kstype local
386 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
424 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
527 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
580 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
634 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
693 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
734 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Dexport.c90 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
97 KMF_KEYSTORE_TYPE_ATTR, &kstype,
98 sizeof (kstype));
132 kstype = KMF_KEYSTORE_OPENSSL;
136 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
166 KMF_KEYSTORE_TYPE kstype; local
178 kstype = KMF_KEYSTORE_NSS;
180 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
240 KMF_KEYSTORE_TYPE kstype; local
287 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
375 KMF_KEYSTORE_TYPE kstype; local
443 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
594 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
690 KMF_KEYSTORE_TYPE kstype = 0; local
[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 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 Dlist.c180 } else if (keys[i].kstype == KMF_KEYSTORE_PK11TOKEN) {
211 KMF_KEYSTORE_TYPE kstype; local
214 &kstype, NULL);
249 kstype != KMF_KEYSTORE_OPENSSL)
261 KMF_KEYSTORE_TYPE kstype; local
264 &kstype, NULL);
297 kstype != KMF_KEYSTORE_OPENSSL)
309 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
343 &kstype, sizeof (kstype));
545 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
708 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
914 KMF_KEYSTORE_TYPE kstype = 0; local
[all...]
H A Dimport.c68 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
86 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
137 KMF_KEYSTORE_TYPE_ATTR, &kstype,
138 sizeof (kstype));
221 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
241 KMF_KEYSTORE_TYPE_ATTR, &kstype,
242 sizeof (kstype));
293 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
359 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
431 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
463 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_NSS; local
499 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_PK11TOKEN; local
611 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
698 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
815 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 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)
/illumos-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...]
/illumos-gate/usr/src/lib/libkmf/include/
H A DkmfapiP.h191 h->lasterr.kstype = 0; \
331 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3407
H A Dkmftypes.h224 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3434
233 KMF_KEYSTORE_TYPE kstype; member in struct:__anon3435
/illumos-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...]
/illumos-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) {
/illumos-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...]
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c132 #define SET_ERROR(h, c) h->lasterr.kstype = KMF_KEYSTORE_OPENSSL; \
135 #define SET_SYS_ERROR(h, c) h->lasterr.kstype = -1; h->lasterr.errcode = c;
1564 privkey->kstype = KMF_KEYSTORE_OPENSSL;
1572 pubkey->kstype = KMF_KEYSTORE_OPENSSL;
1611 privkey->kstype = KMF_KEYSTORE_OPENSSL;
1660 pubkey->kstype = KMF_KEYSTORE_OPENSSL;
2237 KMF_KEYSTORE_TYPE kstype = KMF_KEYSTORE_OPENSSL; local
2251 KMF_KEYSTORE_TYPE_ATTR, &kstype, sizeof (kstype));
2830 key->kstype
[all...]

Completed in 117 milliseconds