/openssl/apps/ |
H A D | pkcs8.c | 91 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 D | crl2pkcs7.c | 59 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 D | dhparam.c | 91 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 D | rsa.c | 132 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 D | pkcs7.c | 61 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 D | asn1parse.c | 72 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 D | dsa.c | 86 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 D | ec.c | 76 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 D | pkey.c | 78 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 D | sess_id.c | 54 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 D | ecparam.c | 109 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 D | dsaparam.c | 72 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 D | smime.c | 182 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 D | crl.c | 92 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 D | enc.c | 134 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 D | cms.c | 245 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 D | ca.c | 93 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 D | x509.c | 293 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 D | req.c | 272 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 D | OPTIONS.pod | 272 such as used with the B<-informat> or similar option, and fills
|