From c6416080a2f3154c3a6807b42ef3e224c3904815 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 4 Jun 2002 09:41:59 +0000 Subject: * gpgsm.c (main): New command --list-sigs * keylist.c (list_cert_std): New. Use it whenever colon mode is not used. (list_cert_chain): New. --- sm/gpgsm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sm/gpgsm.h') diff --git a/sm/gpgsm.h b/sm/gpgsm.h index b1969112c..2ecb3169e 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -107,6 +107,7 @@ struct server_control_s { int status_fd; /* only for non-server mode */ struct server_local_s *server_local; int with_colons; /* use column delimited output format */ + int with_chain; /* include the certifying certs in a listing */ int autodetect_encoding; /* try to detect the input encoding */ int is_pem; /* Is in PEM format */ @@ -162,11 +163,17 @@ void gpgsm_destroy_writer (Base64Context ctx); /*-- certdump.c --*/ +void gpgsm_print_serial (FILE *fp, KsbaConstSexp p); +void gpgsm_print_time (FILE *fp, time_t t); +void gpgsm_print_name (FILE *fp, const char *string); + void gpgsm_dump_cert (const char *text, KsbaCert cert); void gpgsm_dump_serial (KsbaConstSexp p); void gpgsm_dump_time (time_t t); void gpgsm_dump_string (const char *string); + + /*-- certcheck.c --*/ int gpgsm_check_cert_sig (KsbaCert issuer_cert, KsbaCert cert); int gpgsm_check_cms_signature (KsbaCert cert, KsbaConstSexp sigval, -- cgit v1.2.3