check for key status in legacy API key lists

This commit is contained in:
Dominik Schürmann
2018-07-04 13:32:35 +02:00
committed by Vincent Breitmoser
parent 8a33fa8540
commit 035a62e920
5 changed files with 39 additions and 2 deletions

View File

@@ -66,6 +66,10 @@ public abstract class SubKey implements KeysModel {
return has_encrypt_key_int() != 0;
}
public boolean has_sign_key() {
return has_sign_key_int() != 0;
}
public String uidSearchString() {
if (cachedUidSearchString == null) {
cachedUidSearchString = user_id_list();