mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
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
23 lines
471 B
Java
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;
|
|
}
|
|
}
|
|
}
|