Home
last modified time | relevance | path

Searched refs:PK_KEY_OBJ (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.h66 #define PK_KEY_OBJ (PK_PRIKEY_OBJ | PK_PUBKEY_OBJ | PK_SYMKEY_OBJ) macro
68 PK_CERT_OBJ| PK_CRL_OBJ | PK_KEY_OBJ)
H A Dexport.c493 if ((oclass & PK_KEY_OBJ) == PK_PRIKEY_OBJ) in pk_export_pk11_keys()
495 else if ((oclass & PK_KEY_OBJ) == PK_PUBKEY_OBJ) in pk_export_pk11_keys()
497 else if ((oclass & PK_KEY_OBJ) == PK_SYMKEY_OBJ) in pk_export_pk11_keys()
511 if (rv == KMF_ERR_KEY_NOT_FOUND && (oclass == PK_KEY_OBJ)) { in pk_export_pk11_keys()
519 if (rv == KMF_ERR_KEY_NOT_FOUND && (oclass == PK_KEY_OBJ)) { in pk_export_pk11_keys()
871 ((oclass & (PK_KEY_OBJ | PK_PRIVATE_OBJ)) || in pk_export()
891 else if ((oclass & PK_KEY_OBJ) || in pk_export()
H A Ddelete.c864 oclass = PK_CERT_OBJ | PK_KEY_OBJ; in pk_delete()
868 (oclass & (PK_KEY_OBJ | PK_PRIVATE_OBJ))) { in pk_delete()
880 if (oclass & PK_KEY_OBJ) { in pk_delete()
912 if (oclass & PK_KEY_OBJ) { in pk_delete()
937 if (oclass & PK_KEY_OBJ) { in pk_delete()
979 if ((keyrv == KMF_ERR_KEY_NOT_FOUND && (oclass & PK_KEY_OBJ)) && in pk_delete()
986 if (keyrv != KMF_OK && (oclass == PK_KEY_OBJ)) in pk_delete()
H A Dcommon.c676 return (PK_KEY_OBJ | PK_PUBLIC_OBJ | PK_PRIVATE_OBJ); in OT2Int()
681 return (retval | PK_KEY_OBJ); in OT2Int()
684 return (retval | PK_KEY_OBJ); in OT2Int()
H A Dlist.c341 if (oclass & (PK_KEY_OBJ | PK_PRIVATE_OBJ)) { in list_pk11_objects()
552 if (oclass & PK_KEY_OBJ) { in list_file_objects()
722 if (oclass & PK_KEY_OBJ) { in list_nss_objects()
H A Dimport.c1072 (kfmt == KMF_FORMAT_PEM && (oclass & PK_KEY_OBJ))) && in pk_import()