Home
last modified time | relevance | path

Searched refs:FORMAT_ASN1 (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/crypto/openssl/apps/
H A Dpkcs8.c238 } else if (outformat == FORMAT_ASN1) { in pkcs8_main()
289 else if (outformat == FORMAT_ASN1) in pkcs8_main()
304 } else if (informat == FORMAT_ASN1) { in pkcs8_main()
313 } else if (informat == FORMAT_ASN1) { in pkcs8_main()
361 } else if (outformat == FORMAT_ASN1) { in pkcs8_main()
H A Dsess_id.c142 if (outformat == FORMAT_ASN1) { in sess_id_main()
157 if (outformat == FORMAT_ASN1) { in sess_id_main()
185 if (format == FORMAT_ASN1) in load_sess_id()
H A Ddsaparam.c193 if (outformat == FORMAT_ASN1 && genkey) in dsaparam_main()
197 if (outformat == FORMAT_ASN1) in dsaparam_main()
224 if (outformat == FORMAT_ASN1) in dsaparam_main()
H A Drsa.c102 if (outformat == FORMAT_ASN1) { in try_legacy_encoding()
245 else if (informat == FORMAT_ASN1) in rsa_main()
320 if (outformat == FORMAT_ASN1) { in rsa_main()
347 if (outformat == FORMAT_ASN1 || outformat == FORMAT_PEM) { in rsa_main()
H A Ddhparam.c260 (informat == FORMAT_ASN1) in dhparam_main()
263 (informat == FORMAT_ASN1) in dhparam_main()
270 && informat == FORMAT_ASN1 in dhparam_main()
334 outformat == FORMAT_ASN1 in dhparam_main()
H A Decparam.c297 if (outformat == FORMAT_ASN1 && genkey) in ecparam_main()
303 outformat == FORMAT_ASN1 ? "DER" : "PEM", NULL, NULL); in ecparam_main()
329 outformat == FORMAT_ASN1 ? "DER" : "PEM", NULL, NULL); in ecparam_main()
H A Dpkcs7.c129 if (informat == FORMAT_ASN1) in pkcs7_main()
202 if (outformat == FORMAT_ASN1) in pkcs7_main()
H A Dcrl2pkcs7.c116 if (informat == FORMAT_ASN1) in crl2pkcs7_main()
165 if (outformat == FORMAT_ASN1) in crl2pkcs7_main()
H A Ddsa.c229 if (outformat == FORMAT_ASN1) { in dsa_main()
246 if (outformat == FORMAT_ASN1 || outformat == FORMAT_PEM) { in dsa_main()
H A Dts.c406 if ((in_bio = bio_open_default(in, 'r', FORMAT_ASN1)) == NULL) in query_command()
411 && (data_bio = bio_open_default(data, 'r', FORMAT_ASN1)) == NULL) in query_command()
424 if ((out_bio = bio_open_default(out, 'w', FORMAT_ASN1)) == NULL) in query_command()
633 if ((out_bio = bio_open_default(out, 'w', FORMAT_ASN1)) == NULL) in reply_command()
H A Docsp.c566 derbio = bio_open_default(reqin, 'r', FORMAT_ASN1); in ocsp_main()
716 derbio = bio_open_default(reqout, 'w', FORMAT_ASN1); in ocsp_main()
743 derbio = bio_open_default(respin, 'r', FORMAT_ASN1); in ocsp_main()
760 derbio = bio_open_default(respout, 'w', FORMAT_ASN1); in ocsp_main()
H A Dec.c244 const char *output_type = outformat == FORMAT_ASN1 ? "DER" : "PEM"; in ec_main()
H A Dsmime.c510 } else if (informat == FORMAT_ASN1) { in smime_main()
641 } else if (outformat == FORMAT_ASN1) { in smime_main()
H A Dpkey.c289 } else if (outformat == FORMAT_ASN1) { in pkey_main()
H A Dgenpkey.c194 } else if (outformat == FORMAT_ASN1) { in genpkey_main()
H A Dcms.c258 case FORMAT_ASN1: in load_content_info()
918 char *rctmode = (rctformat == FORMAT_ASN1) ? "rb" : "r"; in cms_main()
1226 } else if (outformat == FORMAT_ASN1) { in cms_main()
H A Dasn1parse.c177 if (derfile && (derout = bio_open_default(derfile, 'w', FORMAT_ASN1)) == NULL) in asn1parse_main()
H A Dcrl.c377 if (outformat == FORMAT_ASN1) in crl_main()
H A Dx509.c874 if (outformat == FORMAT_ASN1) { in x509_main()
1047 if (outformat == FORMAT_ASN1) { in x509_main()
H A Dreq.c1013 if (outformat == FORMAT_ASN1) in req_main()
1025 if (outformat == FORMAT_ASN1) in req_main()
H A Dcmp.c702 csr = load_csr(infile, FORMAT_ASN1, desc); in load_csr_autofmt()
2031 || (opt_certform == FORMAT_ASN1 && i2d_X509_bio(bio, cert))) in write_cert()
2033 if (opt_certform != FORMAT_PEM && opt_certform != FORMAT_ASN1) in write_cert()
H A Dca.c1127 output_der ? FORMAT_ASN1 : FORMAT_TEXT); in ca_main()
1302 output_der ? FORMAT_ASN1 : FORMAT_TEXT); in ca_main()
/freebsd/crypto/openssl/apps/include/
H A Dfmt.h31 # define FORMAT_ASN1 4 /* ASN.1/DER */ macro
/freebsd/crypto/openssl/apps/lib/
H A Dopt.c268 *result = FORMAT_ASN1; in opt_format()
345 case FORMAT_ASN1: in format2str()
H A Dapps.c520 if (format == FORMAT_ASN1) in load_csr()
839 case FORMAT_ASN1: in format2string()

12