aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/main/res
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-04-06 04:27:55 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-04-06 04:27:55 +0200
commit456a634149d0eecb00f6d7e0053a71f1b19538b6 (patch)
tree7823b457fe11b5d2101d4faf13b774be06649bd7 /OpenPGP-Keychain/src/main/res
parentf01a96f56ed5cc13b7557a2805e51227312e0c2b (diff)
downloadopen-keychain-456a634149d0eecb00f6d7e0053a71f1b19538b6.tar.gz
open-keychain-456a634149d0eecb00f6d7e0053a71f1b19538b6.tar.bz2
open-keychain-456a634149d0eecb00f6d7e0053a71f1b19538b6.zip
certs: ditch expiry, re-add data blob, improve ViewCertActivity
GnuPG doesn't support expiry of user id certifications. The number of rings with an expiration subpacket in a cert out there is likely negligible. ViewCertActivity now verifies the key and displays a status. For revocation certs, the revocation reason is also shown.
Diffstat (limited to 'OpenPGP-Keychain/src/main/res')
-rw-r--r--OpenPGP-Keychain/src/main/res/layout/view_cert_activity.xml37
1 files changed, 29 insertions, 8 deletions
diff --git a/OpenPGP-Keychain/src/main/res/layout/view_cert_activity.xml b/OpenPGP-Keychain/src/main/res/layout/view_cert_activity.xml
index 3c6c09429..95b8ffc8d 100644
--- a/OpenPGP-Keychain/src/main/res/layout/view_cert_activity.xml
+++ b/OpenPGP-Keychain/src/main/res/layout/view_cert_activity.xml
@@ -14,6 +14,26 @@
android:paddingLeft="16dp"
android:paddingRight="16dp">
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:layout_marginTop="14dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Verification Status" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="ok"
+ android:id="@+id/status"
+ android:layout_marginLeft="30dp" />
+ </LinearLayout>
+
<TextView
style="@style/SectionHeader"
android:layout_width="wrap_content"
@@ -96,35 +116,36 @@
android:paddingRight="5dip" />
</TableRow>
- <TableRow>
+ <TableRow
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:id="@+id/row_reason">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:paddingRight="10dip"
- android:text="Creation" />
+ android:text="Revocation Reason" />
<TextView
- android:id="@+id/creation"
+ android:id="@+id/reason"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingRight="5dip" />
</TableRow>
- <TableRow
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+ <TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:paddingRight="10dip"
- android:text="Expires" />
+ android:text="Creation" />
<TextView
- android:id="@+id/expiry"
+ android:id="@+id/creation"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingRight="5dip" />