Home | History | Annotate | Download | only in x509v3

Lines Matching full:indent

69 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported);
73 void X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent, int ml)
79 BIO_printf(out, "%*s", indent, "");
83 if(ml) BIO_printf(out, "%*s", indent, "");
95 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent)
105 return unknown_ext_print(out, ext, flag, indent, 0);
110 if(!ext_str) return unknown_ext_print(out, ext, flag, indent, 1);
117 BIO_printf(out, "%*s%s", indent, "", value);
123 X509V3_EXT_val_prn(out, nval, indent,
126 if(!method->i2r(method, ext_str, out, indent)) ok = 0;
137 int X509V3_extensions_print(BIO *bp, const char *title, STACK_OF(X509_EXTENSION) *exts, unsigned long flag, int indent)
146 BIO_printf(bp,"%*s%s:\n",indent, "", title);
147 indent += 4;
155 if (indent && BIO_printf(bp,"%*s",indent, "") <= 0) return 0;
161 if(!X509V3_EXT_print(bp, ex, flag, indent + 4))
163 BIO_printf(bp, "%*s", indent + 4, "");
171 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported)
180 BIO_printf(out, "%*s<Parse Error>", indent, "");
182 BIO_printf(out, "%*s<Not Supported>", indent, "");
187 ext->value->data, ext->value->length, indent, -1);
189 return BIO_hexdump(out, ext->value->data, ext->value->length, indent);
198 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent)
203 ret = X509V3_EXT_print(bio_tmp, ext, flag, indent);