diff options
author | Werner Koch <[email protected]> | 2009-07-01 18:30:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-07-01 18:30:33 +0000 |
commit | 1925cb37f9cad721ff7ca228dab3ba214a14f767 (patch) | |
tree | c7885e9f57ecbeeae49e3c4b45581c5db5e9024e /common/util.h | |
parent | Add comment about Cherry. (diff) | |
download | gnupg-1925cb37f9cad721ff7ca228dab3ba214a14f767.tar.gz gnupg-1925cb37f9cad721ff7ca228dab3ba214a14f767.zip |
Alow batch ode for gpgsm --gen-key.
Allow CSR generation using an existing key with gpgsm.
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 816afff0b..61b26f1de 100644 --- a/common/util.h +++ b/common/util.h @@ -201,6 +201,9 @@ gpg_error_t get_rsa_pk_from_canon_sexp (const unsigned char *keydata, size_t *r_nlen, unsigned char const **r_e, size_t *r_elen); +gpg_error_t get_pk_algo_from_canon_sexp (const unsigned char *keydata, + size_t keydatalen, + int *r_algo); /*-- convert.c --*/ int hex2bin (const char *string, void *buffer, size_t length); |