diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-06-07 10:05:43 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-06-07 10:05:43 +0000 |
commit | 802e1ede038010ddab31225f4b8a7e8d74f3b987 (patch) | |
tree | f9f07d2fb57da9843ac6b79e06e9266301b7e8b7 /includes/gnutls/openpgp.h | |
parent | e0781d87ea58ff1ac1b6439d60510a8a26ea9f54 (diff) | |
download | gnutls-802e1ede038010ddab31225f4b8a7e8d74f3b987.tar.gz |
changed indentation to 4 spaces instead of tabs.
Diffstat (limited to 'includes/gnutls/openpgp.h')
-rw-r--r-- | includes/gnutls/openpgp.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/includes/gnutls/openpgp.h b/includes/gnutls/openpgp.h index 6960e1d957..d18a115a3b 100644 --- a/includes/gnutls/openpgp.h +++ b/includes/gnutls/openpgp.h @@ -43,20 +43,20 @@ int gnutls_openpgp_key_init( gnutls_openpgp_key* key); /* initializes the memory void gnutls_openpgp_key_deinit(gnutls_openpgp_key key); /* frees all memory */ int gnutls_openpgp_key_import(gnutls_openpgp_key key, - const gnutls_datum* data, gnutls_openpgp_key_fmt format); + const gnutls_datum* data, gnutls_openpgp_key_fmt format); int gnutls_openpgp_key_export(gnutls_openpgp_key key, - gnutls_openpgp_key_fmt format, void* output_data, - size_t* output_data_size); + gnutls_openpgp_key_fmt format, void* output_data, + size_t* output_data_size); /* The key_usage flags are defined in gnutls.h. They are * the GNUTLS_KEY_* definitions. */ int gnutls_openpgp_key_get_key_usage( gnutls_openpgp_key cert, unsigned int* key_usage); int gnutls_openpgp_key_get_fingerprint( gnutls_openpgp_key key, - void* result, size_t* result_size); - + void* result, size_t* result_size); + int gnutls_openpgp_key_get_name( gnutls_openpgp_key key, - int idx, char *buf, size_t *sizeof_buf); + int idx, char *buf, size_t *sizeof_buf); int gnutls_openpgp_key_get_pk_algorithm(gnutls_openpgp_key key, unsigned int *r_bits); @@ -71,7 +71,7 @@ int gnutls_openpgp_key_get_id( gnutls_openpgp_key key, unsigned char keyid[8]); int gnutls_openpgp_key_check_hostname( gnutls_openpgp_key key, const char *hostname); int gnutls_openpgp_key_to_xml( gnutls_openpgp_key key, gnutls_datum *xmlkey, - int ext); + int ext); /* privkey stuff. */ @@ -79,8 +79,8 @@ int gnutls_openpgp_privkey_init(gnutls_openpgp_privkey * key); void gnutls_openpgp_privkey_deinit(gnutls_openpgp_privkey key); int gnutls_openpgp_privkey_get_pk_algorithm( gnutls_openpgp_privkey key, unsigned int *bits); int gnutls_openpgp_privkey_import(gnutls_openpgp_privkey key, - const gnutls_datum * data, gnutls_openpgp_key_fmt format, - const char* pass, unsigned int flags); + const gnutls_datum * data, gnutls_openpgp_key_fmt format, + const char* pass, unsigned int flags); /* Keyring stuff. */ @@ -91,7 +91,7 @@ int gnutls_openpgp_keyring_init( gnutls_openpgp_keyring* ring); void gnutls_openpgp_keyring_deinit(gnutls_openpgp_keyring ring); int gnutls_openpgp_keyring_import(gnutls_openpgp_keyring ring, - const gnutls_datum* data, gnutls_openpgp_key_fmt format); + const gnutls_datum* data, gnutls_openpgp_key_fmt format); /* Trustdb functions. */ @@ -102,29 +102,29 @@ int gnutls_openpgp_trustdb_init( gnutls_openpgp_trustdb* db); void gnutls_openpgp_trustdb_deinit(gnutls_openpgp_trustdb db); int gnutls_openpgp_trustdb_import(gnutls_openpgp_trustdb db, - const char* file); + const char* file); int gnutls_openpgp_key_verify_ring( - gnutls_openpgp_key key, - gnutls_openpgp_keyring ring, - unsigned int flags, - unsigned int * verify /* the output of the verification */); + gnutls_openpgp_key key, + gnutls_openpgp_keyring ring, + unsigned int flags, + unsigned int * verify /* the output of the verification */); int gnutls_openpgp_key_verify_self( gnutls_openpgp_key key, unsigned int flags, unsigned int *verify); int gnutls_openpgp_key_verify_trustdb( - gnutls_openpgp_key key, - gnutls_openpgp_trustdb db, - unsigned int flags, - unsigned int * verify /* the output of the verification */); + gnutls_openpgp_key key, + gnutls_openpgp_trustdb db, + unsigned int flags, + unsigned int * verify /* the output of the verification */); /* certificate authentication stuff. */ int gnutls_certificate_set_openpgp_key(gnutls_certificate_credentials res, - gnutls_openpgp_key key, gnutls_openpgp_privkey pkey); + gnutls_openpgp_key key, gnutls_openpgp_privkey pkey); #ifdef __cplusplus } |