2013-05-28 09:10:36 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/crypto_provider_demo_register"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="registerCryptoProvider"
|
|
|
|
android:text="Register crypto provider" />
|
|
|
|
|
|
|
|
<EditText
|
2013-06-17 09:52:09 -04:00
|
|
|
android:id="@+id/crypto_provider_demo_message"
|
2013-05-28 09:10:36 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="150dip"
|
|
|
|
android:text="message"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Small" />
|
|
|
|
|
|
|
|
<EditText
|
2013-06-17 09:52:09 -04:00
|
|
|
android:id="@+id/crypto_provider_demo_ciphertext"
|
2013-05-28 09:10:36 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="150dip"
|
2013-06-17 09:52:09 -04:00
|
|
|
android:text="-----BEGIN PGP MESSAGE-----
|
|
|
|
Charset: UTF-8
|
|
|
|
Version: GnuPG v1.4.12 (GNU/Linux)
|
|
|
|
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
|
|
|
|
|
|
|
|
hQEMAwCgOoTtKmfpAQgAlzmyQYCfkalCsAIxwtroHV9Bwz5LWY4GJNVrFBVddSFJ
|
|
|
|
VkVxx/UDqtIS+TvL8RBG3Er3xFilTV+iBSDjSGIXHkSv6Z7Od69nKcQpJLNaCpDj
|
|
|
|
/Ag7PsINLUzAvUdPto3ZMCwShe/uoD4e4Gr5BG8na/9W77tegufS2gUUlc5BAOZP
|
|
|
|
GUlSPySJP2bpI/3U/R86Z2ByzFKeJIEKWBtBvMPmIgA5VPo0+mamTedRhOIrJM/R
|
|
|
|
vUMM2HfLjAxcX9lYEw4aQGROOu1xpN9FPojQOO10imibZb+TEcxtSHwpj2vll1BP
|
|
|
|
pXvtuR0E9OGVmRI9aBXiRTB2P9SJ6UPpR13m8FaLVtJPAa2xH4wA5Yr6uZ5x7LjO
|
|
|
|
BtO8VErKgoUpO57BgU1ZsVFEcrGiobkreXabKIB+qC0qMJ6maoLlnOPi1IAvhU42
|
|
|
|
z/7HBqqhcNiHc5JMs9+wmw==
|
|
|
|
=00nh
|
|
|
|
-----END PGP MESSAGE-----"
|
2013-05-28 09:10:36 -04:00
|
|
|
android:textAppearance="@android:style/TextAppearance.Small" />
|
|
|
|
|
|
|
|
<Button
|
2013-06-17 09:52:09 -04:00
|
|
|
android:id="@+id/crypto_provider_demo_encrypt"
|
2013-05-28 09:10:36 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="encryptOnClick"
|
|
|
|
android:text="Encrypt" />
|
|
|
|
|
|
|
|
<Button
|
2013-06-17 09:52:09 -04:00
|
|
|
android:id="@+id/crypto_provider_demo_decrypt"
|
2013-05-28 09:10:36 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="decryptOnClick"
|
|
|
|
android:text="Decrypt" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|