Lines Matching refs:oclass
225 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 |= PK_PRIVATE_OBJ;
459 private = ((oclass & PK_PRIVATE_OBJ) > 0);
469 if (oclass & PK_PRIKEY_OBJ) {
480 oclass != PK_PRIKEY_OBJ)
484 if (rv == KMF_OK && (oclass & PK_SYMKEY_OBJ)) {
495 oclass != PK_SYMKEY_OBJ)
499 if (rv == KMF_OK && (oclass & PK_PUBKEY_OBJ)) {
511 oclass != PK_PUBKEY_OBJ)
628 delete_file_keys(KMF_HANDLE_T kmfhandle, int oclass,
655 if (oclass & (PK_PUBKEY_OBJ | PK_PRIKEY_OBJ)) {
667 if (oclass & PK_SYMKEY_OBJ) {
731 int oclass = 0;
758 if (oclass)
760 oclass = OT2Int(optarg_av);
761 if (oclass == -1)
815 if ((oclass & (PK_PUBLIC_OBJ | PK_PRIVATE_OBJ)) &&
853 if (oclass == 0)
854 oclass = PK_CERT_OBJ;
860 if ((issuer != NULL || subject != NULL) && oclass == 0)
861 oclass = PK_CERT_OBJ;
863 if (oclass == 0)
864 oclass = PK_CERT_OBJ | PK_KEY_OBJ;
868 (oclass & (PK_KEY_OBJ | PK_PRIVATE_OBJ))) {
880 if (oclass & PK_KEY_OBJ) {
882 token_spec, oclass,
893 if (oclass & (PK_CERT_OBJ | PK_PUBLIC_OBJ)) {
906 if (oclass & PK_CRL_OBJ)
912 if (oclass & PK_KEY_OBJ) {
915 oclass, (char *)object_label,
921 if (oclass & PK_CERT_OBJ) {
931 if (oclass & PK_CRL_OBJ)
937 if (oclass & PK_KEY_OBJ) {
938 keyrv = delete_file_keys(kmfhandle, oclass,
943 if (oclass & (PK_CERT_OBJ)) {
950 if (oclass & PK_CRL_OBJ)
979 if ((keyrv == KMF_ERR_KEY_NOT_FOUND && (oclass & PK_KEY_OBJ)) &&
980 (certrv == KMF_ERR_CERT_NOT_FOUND && (oclass & PK_CERT_OBJ)))
986 if (keyrv != KMF_OK && (oclass == PK_KEY_OBJ))
988 else if (certrv != KMF_OK && (oclass == PK_CERT_OBJ))
990 else if (crlrv != KMF_OK && (oclass == PK_CRL_OBJ))