summaryrefslogtreecommitdiff
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2021-12-01 16:54:39 +0900
committerJinWang An <jinwang.an@samsung.com>2021-12-01 16:54:39 +0900
commitd19c360948ede5ffe5974de8abc9da44be617ca1 (patch)
treef77dd8640a12e7e960c3d408f90e08e069ece9f1 /src/gpgme.h.in
parentfc59d1efdca7b2886739948b88a1aa8cd4243146 (diff)
downloadgpgme-d19c360948ede5ffe5974de8abc9da44be617ca1.tar.gz
gpgme-d19c360948ede5ffe5974de8abc9da44be617ca1.tar.bz2
gpgme-d19c360948ede5ffe5974de8abc9da44be617ca1.zip
Imported Upstream version 1.16.0upstream/1.16.0
Diffstat (limited to 'src/gpgme.h.in')
-rw-r--r--src/gpgme.h.in18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 1defa4d..5c74afd 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -406,7 +406,6 @@ gpgme_pinentry_mode_t;
#define GPGME_EXPORT_MODE_SECRET 16
#define GPGME_EXPORT_MODE_RAW 32
#define GPGME_EXPORT_MODE_PKCS12 64
-#define GPGME_EXPORT_MODE_NOUID 128 /* Experimental(!)*/
#define GPGME_EXPORT_MODE_SSH 256
typedef unsigned int gpgme_export_mode_t;
@@ -628,7 +627,13 @@ struct _gpgme_key_sig
unsigned int exportable : 1;
/* Internal to GPGME, do not use. */
- unsigned int _unused : 28;
+ unsigned int _unused : 12;
+
+ /* The depth of a trust signature, 0 if no trust signature. */
+ unsigned int trust_depth : 8;
+
+ /* The trust value of a trust signature, 0 if no trust signature. */
+ unsigned int trust_value : 8;
/* The public key algorithm used to create the signature. */
gpgme_pubkey_algo_t pubkey_algo;
@@ -675,6 +680,9 @@ struct _gpgme_key_sig
/* Internal to GPGME, do not use. */
gpgme_sig_notation_t _last_notation;
+
+ /* The scope of a trust signature. Might be NULL. */
+ char *trust_scope;
};
typedef struct _gpgme_key_sig *gpgme_key_sig_t;
@@ -1906,6 +1914,7 @@ gpgme_error_t gpgme_op_delete_ext (gpgme_ctx_t ctx, const gpgme_key_t key,
#define GPGME_KEYSIGN_LOCAL (1 << 7) /* Create a local signature. */
#define GPGME_KEYSIGN_LFSEP (1 << 8) /* Indicate LF separated user ids. */
#define GPGME_KEYSIGN_NOEXPIRE (1 << 9) /* Force no expiration. */
+#define GPGME_KEYSIGN_FORCE (1 << 10) /* Force creation. */
/* Sign the USERID of KEY using the current set of signers. */
@@ -2463,6 +2472,11 @@ char *gpgme_addrspec_from_uid (const char *uid);
* Deprecated types, constants and functions.
*/
+/* This is a former experimental only features. The constant is
+ * provided to not break existing code in the compiler phase. */
+#define GPGME_EXPORT_MODE_NOUID 128 /* Do not use! */
+
+
/* The possible stati for gpgme_op_edit. The use of that function and
* these status codes are deprecated in favor of gpgme_op_interact. */
typedef enum