Lines Matching refs:x509ss
163 X509 *x509ss=NULL;
823 if ((x509ss=X509_new()) == NULL) goto end;
826 if(extensions && !X509_set_version(x509ss, 2)) goto end;
829 if (!X509_set_serialNumber(x509ss, serial)) goto end;
834 X509_get_serialNumber(x509ss)))
838 if (!X509_set_issuer_name(x509ss, X509_REQ_get_subject_name(req))) goto end;
839 if (!X509_gmtime_adj(X509_get_notBefore(x509ss),0)) goto end;
840 if (!X509_time_adj_ex(X509_get_notAfter(x509ss), days, 0, NULL)) goto end;
841 if (!X509_set_subject_name(x509ss, X509_REQ_get_subject_name(req))) goto end;
843 if (!tmppkey || !X509_set_pubkey(x509ss,tmppkey)) goto end;
848 X509V3_set_ctx(&ext_ctx, x509ss, x509ss, NULL, NULL, 0);
853 &ext_ctx, extensions, x509ss))
861 if (!(i=X509_sign(x509ss,pkey,digest)))
998 X509_print_ex(out, x509ss, nmflag, reqflag);
1006 print_name(out, "subject=", X509_get_subject_name(x509ss), nmflag);
1016 tpubkey=X509_get_pubkey(x509ss);
1052 if (!noout && x509 && (x509ss != NULL))
1055 i=i2d_X509_bio(out,x509ss);
1057 i=PEM_write_bio_X509(out,x509ss);
1093 X509_free(x509ss);