• Home
  • Raw
  • Download

Lines Matching refs:cms

73 static void receipt_request_print(BIO *out, CMS_ContentInfo *cms);
115 CMS_ContentInfo *cms = NULL, *rcms = NULL; in MAIN() local
799 cms = SMIME_read_CMS(in, &indata); in MAIN()
801 cms = PEM_read_bio_CMS(in, NULL, NULL, NULL); in MAIN()
803 cms = d2i_CMS_bio(in, NULL); in MAIN()
810 if (!cms) in MAIN()
827 allcerts = CMS_get1_certs(cms); in MAIN()
903 cms = CMS_data_create(in, flags); in MAIN()
907 cms = CMS_digest_create(in, sign_md, flags); in MAIN()
911 cms = CMS_compress(in, -1, flags); in MAIN()
916 cms = CMS_encrypt(encerts, in, cipher, flags); in MAIN()
917 if (!cms) in MAIN()
921 if (!CMS_add0_recipient_key(cms, NID_undef, in MAIN()
935 if (!CMS_add0_recipient_password(cms, in MAIN()
943 if (!CMS_final(cms, in, NULL, flags)) in MAIN()
949 cms = CMS_EncryptedData_encrypt(in, cipher, in MAIN()
959 sis = CMS_get0_SignerInfos(cms); in MAIN()
966 CMS_ContentInfo_free(cms); in MAIN()
967 cms = srcms; in MAIN()
984 cms = CMS_sign(NULL, NULL, other, in, flags); in MAIN()
985 if (!cms) in MAIN()
988 CMS_set1_eContentType(cms, econtent_type); in MAIN()
1017 si = CMS_add1_signer(cms, signer, key, sign_md, flags); in MAIN()
1030 if (!CMS_final(cms, in, NULL, flags)) in MAIN()
1035 if (!cms) in MAIN()
1045 CMS_decrypt(cms, NULL, NULL, NULL, NULL, flags); in MAIN()
1049 if (!CMS_decrypt_set1_key(cms, in MAIN()
1061 if (!CMS_decrypt_set1_pkey(cms, key, recip)) in MAIN()
1071 if (!CMS_decrypt_set1_password(cms, pwri_pass, -1)) in MAIN()
1079 if (!CMS_decrypt(cms, NULL, NULL, indata, out, flags)) in MAIN()
1087 if (!CMS_data(cms, out, flags)) in MAIN()
1092 if (!CMS_uncompress(cms, indata, out, flags)) in MAIN()
1097 if (CMS_digest_verify(cms, indata, out, flags) > 0) in MAIN()
1107 if (!CMS_EncryptedData_decrypt(cms, secret_key, secret_keylen, in MAIN()
1113 if (CMS_verify(cms, other, store, indata, out, flags) > 0) in MAIN()
1125 signers = CMS_get0_signers(cms); in MAIN()
1137 receipt_request_print(bio_err, cms); in MAIN()
1142 if (CMS_verify_receipt(rcms, cms, other, store, flags) > 0) in MAIN()
1155 CMS_ContentInfo_print_ctx(out, cms, 0, NULL); in MAIN()
1166 ret = SMIME_write_CMS(out, cms, indata, flags); in MAIN()
1168 ret = SMIME_write_CMS(out, cms, in, flags); in MAIN()
1171 ret = PEM_write_bio_CMS_stream(out, cms, in, flags); in MAIN()
1173 ret = i2d_CMS_bio_stream(out,cms, in, flags); in MAIN()
1218 CMS_ContentInfo_free(cms); in MAIN()
1282 static void receipt_request_print(BIO *out, CMS_ContentInfo *cms) in receipt_request_print() argument
1291 sis = CMS_get0_SignerInfos(cms); in receipt_request_print()