Home
last modified time | relevance | path

Searched refs:outformat (Results 1 – 18 of 18) sorted by relevance

/openssl/apps/
H A Drsa.c102 if (outformat == FORMAT_ASN1) { in try_legacy_encoding()
107 } else if (outformat == FORMAT_PEM) { in try_legacy_encoding()
113 } else if (outformat == FORMAT_MSBLOB || outformat == FORMAT_PVK) { in try_legacy_encoding()
263 out = bio_open_owner(outfile, outformat, private); in rsa_main()
318 if (outformat == FORMAT_ASN1) { in rsa_main()
320 } else if (outformat == FORMAT_PEM) { in rsa_main()
322 } else if (outformat == FORMAT_MSBLOB) { in rsa_main()
324 } else if (outformat == FORMAT_PVK) { in rsa_main()
345 if (outformat == FORMAT_ASN1 || outformat == FORMAT_PEM) { in rsa_main()
378 if (enc != NULL || outformat == FORMAT_PVK) { in rsa_main()
[all …]
H A Ddsa.c86 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, noout = 0; in dsa_main() local
117 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in dsa_main()
193 out = bio_open_owner(outfile, outformat, private); in dsa_main()
225 if (outformat == FORMAT_ASN1) { in dsa_main()
227 } else if (outformat == FORMAT_PEM) { in dsa_main()
229 } else if (outformat == FORMAT_MSBLOB) { in dsa_main()
231 } else if (outformat == FORMAT_PVK) { in dsa_main()
242 if (outformat == FORMAT_ASN1 || outformat == FORMAT_PEM) { in dsa_main()
271 if (enc != NULL || outformat == FORMAT_PVK) { in dsa_main()
281 if (outformat == FORMAT_PVK) { in dsa_main()
H A Dsess_id.c54 int informat = FORMAT_PEM, outformat = FORMAT_PEM; in sess_id_main() local
76 &outformat)) in sess_id_main()
124 out = bio_open_default(outfile, 'w', outformat); in sess_id_main()
141 if (outformat == FORMAT_ASN1) { in sess_id_main()
143 } else if (outformat == FORMAT_PEM) { in sess_id_main()
145 } else if (outformat == FORMAT_NSS) { in sess_id_main()
156 if (outformat == FORMAT_ASN1) { in sess_id_main()
158 } else if (outformat == FORMAT_PEM) { in sess_id_main()
H A Dpkcs8.c91 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; in pkcs8_main() local
118 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkcs8_main()
240 if ((out = bio_open_owner(outfile, outformat, private)) == NULL) in pkcs8_main()
244 if (outformat == FORMAT_PEM) { in pkcs8_main()
246 } else if (outformat == FORMAT_ASN1) { in pkcs8_main()
295 if (outformat == FORMAT_PEM) in pkcs8_main()
297 else if (outformat == FORMAT_ASN1) in pkcs8_main()
363 out = bio_open_owner(outfile, outformat, private); in pkcs8_main()
366 if (outformat == FORMAT_PEM) { in pkcs8_main()
372 } else if (outformat == FORMAT_ASN1) { in pkcs8_main()
H A Dpkey.c78 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM; in pkey_main() local
104 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkey_main()
181 if (traditional && (noout || outformat != FORMAT_PEM)) in pkey_main()
200 if (noout || outformat != FORMAT_PEM) { in pkey_main()
218 out = bio_open_owner(outfile, outformat, private); in pkey_main()
270 if (outformat == FORMAT_PEM) { in pkey_main()
287 } else if (outformat == FORMAT_ASN1) { in pkey_main()
H A Ddsaparam.c72 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, noout = 0; in dsaparam_main() local
97 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in dsaparam_main()
199 out = bio_open_owner(outfile, outformat, private); in dsaparam_main()
207 if (outformat == FORMAT_ASN1 && genkey) in dsaparam_main()
211 if (outformat == FORMAT_ASN1) in dsaparam_main()
238 if (outformat == FORMAT_ASN1) in dsaparam_main()
H A Dcrl2pkcs7.c59 int i = 0, informat = FORMAT_PEM, outformat = FORMAT_PEM, ret = 1, nocrl = in crl2pkcs7_main() local
80 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in crl2pkcs7_main()
160 out = bio_open_default(outfile, 'w', outformat); in crl2pkcs7_main()
164 if (outformat == FORMAT_ASN1) in crl2pkcs7_main()
166 else if (outformat == FORMAT_PEM) in crl2pkcs7_main()
H A Decparam.c109 int informat = FORMAT_PEM, outformat = FORMAT_PEM, noout = 0; in ecparam_main() local
134 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in ecparam_main()
269 out = bio_open_owner(outfile, outformat, private); in ecparam_main()
304 if (outformat == FORMAT_ASN1 && genkey) in ecparam_main()
310 outformat == FORMAT_ASN1 ? "DER" : "PEM", NULL, NULL); in ecparam_main()
336 outformat == FORMAT_ASN1 ? "DER" : "PEM", NULL, NULL); in ecparam_main()
H A Dpkcs7.c61 int informat = FORMAT_PEM, outformat = FORMAT_PEM; in pkcs7_main() local
84 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkcs7_main()
143 out = bio_open_default(outfile, 'w', outformat); in pkcs7_main()
206 if (outformat == FORMAT_ASN1) in pkcs7_main()
H A Dgenpkey.c118 int outformat = FORMAT_PEM, text = 0, ret = 1, rv, do_param = 0; in genpkey_main() local
141 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in genpkey_main()
240 out = bio_open_owner(outfile, outformat, private); in genpkey_main()
245 outpubkey = bio_open_owner(outpubkeyfile, outformat, private); in genpkey_main()
261 } else if (outformat == FORMAT_PEM) { in genpkey_main()
266 } else if (outformat == FORMAT_ASN1) { in genpkey_main()
H A Dec.c76 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, noout = 0; in ec_main() local
104 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in ec_main()
185 out = bio_open_owner(outfile, outformat, private); in ec_main()
240 const char *output_type = outformat == FORMAT_ASN1 ? "DER" : "PEM"; in ec_main()
H A Dsmime.c182 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME, keyform = in smime_main() local
213 if (!opt_format(opt_arg(), OPT_FMT_PDS, &outformat)) in smime_main()
465 outformat = FORMAT_BINARY; in smime_main()
558 out = bio_open_default(outfile, 'w', outformat); in smime_main()
585 if (outformat == FORMAT_SMIME) in smime_main()
662 if (outformat == FORMAT_SMIME) { in smime_main()
667 } else if (outformat == FORMAT_PEM) { in smime_main()
669 } else if (outformat == FORMAT_ASN1) { in smime_main()
H A Ddhparam.c91 int informat = FORMAT_PEM, outformat = FORMAT_PEM, check = 0, noout = 0; in dhparam_main() local
111 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in dhparam_main()
321 out = bio_open_default(outfile, 'w', outformat); in dhparam_main()
345 outformat == FORMAT_ASN1 in dhparam_main()
H A Dcrl.c92 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyformat = FORMAT_UNDEF; in crl_main() local
122 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in crl_main()
364 out = bio_open_default(outfile, 'w', outformat); in crl_main()
376 if (outformat == FORMAT_ASN1) in crl_main()
H A Dcms.c310 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME; in cms_main() local
342 if (!opt_format(opt_arg(), OPT_FMT_PDS, &outformat)) in cms_main()
815 outformat = FORMAT_BINARY; in cms_main()
954 binary_files ? FORMAT_BINARY : outformat); in cms_main()
1070 if (outformat == FORMAT_SMIME) in cms_main()
1242 } else if (outformat == FORMAT_SMIME) { in cms_main()
1253 } else if (outformat == FORMAT_PEM) { in cms_main()
1255 } else if (outformat == FORMAT_ASN1) { in cms_main()
H A Dx509.c293 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyformat = FORMAT_UNDEF; in x509_main() local
335 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in x509_main()
810 out = bio_open_default(outfile, 'w', outformat); in x509_main()
917 if (outformat == FORMAT_ASN1) { in x509_main()
1091 if (outformat == FORMAT_ASN1) { in x509_main()
1093 } else if (outformat == FORMAT_PEM) { in x509_main()
H A Denc.c134 int base64 = 0, informat = FORMAT_BINARY, outformat = FORMAT_BINARY; in enc_main() local
366 outformat = FORMAT_BASE64; in enc_main()
425 out = bio_open_default(outfile, 'w', outformat); in enc_main()
H A Dreq.c272 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyform = FORMAT_UNDEF; in req_main() local
298 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in req_main()
706 out = bio_open_owner(keyout, outformat, newreq); in req_main()
960 outformat); in req_main()
1021 if (outformat == FORMAT_ASN1) in req_main()
1033 if (outformat == FORMAT_ASN1) in req_main()

Completed in 46 milliseconds