Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/x509/
Dt_crl.c89 BIO_printf(out, "Certificate Revocation List (CRL):\n"); in X509_CRL_print()
91 BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l + 1, l); in X509_CRL_print()
94 BIO_printf(out, "%8sIssuer: %s\n", "", p); in X509_CRL_print()
96 BIO_printf(out, "%8sLast Update: ", ""); in X509_CRL_print()
98 BIO_printf(out, "\n%8sNext Update: ", ""); in X509_CRL_print()
102 BIO_printf(out, "NONE"); in X509_CRL_print()
103 BIO_printf(out, "\n"); in X509_CRL_print()
110 BIO_printf(out, "Revoked Certificates:\n"); in X509_CRL_print()
112 BIO_printf(out, "No Revoked Certificates.\n"); in X509_CRL_print()
116 BIO_printf(out, " Serial Number: "); in X509_CRL_print()
[all …]
Dt_req.c107 if (BIO_printf(bio, "%8sVersion: %ld (0x%lx)\n", "", l + 1, l) <= 0) { in X509_REQ_print_ex()
112 if (BIO_printf(bio, " Subject:%c", mlch) <= 0 || in X509_REQ_print_ex()
120 BIO_printf(bio, "%12sPublic Key Algorithm: ", "") <= 0 || in X509_REQ_print_ex()
128 BIO_printf(bio, "%12sUnable to load Public Key\n", ""); in X509_REQ_print_ex()
137 if (BIO_printf(bio, "%8sAttributes:\n", "") <= 0) { in X509_REQ_print_ex()
143 if (BIO_printf(bio, "%12sa0:00\n", "") <= 0) { in X509_REQ_print_ex()
156 if (BIO_printf(bio, "%12s", "") <= 0) { in X509_REQ_print_ex()
206 BIO_printf(bio, "%8sRequested Extensions:\n", ""); in X509_REQ_print_ex()
211 if (BIO_printf(bio, "%12s", "") <= 0) { in X509_REQ_print_ex()
217 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.c128 if (BIO_printf(bp, "%8sVersion: %lu (0x%lx)\n", "", l + 1, l) <= 0) in X509_print_ex()
145 if (BIO_printf(bp, " %s%lu (%s0x%lx)\n", neg, l, neg, l) <= 0) in X509_print_ex()
149 if (BIO_printf(bp, "\n%12s%s", "", neg) <= 0) in X509_print_ex()
153 if (BIO_printf(bp, "%02x%c", bs->data[i], in X509_print_ex()
167 if (BIO_printf(bp, " Issuer:%c", mlch) <= 0) in X509_print_ex()
190 if (BIO_printf(bp, " Subject:%c", mlch) <= 0) in X509_print_ex()
201 if (BIO_printf(bp, "%12sPublic Key Algorithm: ", "") <= 0) in X509_print_ex()
210 BIO_printf(bp, "%12sUnable to load Public Key\n", ""); in X509_print_ex()
220 if (BIO_printf(bp, "%8sIssuer Unique ID: ", "") <= 0) in X509_print_ex()
226 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()
205 BIO_printf(p->errorbio, "Setting URL from SIA to: %s\n", accessinfo); in ssl_app_verify_callback()
212 BIO_printf(p->errorbio, "Setting URL from AIA to: %s\n", accessinfo); in ssl_app_verify_callback()
218 BIO_printf(p->errorbio, "leaving ssl_app_verify_callback with %d\n", ok); in ssl_app_verify_callback()
237 BIO_printf(p->errorbio, "SSL_CTX_use_certificate problem\n"); in sslctxfun()
241 BIO_printf(p->errorbio, "SSL_CTX_use_PrivateKey\n"); in sslctxfun()
246 BIO_printf(p->errorbio, "SSL_CTX_check_private_key\n"); in sslctxfun()
377 BIO_printf(p.errorbio, "%s\n", *pp); in main()
378 BIO_printf(p.errorbio, "\n"); in main()
385 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.c197 BIO_printf(out, "othername:<unsupported>"); in GENERAL_NAME_print()
201 BIO_printf(out, "X400Name:<unsupported>"); in GENERAL_NAME_print()
206 BIO_printf(out, "EdiPartyName:<unsupported>"); in GENERAL_NAME_print()
210 BIO_printf(out, "email:%s", gen->d.ia5->data); in GENERAL_NAME_print()
214 BIO_printf(out, "DNS:%s", gen->d.ia5->data); in GENERAL_NAME_print()
218 BIO_printf(out, "URI:%s", gen->d.ia5->data); in GENERAL_NAME_print()
222 BIO_printf(out, "DirName: "); in GENERAL_NAME_print()
229 BIO_printf(out, "IP Address:%d.%d.%d.%d", p[0], p[1], p[2], p[3]); in GENERAL_NAME_print()
231 BIO_printf(out, "IP Address"); in GENERAL_NAME_print()
233 BIO_printf(out, ":%X", p[0] << 8 | p[1]); in GENERAL_NAME_print()
[all …]
Dv3_cpols.c418 BIO_printf(out, "%*sPolicy: ", indent, ""); in i2r_certpol()
436 BIO_printf(out, "%*sCPS: %s\n", indent, "", in print_qualifiers()
441 BIO_printf(out, "%*sUser Notice:\n", indent, ""); in print_qualifiers()
446 BIO_printf(out, "%*sUnknown Qualifier: ", indent + 2, ""); in print_qualifiers()
461 BIO_printf(out, "%*sOrganization: %s\n", indent, "", in print_notice()
463 BIO_printf(out, "%*sNumber%s: ", indent, "", in print_notice()
484 BIO_printf(out, "%*sExplicit Text: %s\n", indent, "", in print_notice()
492 BIO_printf(out, "%*sPolicy: ", indent, ""); in X509_POLICY_NODE_print()
496 BIO_printf(out, "%*s%s\n", indent + 2, "", in X509_POLICY_NODE_print()
501 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.c67 BIO_printf(out, "%*sPath Length Constraint: ", indent, ""); in i2r_pci()
71 BIO_printf(out, "infinite"); in i2r_pci()
73 BIO_printf(out, "%*sPolicy Language: ", indent, ""); in i2r_pci()
77 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);
Dv3_pku.c92 BIO_printf(out, "%*s", indent, "");
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()
/external/wpa_supplicant_8/src/utils/
Dhttp_curl.c595 BIO_printf(out, "%*shashAlg: ", indent, ""); in i2r_HashAlgAndValue()
597 BIO_printf(out, "\n"); in i2r_HashAlgAndValue()
599 BIO_printf(out, "%*shashValue: ", indent, ""); in i2r_HashAlgAndValue()
602 BIO_printf(out, "%s%02x", i > 0 ? ":" : "", data[i]); in i2r_HashAlgAndValue()
603 BIO_printf(out, "\n"); in i2r_HashAlgAndValue()
610 BIO_printf(out, "%*sLogotypeDetails\n", indent, ""); in i2r_LogotypeDetails()
612 BIO_printf(out, "%*smediaType: ", indent, ""); in i2r_LogotypeDetails()
614 BIO_printf(out, "\n"); in i2r_LogotypeDetails()
630 BIO_printf(out, "%*slogotypeURI: ", indent, ""); in i2r_LogotypeDetails()
632 BIO_printf(out, "\n"); in i2r_LogotypeDetails()
[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/boringssl/src/crypto/bio/
Dprintf.c70 int BIO_printf(BIO *bio, const char *format, ...) { in BIO_printf() function
Dbio_test.cc146 int ret = BIO_printf(bio.get(), "test %s", in.c_str()); in TEST()
/external/libchrome/crypto/
Dopenssl_bio_string_unittest.cc24 BIO_printf(bio.get(), "a %s\nb %i\n", "one", 2)); in TEST()
/external/boringssl/src/include/openssl/
Dbio.h313 OPENSSL_EXPORT int BIO_printf(BIO *bio, const char *format, ...)
/external/curl/lib/vtls/
Dopenssl.c2483 BIO_printf(mem, "%lx", X509_get_version(x)); in get_cert_chain()
2490 BIO_printf(mem, "%02x", num->data[j]); in get_cert_chain()
2578 BIO_printf(mem, "%d", BN_num_bits(rsa->n)); in get_cert_chain()
2668 BIO_printf(mem, "%02x:", psig->data[j]); in get_cert_chain()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp4205 BIO_printf(bio, "Serial Number: "); in NativeCrypto_X509_REVOKED_print()
4207 BIO_printf(bio, "\nRevocation Date: "); in NativeCrypto_X509_REVOKED_print()
4209 BIO_printf(bio, "\n"); in NativeCrypto_X509_REVOKED_print()