Aegis/app/src/main/java/me/impy/aegis/KeyProfile.java
Impyy 9de0f35104 Replaced the sqlcipher database with a custom one
Still a WIP. This change was made to allow us to use Android's SecretKey API.
Which in turn allows us to store our secret keys in the Android KeyStore.

You can read about the database file format here: doc/db.md
2017-08-06 18:21:01 +02:00

23 lines
471 B
Java

package me.impy.aegis;
import java.io.Serializable;
import me.impy.aegis.crypto.KeyInfo;
public class KeyProfile implements Serializable {
public String Name;
public String Icon;
public String Code;
public String Issuer;
public KeyInfo Info;
public int Order;
public int ID;
public int compareTo(KeyProfile another) {
if (this.Order>another.Order){
return -1;
}else{
return 1;
}
}
}