mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Move the OTP stuff to a separate folder
This commit is contained in:
parent
e8e7a822c5
commit
e3f4503967
8 changed files with 10 additions and 9 deletions
|
@ -9,11 +9,10 @@ import android.support.v7.app.AppCompatActivity;
|
|||
import android.os.Bundle;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import android.widget.EditText;
|
||||
import android.widget.TextView;
|
||||
|
||||
import me.impy.aegis.crypto.OTP;
|
||||
import me.impy.aegis.crypto.otp.OTP;
|
||||
|
||||
public class AddProfileActivity extends AppCompatActivity {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.util.Collections;
|
|||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
import me.impy.aegis.crypto.OTP;
|
||||
import me.impy.aegis.crypto.otp.OTP;
|
||||
import me.impy.aegis.helpers.ItemTouchHelperAdapter;
|
||||
|
||||
public class KeyProfileAdapter extends RecyclerView.Adapter<KeyProfileAdapter.KeyProfileHolder> implements ItemTouchHelperAdapter {
|
||||
|
|
|
@ -43,7 +43,7 @@ import javax.crypto.SecretKey;
|
|||
import me.impy.aegis.crypto.CryptResult;
|
||||
import me.impy.aegis.crypto.CryptoUtils;
|
||||
import me.impy.aegis.crypto.MasterKey;
|
||||
import me.impy.aegis.crypto.OTP;
|
||||
import me.impy.aegis.crypto.otp.OTP;
|
||||
import me.impy.aegis.crypto.slots.PasswordSlot;
|
||||
import me.impy.aegis.crypto.slots.Slot;
|
||||
import me.impy.aegis.crypto.slots.SlotCollection;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package me.impy.aegis.crypto;
|
||||
package me.impy.aegis.crypto.otp;
|
||||
|
||||
/*
|
||||
* OneTimePasswordAlgorithm.java
|
|
@ -1,4 +1,6 @@
|
|||
package me.impy.aegis.crypto;
|
||||
package me.impy.aegis.crypto.otp;
|
||||
|
||||
import me.impy.aegis.crypto.KeyInfo;
|
||||
|
||||
public class OTP {
|
||||
private OTP() {
|
|
@ -1,4 +1,4 @@
|
|||
package me.impy.aegis.crypto;
|
||||
package me.impy.aegis.crypto.otp;
|
||||
|
||||
/**
|
||||
Copyright (c) 2011 IETF Trust and the persons identified as
|
|
@ -2,7 +2,7 @@ package me.impy.aegis;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import me.impy.aegis.crypto.HOTP;
|
||||
import me.impy.aegis.crypto.otp.HOTP;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package me.impy.aegis;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import me.impy.aegis.crypto.TOTP;
|
||||
import me.impy.aegis.crypto.otp.TOTP;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue