Lines Matching refs:operation

230      "For the -cmsout operation do not output the parsed CMS structure"},
232 "For the -cmsout operation print out all fields of the CMS structure"},
304 int operation = 0, ret = 1, rr_print = 0, rr_allorfirst = -1;
342 operation = SMIME_ENCRYPT;
345 operation = SMIME_DECRYPT;
348 operation = SMIME_SIGN;
351 operation = SMIME_VERIFY;
354 operation = SMIME_RESIGN;
357 operation = SMIME_SIGN_RECEIPT;
360 operation = SMIME_VERIFY_RECEIPT;
367 operation = SMIME_DIGEST_CREATE;
370 operation = SMIME_DIGEST_VERIFY;
373 operation = SMIME_COMPRESS;
376 operation = SMIME_UNCOMPRESS;
379 operation = SMIME_ENCRYPTED_ENCRYPT;
382 operation = SMIME_ENCRYPTED_DECRYPT;
385 operation = SMIME_DATA_CREATE;
388 operation = SMIME_DATA_OUT;
391 operation = SMIME_CMSOUT;
618 if (operation == SMIME_ENCRYPT) {
634 if (operation == SMIME_ENCRYPT) {
718 if (!(operation & SMIME_SIGNERS) && (rr_to != NULL || rr_from != NULL)) {
722 if (!(operation & SMIME_SIGNERS) && (skkeys != NULL || sksigners != NULL)) {
733 if (operation == SMIME_VERIFY
741 if (operation & SMIME_SIGNERS) {
764 } else if (operation == SMIME_DECRYPT) {
771 } else if (operation == SMIME_ENCRYPT) {
777 } else if (!operation) {
778 BIO_printf(bio_err, "No operation option (-encrypt|-decrypt|-sign|-verify|...) specified.\n");
789 if ((operation & SMIME_SIGNERS) == 0) {
792 "Warning: -nodetach option is ignored for non-signing operation\n");
796 if ((operation & SMIME_IP) == 0 && contfile != NULL)
798 "Warning: -contfile option is ignored for the given operation\n");
801 if (!(operation & SMIME_OP))
803 if (!(operation & SMIME_IP))
805 if ((operation & SMIME_SIGNERS) != 0 && (flags & CMS_DETACHED) != 0)
807 if ((operation & SMIME_IP) != 0 && contfile == NULL)
811 if (operation == SMIME_ENCRYPT) {
827 if (operation == SMIME_ENCRYPT) {
837 BIO_printf(bio_err, "Warning: recipient certificate file parameters ignored for operation other than -encrypt\n");
849 if (recipfile != NULL && (operation == SMIME_DECRYPT)) {
865 if (operation == SMIME_SIGN_RECEIPT) {
873 if ((operation == SMIME_DECRYPT) || (operation == SMIME_ENCRYPT)) {
876 } else if ((operation == SMIME_SIGN) || (operation == SMIME_SIGN_RECEIPT)) {
894 if (operation & SMIME_IP) {
936 if ((operation == SMIME_VERIFY) || (operation == SMIME_VERIFY_RECEIPT)) {
947 if (operation == SMIME_DATA_CREATE) {
949 } else if (operation == SMIME_DIGEST_CREATE) {
951 } else if (operation == SMIME_COMPRESS) {
953 } else if (operation == SMIME_ENCRYPT) {
1021 } else if (operation == SMIME_ENCRYPTED_ENCRYPT) {
1025 } else if (operation == SMIME_SIGN_RECEIPT) {
1038 } else if (operation & SMIME_SIGNERS) {
1044 if (operation == SMIME_SIGN) {
1107 if ((operation == SMIME_SIGN) && !(flags & CMS_STREAM)) {
1119 if (operation == SMIME_DECRYPT) {
1150 } else if (operation == SMIME_DATA_OUT) {
1153 } else if (operation == SMIME_UNCOMPRESS) {
1156 } else if (operation == SMIME_DIGEST_VERIFY) {
1163 } else if (operation == SMIME_ENCRYPTED_DECRYPT) {
1167 } else if (operation == SMIME_VERIFY) {
1192 } else if (operation == SMIME_VERIFY_RECEIPT) {
1221 if (operation == SMIME_RESIGN)