mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-21 09:31:29 -08:00
Move and commit missing AES provider.
This commit is contained in:
1 parent
245ec9ffbe
commit
bd2de38646
4 files changed
+39
-3
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009 Brian Pellin.
|
||||
*
|
||||
* This file is part of KeePassDroid.
|
||||
*
|
||||
* KeePassDroid is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* KeePassDroid is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with KeePassDroid. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package com.keepassdroid.crypto;
|
||||
|
||||
import java.security.Provider;
|
||||
|
||||
public final class AESProvider extends Provider {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -3846349284296062658L;
|
||||
|
||||
public AESProvider() {
|
||||
super("AESProvider", 1.0, "");
|
||||
put("Cipher.AES",com.keepassdroid.crypto.NativeAESCipherSpi.class.getName());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -42,7 +42,7 @@ import org.phoneid.keepassj2me.PwEntry;
|
||||
import org.phoneid.keepassj2me.PwGroup;
|
||||
import org.phoneid.keepassj2me.PwManager;
|
||||
|
||||
import com.keepassdroid.crypto.finalkey.AESProvider;
|
||||
import com.keepassdroid.crypto.AESProvider;
|
||||
|
||||
public class PwManagerOutput {
|
||||
private PwManager mPM;
|
||||
|
||||
@@ -47,7 +47,7 @@ import android.util.Log;
|
||||
|
||||
import com.android.keepass.R;
|
||||
import com.keepassdroid.UpdateStatus;
|
||||
import com.keepassdroid.crypto.finalkey.AESProvider;
|
||||
import com.keepassdroid.crypto.AESProvider;
|
||||
import com.keepassdroid.crypto.finalkey.FinalKey;
|
||||
import com.keepassdroid.crypto.finalkey.FinalKeyFactory;
|
||||
import com.keepassdroid.keepasslib.InvalidKeyFileException;
|
||||
|
||||
@@ -35,7 +35,7 @@ import javax.crypto.spec.SecretKeySpec;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import com.keepassdroid.crypto.finalkey.AESProvider;
|
||||
import com.keepassdroid.crypto.AESProvider;
|
||||
|
||||
public class AESTest extends TestCase {
|
||||
|
||||
|
||||
Reference in new issue
Block a user