Searched refs:oclass (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Ddownload.c43 int oclass = 0; local
64 if (oclass)
66 oclass = OT2Int(optarg_av);
67 if (!(oclass & (PK_CERT_OBJ | PK_CRL_OBJ)))
157 if (oclass == 0) {
158 oclass = PK_CRL_OBJ;
168 if (oclass & PK_CRL_OBJ) {
171 } else if (oclass & PK_CERT_OBJ) {
220 if (oclass & PK_CRL_OBJ) {
H A Ddelete.c225 char *token, int oclass, char *objlabel,
262 if (oclass & PK_PRIKEY_OBJ) {
274 oclass != PK_PRIKEY_OBJ)
277 if (rv == KMF_OK && (oclass & PK_SYMKEY_OBJ)) {
289 oclass != PK_SYMKEY_OBJ)
292 if (rv == KMF_OK && (oclass & PK_PUBKEY_OBJ)) {
304 oclass != PK_PUBKEY_OBJ)
419 char *token, int oclass, char *objlabel,
435 if (oclass & (PK_SYMKEY_OBJ | PK_PRIKEY_OBJ))
436 oclass |
224 delete_nss_keys(KMF_HANDLE_T kmfhandle, char *dir, char *prefix, char *token, int oclass, char *objlabel, KMF_CREDENTIAL *tokencred) argument
418 delete_pk11_keys(KMF_HANDLE_T kmfhandle, char *token, int oclass, char *objlabel, KMF_CREDENTIAL *tokencred) argument
628 delete_file_keys(KMF_HANDLE_T kmfhandle, int oclass, char *dir, char *infile) argument
731 int oclass = 0; local
[all...]
H A Dlist.c303 list_pk11_objects(KMF_HANDLE_T kmfhandle, char *token, int oclass, argument
324 if (oclass & (PK_SYMKEY_OBJ | PK_PRIKEY_OBJ))
325 oclass |= PK_PRIVATE_OBJ;
328 !(oclass & (PK_PRIVATE_OBJ | PK_PRIKEY_OBJ)));
341 if (oclass & (PK_KEY_OBJ | PK_PRIVATE_OBJ)) {
353 private = ((oclass & PK_PRIVATE_OBJ) > 0);
365 if (oclass & PK_PRIKEY_OBJ) {
387 if (rv == KMF_OK && (oclass & PK_SYMKEY_OBJ)) {
415 if (rv == KMF_OK && (oclass & PK_PUBKEY_OBJ)) {
445 if (oclass
539 list_file_objects(KMF_HANDLE_T kmfhandle, int oclass, char *dir, char *filename, KMF_BIGINT *serial, char *issuer, char *subject, KMF_CERT_VALIDITY find_criteria_flag) argument
701 list_nss_objects(KMF_HANDLE_T kmfhandle, int oclass, char *token_spec, char *dir, char *prefix, char *nickname, KMF_BIGINT *serial, char *issuer, char *subject, KMF_CREDENTIAL *tokencred, KMF_CERT_VALIDITY find_criteria_flag) argument
913 int oclass = 0; local
[all...]
H A Dimport.c814 int oclass = 0; local
868 oclass = OT2Int(optarg_av);
869 if (oclass == -1)
943 if ((oclass & (PK_PUBLIC_OBJ | PK_PRIVATE_OBJ)) &&
956 (oclass != PK_CRL_OBJ) && EMPTYSTRING(label)) {
976 if (oclass == 0 || (oclass & PK_SYMKEY_OBJ)) {
977 oclass = PK_SYMKEY_OBJ;
1022 if (oclass == 0 && (kfmt == KMF_FORMAT_ASN1 ||
1024 oclass
[all...]
H A Dexport.c84 pk_export_file_objects(KMF_HANDLE_T kmfhandle, int oclass, argument
95 if (oclass & (PK_CERT_OBJ | PK_PUBLIC_OBJ)) {
281 int oclass, char *certlabel, char *issuer, char *subject,
296 if (oclass & (PK_CERT_OBJ | PK_PUBLIC_OBJ)) {
440 char *label, char *filename, int oclass)
493 if ((oclass & PK_KEY_OBJ) == PK_PRIKEY_OBJ)
495 else if ((oclass & PK_KEY_OBJ) == PK_PUBKEY_OBJ)
497 else if ((oclass & PK_KEY_OBJ) == PK_SYMKEY_OBJ)
511 if (rv == KMF_ERR_KEY_NOT_FOUND && (oclass == PK_KEY_OBJ)) {
519 if (rv == KMF_ERR_KEY_NOT_FOUND && (oclass
280 pk_export_nss_objects(KMF_HANDLE_T kmfhandle, char *token_spec, int oclass, char *certlabel, char *issuer, char *subject, KMF_BIGINT *serial, KMF_ENCODE_FORMAT kfmt, char *dir, char *prefix, char *filename) argument
438 pk_export_pk11_keys(KMF_HANDLE_T kmfhandle, char *token, KMF_CREDENTIAL *cred, KMF_ENCODE_FORMAT format, char *label, char *filename, int oclass) argument
693 int oclass = PK_CERT_OBJ; local
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmdmn_commd_server.c2913 md_mn_msgclass_t oclass = msc->msc_class; local
2934 setno, oclass);
2960 if (oclass == MD_COMM_ALL_CLASSES) {
2975 setno, oclass);
2976 *retval = mdmn_mark_class_suspended(setno, oclass,
3027 md_mn_msgclass_t oclass = msc->msc_class; local
3046 setno, oclass);
3057 if (oclass == MD_COMM_ALL_CLASSES) {
3076 if (oclass == MD_COMM_ALL_CLASSES) {
3112 setno, oclass);
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dddt.c997 enum ddt_class oclass = dde->dde_class; local
1029 (otype != ntype || oclass != nclass || total_refcnt == 0)) {
1030 VERIFY(ddt_object_remove(ddt, otype, oclass, dde, tx) == 0);
1031 ASSERT(ddt_object_lookup(ddt, otype, oclass, dde) == ENOENT);
1049 if (nclass < oclass) {
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c485 CK_OBJECT_CLASS oclass = CKO_CERTIFICATE; local
498 SETATTR(templ, i, CKA_CLASS, &oclass, sizeof (oclass)); i++;

Completed in 3885 milliseconds