passphrasecache: cache by master key, introduce preference for cache by subkey
This commit is contained in:
1 parent
675e8e2015
commit
070017b12f
13 files changed
+208
-154
No files matched your search
+3
-1
@@ -6,6 +6,8 @@ public interface PassphraseCacheInterface {
|
||||
}
|
||||
}
|
||||
|
||||
public String getCachedPassphrase(long masterKeyId) throws NoSecretKeyException;
|
||||
public String getCachedPassphrase(long subKeyId) throws NoSecretKeyException;
|
||||
|
||||
public String getCachedPassphrase(long masterKeyId, long subKeyId) throws NoSecretKeyException;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user