aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar/android/apg/EditKeyActivity.java
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@googlemail.com>2011-11-03 22:15:31 +0100
committerMarkus Doits <markus.doits@googlemail.com>2011-11-03 22:15:31 +0100
commit8d9b0e1db83f9effa9cb240ad46f1ae2f85df98b (patch)
treeb73be883a93dfd381686c4dbb03e77d8f2ebf2f3 /src/org/thialfihar/android/apg/EditKeyActivity.java
parente6c86a88922cfc6570d2c96067155c958aa02ee2 (diff)
downloadopen-keychain-8d9b0e1db83f9effa9cb240ad46f1ae2f85df98b.tar.gz
open-keychain-8d9b0e1db83f9effa9cb240ad46f1ae2f85df98b.tar.bz2
open-keychain-8d9b0e1db83f9effa9cb240ad46f1ae2f85df98b.zip
Switch to spongycastle
https://github.com/rtyley/spongycastle It replaces bouncycastle2. Looks like a cleaner and better integration. A precompiled .jar ist in the "lib/"-dir.
Diffstat (limited to 'src/org/thialfihar/android/apg/EditKeyActivity.java')
-rw-r--r--src/org/thialfihar/android/apg/EditKeyActivity.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/org/thialfihar/android/apg/EditKeyActivity.java b/src/org/thialfihar/android/apg/EditKeyActivity.java
index 4bb8899ca..760fbbc73 100644
--- a/src/org/thialfihar/android/apg/EditKeyActivity.java
+++ b/src/org/thialfihar/android/apg/EditKeyActivity.java
@@ -16,15 +16,9 @@
package org.thialfihar.android.apg;
-import java.io.IOException;
-import java.security.NoSuchAlgorithmException;
-import java.security.NoSuchProviderException;
-import java.security.SignatureException;
-import java.util.Vector;
-
-import org.bouncycastle2.openpgp.PGPException;
-import org.bouncycastle2.openpgp.PGPSecretKey;
-import org.bouncycastle2.openpgp.PGPSecretKeyRing;
+import org.spongycastle.openpgp.PGPException;
+import org.spongycastle.openpgp.PGPSecretKey;
+import org.spongycastle.openpgp.PGPSecretKeyRing;
import org.thialfihar.android.apg.provider.Database;
import org.thialfihar.android.apg.ui.widget.KeyEditor;
import org.thialfihar.android.apg.ui.widget.SectionView;
@@ -46,6 +40,12 @@ import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.Toast;
+import java.io.IOException;
+import java.security.NoSuchAlgorithmException;
+import java.security.NoSuchProviderException;
+import java.security.SignatureException;
+import java.util.Vector;
+
public class EditKeyActivity extends BaseActivity implements OnClickListener {
private PGPSecretKeyRing mKeyRing = null;