diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-09-17 15:51:27 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-09-17 15:53:37 +0200 |
commit | 922c47f1c4ccc05c3d1f121df02cf685f857e435 (patch) | |
tree | d6f7e630490e27952eca61332026d81339b4490c /openpgp/tests | |
parent | 28f91302cc2ba9efe9bf3bf66c6817804a8d79d0 (diff) |
openpgp: Add function TPK::primary_userid.
- Returns the TPK's primary User ID.
- Also add a variant `TPK::primary_userid_full`, which also returns
the primary User ID's binding signature and revocation status.
Diffstat (limited to 'openpgp/tests')
-rw-r--r-- | openpgp/tests/data/keys/primary-key-0-public.pgp | bin | 0 -> 1713 bytes |
-rw-r--r-- | openpgp/tests/data/keys/primary-key-0-secret.pgp | bin | 0 -> 3655 bytes |
-rw-r--r-- | openpgp/tests/data/keys/primary-key-1-add-userid-bbbbb.pgp | bin | 0 -> 2185 bytes |
-rw-r--r-- | openpgp/tests/data/keys/primary-key-2-make-aaaaa-primary.pgp | bin | 0 -> 2188 bytes |
-rw-r--r-- | openpgp/tests/data/keys/primary-key-3-make-bbbbb-new-self-sig.pgp | bin | 0 -> 2188 bytes |
-rw-r--r-- | openpgp/tests/data/keys/primary-key-4-make-bbbbb-primary.pgp | bin | 0 -> 3118 bytes |
-rw-r--r-- | openpgp/tests/data/keys/primary-key-5-make-aaaaa-self-sig.pgp | bin | 0 -> 3118 bytes |
-rw-r--r-- | openpgp/tests/data/keys/primary-key-6-revoked-aaaaa.pgp | bin | 0 -> 3559 bytes |
8 files changed, 0 insertions, 0 deletions
diff --git a/openpgp/tests/data/keys/primary-key-0-public.pgp b/openpgp/tests/data/keys/primary-key-0-public.pgp Binary files differnew file mode 100644 index 00000000..30e91037 --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-0-public.pgp diff --git a/openpgp/tests/data/keys/primary-key-0-secret.pgp b/openpgp/tests/data/keys/primary-key-0-secret.pgp Binary files differnew file mode 100644 index 00000000..63ba7382 --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-0-secret.pgp diff --git a/openpgp/tests/data/keys/primary-key-1-add-userid-bbbbb.pgp b/openpgp/tests/data/keys/primary-key-1-add-userid-bbbbb.pgp Binary files differnew file mode 100644 index 00000000..58a981df --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-1-add-userid-bbbbb.pgp diff --git a/openpgp/tests/data/keys/primary-key-2-make-aaaaa-primary.pgp b/openpgp/tests/data/keys/primary-key-2-make-aaaaa-primary.pgp Binary files differnew file mode 100644 index 00000000..ff4734a6 --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-2-make-aaaaa-primary.pgp diff --git a/openpgp/tests/data/keys/primary-key-3-make-bbbbb-new-self-sig.pgp b/openpgp/tests/data/keys/primary-key-3-make-bbbbb-new-self-sig.pgp Binary files differnew file mode 100644 index 00000000..583391ea --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-3-make-bbbbb-new-self-sig.pgp diff --git a/openpgp/tests/data/keys/primary-key-4-make-bbbbb-primary.pgp b/openpgp/tests/data/keys/primary-key-4-make-bbbbb-primary.pgp Binary files differnew file mode 100644 index 00000000..09c85101 --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-4-make-bbbbb-primary.pgp diff --git a/openpgp/tests/data/keys/primary-key-5-make-aaaaa-self-sig.pgp b/openpgp/tests/data/keys/primary-key-5-make-aaaaa-self-sig.pgp Binary files differnew file mode 100644 index 00000000..cf013db2 --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-5-make-aaaaa-self-sig.pgp diff --git a/openpgp/tests/data/keys/primary-key-6-revoked-aaaaa.pgp b/openpgp/tests/data/keys/primary-key-6-revoked-aaaaa.pgp Binary files differnew file mode 100644 index 00000000..c3e2e044 --- /dev/null +++ b/openpgp/tests/data/keys/primary-key-6-revoked-aaaaa.pgp |