Lines Matching refs:bio
19 int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num) in TS_ASN1_INTEGER_print_bio() argument
29 result = BIO_write(bio, "0x", 2) > 0; in TS_ASN1_INTEGER_print_bio()
30 result = result && BIO_write(bio, hex, strlen(hex)) > 0; in TS_ASN1_INTEGER_print_bio()
38 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj) in TS_OBJ_print_bio() argument
43 BIO_printf(bio, "%s\n", obj_txt); in TS_OBJ_print_bio()
48 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions) in TS_ext_print_bio() argument
54 BIO_printf(bio, "Extensions:\n"); in TS_ext_print_bio()
59 if (i2a_ASN1_OBJECT(bio, obj) < 0) in TS_ext_print_bio()
62 BIO_printf(bio, ":%s\n", critical ? " critical" : ""); in TS_ext_print_bio()
63 if (!X509V3_EXT_print(bio, ex, 0, 4)) { in TS_ext_print_bio()
64 BIO_printf(bio, "%4s", ""); in TS_ext_print_bio()
65 ASN1_STRING_print(bio, X509_EXTENSION_get_data(ex)); in TS_ext_print_bio()
67 BIO_write(bio, "\n", 1); in TS_ext_print_bio()
73 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) in TS_X509_ALGOR_print_bio() argument
76 return BIO_printf(bio, "Hash Algorithm: %s\n", in TS_X509_ALGOR_print_bio()
80 int TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a) in TS_MSG_IMPRINT_print_bio() argument
84 TS_X509_ALGOR_print_bio(bio, a->hash_algo); in TS_MSG_IMPRINT_print_bio()
86 BIO_printf(bio, "Message data:\n"); in TS_MSG_IMPRINT_print_bio()
88 BIO_dump_indent(bio, (const char *)ASN1_STRING_get0_data(msg), in TS_MSG_IMPRINT_print_bio()