Lines Matching refs:bp

17 static int print_attribute(BIO *bp, X509_ATTRIBUTE *a)  in print_attribute()  argument
24 if (BIO_printf(bp, "%12s", "") <= 0) in print_attribute()
27 if ((j = i2a_ASN1_OBJECT(bp, aobj)) <= 0) in print_attribute()
36 if (j < 25 && (BIO_printf(bp, "%*s", 25 - j, " ") <= 0)) in print_attribute()
39 if (BIO_puts(bp, ":") <= 0) in print_attribute()
57 if (BIO_write(bp, (char *)bs->data, bs->length) != bs->length) in print_attribute()
59 if (BIO_puts(bp, "\n") <= 0) in print_attribute()
63 if (BIO_puts(bp, "\n") <= 0) in print_attribute()
65 ASN1_parse_dump(bp, at->value.sequence->data, in print_attribute()
69 if (BIO_printf(bp, "unable to print attribute of type 0x%X\n", in print_attribute()
80 int X509_ACERT_print_ex(BIO *bp, X509_ACERT *x, unsigned long nmflags, in X509_ACERT_print_ex() argument
91 if (BIO_printf(bp, "Attribute Certificate:\n") <= 0) in X509_ACERT_print_ex()
93 if (BIO_printf(bp, "%4sData:\n", "") <= 0) in X509_ACERT_print_ex()
102 if (BIO_printf(bp, "%8sVersion: %ld (0x%lx)\n", "", l + 1, in X509_ACERT_print_ex()
106 if (BIO_printf(bp, "%8sVersion: Unknown (%ld)\n", "", l) <= 0) in X509_ACERT_print_ex()
116 if (BIO_printf(bp, "%8sSerial Number: ", "") <= 0) in X509_ACERT_print_ex()
119 if (i2a_ASN1_INTEGER(bp, serial) <= 0) in X509_ACERT_print_ex()
122 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
131 if (BIO_printf(bp, "%8sHolder:\n", "") <= 0) in X509_ACERT_print_ex()
141 if (BIO_printf(bp, "%12sName:%c", "", mlch) <= 0) in X509_ACERT_print_ex()
143 if (GENERAL_NAME_print(bp, entity) <= 0) in X509_ACERT_print_ex()
145 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
157 if (BIO_printf(bp, "%12sIssuer:%c", "", mlch) <= 0) in X509_ACERT_print_ex()
160 if (X509_NAME_print_ex(bp, holderIssuer, 0, nmflags) <= 0) in X509_ACERT_print_ex()
163 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
166 if (BIO_printf(bp, "%12sSerial: ", "") <= 0) in X509_ACERT_print_ex()
171 if (i2a_ASN1_INTEGER(bp, holder_serial) <= 0) in X509_ACERT_print_ex()
176 if (BIO_printf(bp, "%12sIssuer UID: ", "") <= 0) in X509_ACERT_print_ex()
178 if (X509_signature_dump(bp, iuid, 24) <= 0) in X509_ACERT_print_ex()
181 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
189 if (BIO_printf(bp, "%8sIssuer:%c", "", mlch) <= 0) in X509_ACERT_print_ex()
193 if (X509_NAME_print_ex(bp, issuer, 0, nmflags) < 0) in X509_ACERT_print_ex()
196 if (BIO_printf(bp, "Unsupported Issuer Type") <= 0) in X509_ACERT_print_ex()
199 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
204 if (BIO_printf(bp, "%8sValidity\n", "") <= 0) in X509_ACERT_print_ex()
206 if (BIO_printf(bp, "%12sNot Before: ", "") <= 0) in X509_ACERT_print_ex()
208 if (ASN1_GENERALIZEDTIME_print(bp, X509_ACERT_get0_notBefore(x)) == 0) in X509_ACERT_print_ex()
210 if (BIO_printf(bp, "\n%12sNot After : ", "") <= 0) in X509_ACERT_print_ex()
212 if (ASN1_GENERALIZEDTIME_print(bp, X509_ACERT_get0_notAfter(x)) == 0) in X509_ACERT_print_ex()
214 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
219 if (BIO_printf(bp, "%8sAttributes:\n", "") <= 0) in X509_ACERT_print_ex()
223 if (BIO_printf(bp, "%12s(none)\n", "") <= 0) in X509_ACERT_print_ex()
227 if (print_attribute(bp, X509_ACERT_get_attr(x, i)) == 0) in X509_ACERT_print_ex()
238 if (BIO_printf(bp, "%8sExtensions:\n", "") <= 0) in X509_ACERT_print_ex()
246 if (BIO_printf(bp, "%12s", "") <= 0) in X509_ACERT_print_ex()
249 if (i2a_ASN1_OBJECT(bp, obj) <= 0) in X509_ACERT_print_ex()
252 if (BIO_printf(bp, ": %s\n", critical ? "critical" : "") <= 0) in X509_ACERT_print_ex()
254 if (X509V3_EXT_print(bp, ex, cflag, 20) <= 0) { in X509_ACERT_print_ex()
255 if (BIO_printf(bp, "%16s", "") <= 0) in X509_ACERT_print_ex()
257 if (ASN1_STRING_print(bp, X509_EXTENSION_get_data(ex)) <= 0) in X509_ACERT_print_ex()
260 if (BIO_write(bp, "\n", 1) <= 0) in X509_ACERT_print_ex()
271 if (X509_signature_print(bp, sig_alg, sig) <= 0) in X509_ACERT_print_ex()
282 int X509_ACERT_print(BIO *bp, X509_ACERT *x) in X509_ACERT_print() argument
284 return X509_ACERT_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); in X509_ACERT_print()