Home
last modified time | relevance | path

Searched refs:BIO_printf (Results 1 – 25 of 27) sorted by relevance

12

/external/boringssl/src/crypto/x509/
Dt_crl.c86 BIO_printf(out, "Certificate Revocation List (CRL):\n"); in X509_CRL_print()
88 BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l + 1, l); in X509_CRL_print()
91 BIO_printf(out, "%8sIssuer: %s\n", "", p); in X509_CRL_print()
93 BIO_printf(out, "%8sLast Update: ", ""); in X509_CRL_print()
95 BIO_printf(out, "\n%8sNext Update: ", ""); in X509_CRL_print()
99 BIO_printf(out, "NONE"); in X509_CRL_print()
100 BIO_printf(out, "\n"); in X509_CRL_print()
107 BIO_printf(out, "Revoked Certificates:\n"); in X509_CRL_print()
109 BIO_printf(out, "No Revoked Certificates.\n"); in X509_CRL_print()
113 BIO_printf(out, " Serial Number: "); in X509_CRL_print()
[all …]
Dt_req.c105 if (BIO_printf(bio, "%8sVersion: %ld (0x%lx)\n", "", l + 1, l) <= 0) { in X509_REQ_print_ex()
110 if (BIO_printf(bio, " Subject:%c", mlch) <= 0 || in X509_REQ_print_ex()
118 BIO_printf(bio, "%12sPublic Key Algorithm: ", "") <= 0 || in X509_REQ_print_ex()
126 BIO_printf(bio, "%12sUnable to load Public Key\n", ""); in X509_REQ_print_ex()
135 if (BIO_printf(bio, "%8sAttributes:\n", "") <= 0) { in X509_REQ_print_ex()
141 if (BIO_printf(bio, "%12sa0:00\n", "") <= 0) { in X509_REQ_print_ex()
154 if (BIO_printf(bio, "%12s", "") <= 0) { in X509_REQ_print_ex()
204 BIO_printf(bio, "%8sRequested Extensions:\n", ""); in X509_REQ_print_ex()
209 if (BIO_printf(bio, "%12s", "") <= 0) { in X509_REQ_print_ex()
215 if (BIO_printf(bio, ": %s\n", is_critical ? "critical" : "") <= 0) { in X509_REQ_print_ex()
[all …]
Dt_x509a.c74 BIO_printf(out, "%*sTrusted Uses:\n%*s", indent, "", indent + 2, ""); in X509_CERT_AUX_print()
86 BIO_printf(out, "%*sNo Trusted Uses.\n", indent, ""); in X509_CERT_AUX_print()
89 BIO_printf(out, "%*sRejected Uses:\n%*s", indent, "", indent + 2, ""); in X509_CERT_AUX_print()
101 BIO_printf(out, "%*sNo Rejected Uses.\n", indent, ""); in X509_CERT_AUX_print()
103 BIO_printf(out, "%*sAlias: %s\n", indent, "", aux->alias->data); in X509_CERT_AUX_print()
105 BIO_printf(out, "%*sKey Id: ", indent, ""); in X509_CERT_AUX_print()
107 BIO_printf(out, "%s%02X", j ? ":" : "", aux->keyid->data[j]); in X509_CERT_AUX_print()
Dt_x509.c125 if (BIO_printf(bp, "%8sVersion: %lu (0x%lx)\n", "", l + 1, l) <= 0) in X509_print_ex()
142 if (BIO_printf(bp, " %s%lu (%s0x%lx)\n", neg, l, neg, l) <= 0) in X509_print_ex()
146 if (BIO_printf(bp, "\n%12s%s", "", neg) <= 0) in X509_print_ex()
150 if (BIO_printf(bp, "%02x%c", bs->data[i], in X509_print_ex()
164 if (BIO_printf(bp, " Issuer:%c", mlch) <= 0) in X509_print_ex()
187 if (BIO_printf(bp, " Subject:%c", mlch) <= 0) in X509_print_ex()
198 if (BIO_printf(bp, "%12sPublic Key Algorithm: ", "") <= 0) in X509_print_ex()
207 BIO_printf(bp, "%12sUnable to load Public Key\n", ""); in X509_print_ex()
217 if (BIO_printf(bp, "%8sIssuer Unique ID: ", "") <= 0) in X509_print_ex()
223 if (BIO_printf(bp, "%8sSubject Unique ID: ", "") <= 0) in X509_print_ex()
[all …]
Dx509.c148 if (BIO_printf(bp, "%02x%s", s[i], ((i + 1) == n) ? "" : ":") <= 0) { in X509_signature_dump()
/external/curl/docs/examples/
Dcurlx.c196 BIO_printf(p->errorbio, "entering ssl_app_verify_callback\n"); in ssl_app_verify_callback()
207 BIO_printf(p->errorbio, "Setting URL from SIA to: %s\n", accessinfo); in ssl_app_verify_callback()
214 BIO_printf(p->errorbio, "Setting URL from AIA to: %s\n", accessinfo); in ssl_app_verify_callback()
220 BIO_printf(p->errorbio, "leaving ssl_app_verify_callback with %d\n", ok); in ssl_app_verify_callback()
239 BIO_printf(p->errorbio, "SSL_CTX_use_certificate problem\n"); in sslctxfun()
243 BIO_printf(p->errorbio, "SSL_CTX_use_PrivateKey\n"); in sslctxfun()
248 BIO_printf(p->errorbio, "SSL_CTX_check_private_key\n"); in sslctxfun()
380 BIO_printf(p.errorbio, "%s\n", *pp); in main()
381 BIO_printf(p.errorbio, "\n"); in main()
389 BIO_printf(p.errorbio, "Error setting input bio\n"); in main()
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_prn.c82 BIO_printf(out, "%*s", indent, ""); in X509V3_EXT_val_prn()
88 BIO_printf(out, "%*s", indent, ""); in X509V3_EXT_val_prn()
90 BIO_printf(out, ", "); in X509V3_EXT_val_prn()
97 BIO_printf(out, "%s:%s", nval->name, nval->value); in X509V3_EXT_val_prn()
133 BIO_printf(out, "%*s%s", indent, "", value); in X509V3_EXT_print()
169 BIO_printf(bp, "%*s%s:\n", indent, "", title); in X509V3_extensions_print()
177 if (indent && BIO_printf(bp, "%*s", indent, "") <= 0) in X509V3_extensions_print()
182 if (BIO_printf(bp, ": %s\n", j ? "critical" : "") <= 0) in X509V3_extensions_print()
185 BIO_printf(bp, "%*s", indent + 4, ""); in X509V3_extensions_print()
204 BIO_printf(out, "%*s<Parse Error>", indent, ""); in unknown_ext_print()
[all …]
Dv3_alt.c200 BIO_printf(out, "othername:<unsupported>"); in GENERAL_NAME_print()
204 BIO_printf(out, "X400Name:<unsupported>"); in GENERAL_NAME_print()
209 BIO_printf(out, "EdiPartyName:<unsupported>"); in GENERAL_NAME_print()
213 BIO_printf(out, "email:%s", gen->d.ia5->data); in GENERAL_NAME_print()
217 BIO_printf(out, "DNS:%s", gen->d.ia5->data); in GENERAL_NAME_print()
221 BIO_printf(out, "URI:%s", gen->d.ia5->data); in GENERAL_NAME_print()
225 BIO_printf(out, "DirName: "); in GENERAL_NAME_print()
232 BIO_printf(out, "IP Address:%d.%d.%d.%d", p[0], p[1], p[2], p[3]); in GENERAL_NAME_print()
234 BIO_printf(out, "IP Address"); in GENERAL_NAME_print()
236 BIO_printf(out, ":%X", p[0] << 8 | p[1]); in GENERAL_NAME_print()
[all …]
Dv3_cpols.c419 BIO_printf(out, "%*sPolicy: ", indent, ""); in i2r_certpol()
437 BIO_printf(out, "%*sCPS: %s\n", indent, "", in print_qualifiers()
442 BIO_printf(out, "%*sUser Notice:\n", indent, ""); in print_qualifiers()
447 BIO_printf(out, "%*sUnknown Qualifier: ", indent + 2, ""); in print_qualifiers()
462 BIO_printf(out, "%*sOrganization: %s\n", indent, "", in print_notice()
464 BIO_printf(out, "%*sNumber%s: ", indent, "", in print_notice()
485 BIO_printf(out, "%*sExplicit Text: %s\n", indent, "", in print_notice()
493 BIO_printf(out, "%*sPolicy: ", indent, ""); in X509_POLICY_NODE_print()
497 BIO_printf(out, "%*s%s\n", indent + 2, "", in X509_POLICY_NODE_print()
502 BIO_printf(out, "%*sNo Qualifiers\n", indent + 2, ""); in X509_POLICY_NODE_print()
Dv3_crld.c234 BIO_printf(out, "%*s%s:\n%*s", indent, "", rname, indent + 2, ""); in print_reasons()
468 BIO_printf(out, "%*s", indent + 2, ""); in print_gens()
478 BIO_printf(out, "%*sFull Name:\n", indent, ""); in print_distpoint()
483 BIO_printf(out, "%*sRelative Name:\n%*s", indent, "", indent + 2, ""); in print_distpoint()
497 BIO_printf(out, "%*sOnly User Certificates\n", indent, ""); in i2r_idp()
499 BIO_printf(out, "%*sOnly CA Certificates\n", indent, ""); in i2r_idp()
501 BIO_printf(out, "%*sIndirect CRL\n", indent, ""); in i2r_idp()
505 BIO_printf(out, "%*sOnly Attribute Certificates\n", indent, ""); in i2r_idp()
509 BIO_printf(out, "%*s<EMPTY>\n", indent, ""); in i2r_idp()
528 BIO_printf(out, "%*sCRL Issuer:\n", indent, ""); in i2r_crldp()
Dv3_pci.c68 BIO_printf(out, "%*sPath Length Constraint: ", indent, ""); in i2r_pci()
72 BIO_printf(out, "infinite"); in i2r_pci()
74 BIO_printf(out, "%*sPolicy Language: ", indent, ""); in i2r_pci()
78 BIO_printf(out, "%*sPolicy Text: %s\n", indent, "", in i2r_pci()
Dv3_ncons.c180 BIO_printf(bp, "%*s%s:\n", ind, "", name); in do_i2r_name_constraints()
183 BIO_printf(bp, "%*s", ind + 2, ""); in do_i2r_name_constraints()
201 BIO_printf(bp, "%d.%d.%d.%d/%d.%d.%d.%d", in print_nc_ipadd()
205 BIO_printf(bp, "%X", p[0] << 8 | p[1]); in print_nc_ipadd()
213 BIO_printf(bp, "IP Address:<invalid>"); in print_nc_ipadd()
Dv3_sxnet.c118 BIO_printf(out, "%*sVersion: %ld (0x%lX)", indent, "", v + 1, v);
122 BIO_printf(out, "\n%*sZone: %s, User: ", indent, "", tmp);
Dpcy_tree.c115 BIO_printf(err, "Level print after %s\n", str); in tree_print()
116 BIO_printf(err, "Printing Up to Level %ld\n", curr - tree->levels); in tree_print()
118 BIO_printf(err, "Level %ld, flags = %x\n", in tree_print()
124 BIO_printf(err, " Flags: %x\n", node->data->flags); in tree_print()
Dv3_ocsp.c49 if (BIO_printf(bp, "%*s", ind, "") <= 0) in i2r_ocsp_acutoff()
Dv3_pku.c92 BIO_printf(out, "%*s", indent, "");
/external/boringssl/src/tool/
Dtransport_common.cc278 BIO_printf(bio, " Version: %s\n", SSL_get_version(ssl)); in PrintConnectionInfo()
279 BIO_printf(bio, " Resumed session: %s\n", in PrintConnectionInfo()
281 BIO_printf(bio, " Cipher: %s\n", SSL_CIPHER_standard_name(cipher)); in PrintConnectionInfo()
284 BIO_printf(bio, " ECDHE curve: %s\n", SSL_get_curve_name(curve)); in PrintConnectionInfo()
288 BIO_printf(bio, " Signature algorithm: %s\n", in PrintConnectionInfo()
292 BIO_printf(bio, " Secure renegotiation: %s\n", in PrintConnectionInfo()
294 BIO_printf(bio, " Extended master secret: %s\n", in PrintConnectionInfo()
300 BIO_printf(bio, " Next protocol negotiated: %.*s\n", next_proto_len, in PrintConnectionInfo()
306 BIO_printf(bio, " ALPN protocol: %.*s\n", alpn_len, alpn); in PrintConnectionInfo()
310 BIO_printf(bio, " Client sent SNI: %s\n", host_name); in PrintConnectionInfo()
[all …]
/external/boringssl/src/crypto/evp/
Dprint.c77 if (BIO_printf(bp, "%s 0\n", number) <= 0) { in bn_print()
85 if (BIO_printf(bp, "%s %s%lu (%s0x%lx)\n", number, neg, in bn_print()
92 if (BIO_printf(bp, "%s%s", number, in bn_print()
112 if (BIO_printf(bp, "%02x%s", buf[i], ((i + 1) == n) ? "" : ":") <= 0) { in bn_print()
170 if (BIO_printf(out, "Private-Key: (%d bit)\n", mod_len) <= 0) { in do_rsa_print()
176 if (BIO_printf(out, "Public-Key: (%d bit)\n", mod_len) <= 0) { in do_rsa_print()
256 BIO_printf(bp, "%s: (%d bit)\n", ktype, BN_num_bits(x->p)) <= 0) { in do_dsa_print()
371 BIO_printf(bp, "%s: (%d bit)\n", ecstr, BN_num_bits(order)) <= 0) { in do_EC_KEY_print()
460 BIO_printf(out, "%s algorithm unsupported\n", kstr); in print_unsupported()
/external/wpa_supplicant_8/src/utils/
Dhttp_curl.c611 BIO_printf(out, "%*shashAlg: ", indent, ""); in i2r_HashAlgAndValue()
613 BIO_printf(out, "\n"); in i2r_HashAlgAndValue()
615 BIO_printf(out, "%*shashValue: ", indent, ""); in i2r_HashAlgAndValue()
618 BIO_printf(out, "%s%02x", i > 0 ? ":" : "", data[i]); in i2r_HashAlgAndValue()
619 BIO_printf(out, "\n"); in i2r_HashAlgAndValue()
626 BIO_printf(out, "%*sLogotypeDetails\n", indent, ""); in i2r_LogotypeDetails()
628 BIO_printf(out, "%*smediaType: ", indent, ""); in i2r_LogotypeDetails()
630 BIO_printf(out, "\n"); in i2r_LogotypeDetails()
646 BIO_printf(out, "%*slogotypeURI: ", indent, ""); in i2r_LogotypeDetails()
648 BIO_printf(out, "\n"); in i2r_LogotypeDetails()
[all …]
/external/boringssl/src/crypto/bio/
Dprintf.c66 int BIO_printf(BIO *bio, const char *format, ...) { in BIO_printf() function
Dbio_test.cc143 int ret = BIO_printf(bio.get(), "test %s", in.c_str()); in TEST()
/external/boringssl/src/include/openssl/
Dbio.h316 OPENSSL_EXPORT int BIO_printf(BIO *bio, const char *format, ...)
/external/curl/lib/vtls/
Dopenssl.c3076 BIO_printf(mem, "%lx", X509_get_version(x)); in get_cert_chain()
3083 BIO_printf(mem, "%02x", num->data[j]); in get_cert_chain()
3157 BIO_printf(mem, "%d", BN_num_bits(rsa->n)); in get_cert_chain()
3237 BIO_printf(mem, "%02x:", psig->data[j]); in get_cert_chain()
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list1515 BIO_printf
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h1543 #define BIO_printf GRPC_SHADOW_BIO_printf macro

12