Lines Matching refs:x509ss
163 X509 *x509ss=NULL; in MAIN() local
824 if ((x509ss=X509_new()) == NULL) goto end; in MAIN()
827 if(extensions && !X509_set_version(x509ss, 2)) goto end; in MAIN()
830 if (!X509_set_serialNumber(x509ss, serial)) goto end; in MAIN()
835 X509_get_serialNumber(x509ss))) in MAIN()
839 if (!X509_set_issuer_name(x509ss, X509_REQ_get_subject_name(req))) goto end; in MAIN()
840 if (!X509_gmtime_adj(X509_get_notBefore(x509ss),0)) goto end; in MAIN()
841 if (!X509_time_adj_ex(X509_get_notAfter(x509ss), days, 0, NULL)) goto end; in MAIN()
842 if (!X509_set_subject_name(x509ss, X509_REQ_get_subject_name(req))) goto end; in MAIN()
844 if (!tmppkey || !X509_set_pubkey(x509ss,tmppkey)) goto end; in MAIN()
849 X509V3_set_ctx(&ext_ctx, x509ss, x509ss, NULL, NULL, 0); in MAIN()
854 &ext_ctx, extensions, x509ss)) in MAIN()
862 if (!(i=X509_sign(x509ss,pkey,digest))) in MAIN()
999 X509_print_ex(out, x509ss, nmflag, reqflag); in MAIN()
1007 print_name(out, "subject=", X509_get_subject_name(x509ss), nmflag); in MAIN()
1017 tpubkey=X509_get_pubkey(x509ss); in MAIN()
1053 if (!noout && x509 && (x509ss != NULL)) in MAIN()
1056 i=i2d_X509_bio(out,x509ss); in MAIN()
1058 i=PEM_write_bio_X509(out,x509ss); in MAIN()
1094 X509_free(x509ss); in MAIN()