Home
last modified time | relevance | path

Searched refs:scert (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/demos/smime/
Dsmsign.c18 X509 *scert = NULL; in main() local
39 scert = PEM_read_bio_X509(tbio, NULL, 0, NULL); in main()
45 if (!scert || !skey) in main()
56 p7 = PKCS7_sign(scert, skey, NULL, in, flags); in main()
80 X509_free(scert); in main()
Dsmsign2.c18 X509 *scert = NULL, *scert2 = NULL; in main() local
31 scert = PEM_read_bio_X509(tbio, NULL, 0, NULL); in main()
65 if (!PKCS7_sign_add_signer(p7, scert, skey, NULL, 0)) in main()
88 X509_free(scert); in main()
/third_party/openssl/demos/cms/
Dcms_sign.c18 X509 *scert = NULL; in main() local
39 scert = PEM_read_bio_X509(tbio, NULL, 0, NULL); in main()
45 if (!scert || !skey) in main()
56 cms = CMS_sign(scert, skey, NULL, in, flags); in main()
82 X509_free(scert); in main()
Dcms_sign2.c18 X509 *scert = NULL, *scert2 = NULL; in main() local
31 scert = PEM_read_bio_X509(tbio, NULL, 0, NULL); in main()
65 if (!CMS_add1_signer(cms, scert, skey, NULL, 0)) in main()
90 X509_free(scert); in main()