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.
This commit is contained in:
Markus Doits
2011-11-03 22:15:31 +01:00
parent e6c86a8892
commit 8d9b0e1db8
15 changed files with 162 additions and 155 deletions

View File

@@ -1,13 +1,13 @@
package org.thialfihar.android.apg;
import java.util.Vector;
import org.bouncycastle2.bcpg.HashAlgorithmTags;
import org.bouncycastle2.openpgp.PGPEncryptedData;
import org.spongycastle.bcpg.HashAlgorithmTags;
import org.spongycastle.openpgp.PGPEncryptedData;
import android.content.Context;
import android.content.SharedPreferences;
import java.util.Vector;
public class Preferences {
private static Preferences mPreferences;
private SharedPreferences mSharedPreferences;