aboutsummaryrefslogtreecommitdiffstats
path: root/sm/minip12.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-06-03 16:57:33 +0000
committerWerner Koch <[email protected]>2014-06-03 16:57:33 +0000
commit0beec2f0f255a71f9d5a4a0729d0259f673e8838 (patch)
tree3e4462eaa0989711335a1ac732a21f42392bc07d /sm/minip12.h
parentdoc: Minor texi updates. (diff)
downloadgnupg-0beec2f0f255a71f9d5a4a0729d0259f673e8838.tar.gz
gnupg-0beec2f0f255a71f9d5a4a0729d0259f673e8838.zip
gpgsm: New commands --export-secret-key-{p8,raw}
* sm/gpgsm.c: Add new commands. * sm/minip12.c (build_key_sequence): Add arg mode. (p12_raw_build): New. * sm/export.c (export_p12): Add arg rawmode. Call p12_raw_build. (gpgsm_p12_export): Ditto. (print_short_info): Print the keygrip.
Diffstat (limited to 'sm/minip12.h')
-rw-r--r--sm/minip12.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sm/minip12.h b/sm/minip12.h
index 27f24f5a1..7a1950fb0 100644
--- a/sm/minip12.h
+++ b/sm/minip12.h
@@ -31,6 +31,9 @@ unsigned char *p12_build (gcry_mpi_t *kparms,
const void *cert, size_t certlen,
const char *pw, const char *charset,
size_t *r_length);
+unsigned char *p12_raw_build (gcry_mpi_t *kparms,
+ int rawmode,
+ size_t *r_length);
#endif /*MINIP12_H*/