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) {
635 if (operation == SMIME_ENCRYPT) {
719 if (!(operation & SMIME_SIGNERS) && (rr_to != NULL || rr_from != NULL)) {
723 if (!(operation & SMIME_SIGNERS) && (skkeys != NULL || sksigners != NULL)) {
734 if (operation == SMIME_VERIFY
742 if (operation & SMIME_SIGNERS) {
765 } else if (operation == SMIME_DECRYPT) {
772 } else if (operation == SMIME_ENCRYPT) {
778 } else if (!operation) {
779 BIO_printf(bio_err, "No operation option (-encrypt|-decrypt|-sign|-verify|...) specified.\n");
790 if ((operation & SMIME_SIGNERS) == 0) {
793 "Warning: -nodetach option is ignored for non-signing operation\n");
797 if ((operation & SMIME_IP) == 0 && contfile != NULL)
799 "Warning: -contfile option is ignored for the given operation\n");
800 if (operation != SMIME_ENCRYPT && *argv != NULL)
802 "Warning: recipient certificate file parameters ignored for operation other than -encrypt\n");
805 if (!(operation & SMIME_OP))
807 if (!(operation & SMIME_IP))
809 if ((operation & SMIME_SIGNERS) != 0 && (flags & CMS_DETACHED) != 0)
811 if ((operation & SMIME_IP) != 0 && contfile == NULL)
815 if (operation == SMIME_ENCRYPT) {
848 if (recipfile != NULL && (operation == SMIME_DECRYPT)) {
864 if (operation == SMIME_SIGN_RECEIPT) {
872 if ((operation == SMIME_DECRYPT) || (operation == SMIME_ENCRYPT)) {
875 } else if ((operation == SMIME_SIGN) || (operation == SMIME_SIGN_RECEIPT)) {
893 if (operation & SMIME_IP) {
935 if ((operation == SMIME_VERIFY) || (operation == SMIME_VERIFY_RECEIPT)) {
946 if (operation == SMIME_DATA_CREATE) {
948 } else if (operation == SMIME_DIGEST_CREATE) {
950 } else if (operation == SMIME_COMPRESS) {
952 } else if (operation == SMIME_ENCRYPT) {
1020 } else if (operation == SMIME_ENCRYPTED_ENCRYPT) {
1024 } else if (operation == SMIME_SIGN_RECEIPT) {
1037 } else if (operation & SMIME_SIGNERS) {
1043 if (operation == SMIME_SIGN) {
1106 if ((operation == SMIME_SIGN) && !(flags & CMS_STREAM)) {
1118 if (operation == SMIME_DECRYPT) {
1149 } else if (operation == SMIME_DATA_OUT) {
1152 } else if (operation == SMIME_UNCOMPRESS) {
1155 } else if (operation == SMIME_DIGEST_VERIFY) {
1162 } else if (operation == SMIME_ENCRYPTED_DECRYPT) {
1166 } else if (operation == SMIME_VERIFY) {
1191 } else if (operation == SMIME_VERIFY_RECEIPT) {
1220 if (operation == SMIME_RESIGN)