Lines Matching refs:oclass
303 list_pk11_objects(KMF_HANDLE_T kmfhandle, char *token, int oclass,
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 & (PK_CERT_OBJ | PK_PUBLIC_OBJ)) {
506 if (oclass & PK_CRL_OBJ) {
539 list_file_objects(KMF_HANDLE_T kmfhandle, int oclass,
552 if (oclass & PK_KEY_OBJ) {
574 if (oclass & PK_PRIKEY_OBJ) {
590 if (rv == KMF_OK && (oclass & PK_SYMKEY_OBJ)) {
616 if (oclass & PK_CERT_OBJ) {
668 if (oclass & PK_CRL_OBJ) {
702 int oclass, char *token_spec, char *dir, char *prefix,
722 if (oclass & PK_KEY_OBJ) {
745 if (oclass & PK_PRIKEY_OBJ) {
759 if (rv == KMF_OK && (oclass & PK_SYMKEY_OBJ)) {
778 if (rv == KMF_OK && (oclass & PK_PUBKEY_OBJ)) {
794 if (rv == KMF_OK && (oclass & PK_CERT_OBJ)) {
844 if (rv == KMF_OK && (oclass & PK_CRL_OBJ)) {
913 int oclass = 0;
938 if (oclass != 0)
940 oclass = OT2Int(optarg_av);
941 if (oclass == -1)
1015 if ((oclass & (PK_PUBLIC_OBJ | PK_PRIVATE_OBJ)) &&
1044 if (oclass == 0)
1045 oclass = PK_CERT_OBJ;
1047 if (oclass == 0 && (issuer != NULL || subject != NULL))
1048 oclass = PK_CERT_OBJ;
1051 if (oclass == 0)
1052 oclass = PK_CERT_OBJ | PK_PUBKEY_OBJ;
1056 (oclass & (PK_PRIKEY_OBJ | PK_PRIVATE_OBJ))) {
1063 oclass, list_label, &serial,
1071 oclass, token_spec, dir, prefix,
1078 oclass, dir, filename,