summaryrefslogtreecommitdiffstats
path: root/apps/apps.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-07-28 01:58:15 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-07-28 01:58:15 +0000
commita657546f9c376f4b7ba4dce14649598fb1a38de5 (patch)
tree57869397b334bf1d3f3e756d48d73248946f9039 /apps/apps.h
parent8083e1bd9e2bc7d32cee960c09dcb838c12a0495 (diff)
New ASN1_STRING_print_ex() and X509_NAME_print_ex()
functions. These are intended to be replacements for the ancient ASN1_STRING_print() and X509_NAME_print() functions. The new functions support RFC2253 and various pretty printing options. It is also possible to display international characters if the terminal properly handles UTF8 encoding (Linux seems to tolerate this if the "unicode_start" script is run). Still needs to be documented, integrated into other utilities and extensively tested.
Diffstat (limited to 'apps/apps.h')
-rw-r--r--apps/apps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h
index df939e0f40..c44b21457a 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -145,7 +145,9 @@ void program_name(char *in,char *out,int size);
int chopup_args(ARGS *arg,char *buf, int *argc, char **argv[]);
#ifdef HEADER_X509_H
int dump_cert_text(BIO *out, X509 *x);
+void print_name(BIO *out, char *title, X509_NAME *nm, unsigned long lflags);
#endif
+int set_name_ex(unsigned long *flags, const char *arg);
int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2);
int add_oid_section(BIO *err, LHASH *conf);
X509 *load_cert(BIO *err, char *file, int format);