Home
last modified time | relevance | path

Searched refs:informat (Results 1 – 20 of 20) sorted by relevance

/openssl/apps/
H A Dpkcs8.c91 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, topk8 = 0, pbe_nid = -1; in pkcs8_main() local
111 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in pkcs8_main()
227 informat == FORMAT_UNDEF ? FORMAT_PEM : informat); in pkcs8_main()
232 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkcs8_main()
310 if (informat == FORMAT_PEM || informat == FORMAT_UNDEF) { in pkcs8_main()
312 } else if (informat == FORMAT_ASN1) { in pkcs8_main()
319 if (informat == FORMAT_PEM || informat == FORMAT_UNDEF) { in pkcs8_main()
321 } else if (informat == FORMAT_ASN1) { in pkcs8_main()
H A Dcrl2pkcs7.c59 int i = 0, informat = FORMAT_PEM, outformat = FORMAT_PEM, ret = 1, nocrl = in crl2pkcs7_main() local
76 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in crl2pkcs7_main()
111 in = bio_open_default(infile, 'r', informat); in crl2pkcs7_main()
115 if (informat == FORMAT_ASN1) in crl2pkcs7_main()
117 else if (informat == FORMAT_PEM) in crl2pkcs7_main()
H A Ddhparam.c91 int informat = FORMAT_PEM, outformat = FORMAT_PEM, check = 0, noout = 0; in dhparam_main() local
107 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in dhparam_main()
250 in = bio_open_default(infile, 'r', informat); in dhparam_main()
267 (informat == FORMAT_ASN1) in dhparam_main()
270 (informat == FORMAT_ASN1) in dhparam_main()
277 && informat == FORMAT_ASN1 in dhparam_main()
H A Drsa.c132 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, check = 0; in rsa_main() local
156 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in rsa_main()
241 if (informat == FORMAT_PEM) in rsa_main()
243 else if (informat == FORMAT_ASN1) in rsa_main()
246 tmpformat = informat; in rsa_main()
251 pkey = load_key(infile, informat, 1, passin, e, "private key"); in rsa_main()
H A Dpkcs7.c61 int informat = FORMAT_PEM, outformat = FORMAT_PEM; in pkcs7_main() local
80 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in pkcs7_main()
122 in = bio_open_default(infile, 'r', informat); in pkcs7_main()
133 if (informat == FORMAT_ASN1) in pkcs7_main()
H A Dasn1parse.c72 int indent = 0, noout = 0, dump = 0, informat = FORMAT_PEM; in asn1parse_main() local
99 if (!opt_format(opt_arg(), OPT_FMT_ASN1, &informat)) in asn1parse_main()
140 informat = FORMAT_PEM; in asn1parse_main()
173 if ((in = bio_open_default(infile, 'r', informat)) == NULL) in asn1parse_main()
181 if (genconf == NULL && genstr == NULL && informat == FORMAT_PEM) { in asn1parse_main()
201 if (informat == FORMAT_BASE64) { in asn1parse_main()
H A Ddsa.c86 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, noout = 0; in dsa_main() local
110 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in dsa_main()
179 pkey = load_pubkey(infile, informat, 1, passin, e, "public key"); in dsa_main()
181 pkey = load_key(infile, informat, 1, passin, e, "private key"); in dsa_main()
H A Dec.c76 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, text = 0, noout = 0; in ec_main() local
97 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in ec_main()
176 eckey = load_pubkey(infile, informat, 1, passin, e, "public key"); in ec_main()
178 eckey = load_key(infile, informat, 1, passin, e, "private key"); in ec_main()
H A Dpkey.c78 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM; in pkey_main() local
100 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in pkey_main()
212 pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key"); in pkey_main()
214 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkey_main()
H A Dsess_id.c54 int informat = FORMAT_PEM, outformat = FORMAT_PEM; in sess_id_main() local
71 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in sess_id_main()
104 x = load_sess_id(infile, informat); in sess_id_main()
H A Decparam.c109 int informat = FORMAT_PEM, outformat = FORMAT_PEM, noout = 0; in ecparam_main() local
127 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in ecparam_main()
235 params_key = load_keyparams_suppress(infile, informat, 1, "EC", in ecparam_main()
238 params_key = load_keyparams_suppress(infile, informat, 1, "SM2", in ecparam_main()
H A Ddsaparam.c72 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, noout = 0; in dsaparam_main() local
90 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in dsaparam_main()
192 params = load_keyparams(infile, informat, 1, "DSA", "DSA parameters"); in dsaparam_main()
H A Dsmime.c182 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME, keyform = in smime_main() local
206 if (!opt_format(opt_arg(), OPT_FMT_PDS, &informat)) in smime_main()
470 informat = FORMAT_BINARY; in smime_main()
522 in = bio_open_default(infile, 'r', informat); in smime_main()
534 if (informat == FORMAT_SMIME) { in smime_main()
536 } else if (informat == FORMAT_PEM) { in smime_main()
538 } else if (informat == FORMAT_ASN1) { in smime_main()
H A Dcrl.c92 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyformat = FORMAT_UNDEF; in crl_main() local
115 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in crl_main()
218 x = load_crl(infile, informat, 1, "CRL"); in crl_main()
264 newcrl = load_crl(crldiff, informat, 0, "other CRL"); in crl_main()
H A Denc.c134 int base64 = 0, informat = FORMAT_BINARY, outformat = FORMAT_BINARY; in enc_main() local
368 informat = FORMAT_BASE64; in enc_main()
379 in = dup_bio_in(informat); in enc_main()
381 in = bio_open_default(infile, 'r', informat); in enc_main()
H A Dcms.c245 static CMS_ContentInfo *load_content_info(int informat, BIO *in, int flags, in load_content_info() argument
255 switch (informat) { in load_content_info()
310 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME; in cms_main() local
338 if (!opt_format(opt_arg(), OPT_FMT_PDS, &informat)) in cms_main()
817 informat = FORMAT_BINARY; in cms_main()
911 binary_files ? FORMAT_BINARY : informat); in cms_main()
917 cms = load_content_info(informat, in, flags, &indata, "SMIME"); in cms_main()
H A Dca.c93 static int certify(X509 **xret, const char *infile, int informat,
284 int certformat = FORMAT_UNDEF, informat = FORMAT_UNDEF; in ca_main() local
328 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in ca_main()
973 j = certify(&x, infile, informat, pkey, x509p, dgst, in ca_main()
993 j = certify(&x, argv[i], informat, pkey, x509p, dgst, in ca_main()
1279 revcert = load_cert_pass(infile, informat, 1, passin, in ca_main()
1334 static int certify(X509 **xret, const char *infile, int informat, in certify() argument
1351 req = load_csr_autofmt(infile, informat, vfyopts, "certificate request"); in certify()
H A Dx509.c293 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyformat = FORMAT_UNDEF; in x509_main() local
328 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in x509_main()
737 req = load_csr_autofmt(infile, informat, vfyopts, in x509_main()
790 x = load_cert_pass(infile, informat, 1, passin, "certificate"); in x509_main()
H A Dreq.c272 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyform = FORMAT_UNDEF; in req_main() local
294 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in req_main()
748 informat, vfyopts, "X509 request"); in req_main()
/openssl/doc/internal/man3/
H A DOPTIONS.pod272 such as used with the B<-informat> or similar option, and fills

Completed in 52 milliseconds