14 lines
398 B
Java
14 lines
398 B
Java
package org.sufficientlysecure.keychain.pgp;
|
|
|
|
public interface PassphraseCacheInterface {
|
|
public static class NoSecretKeyException extends Exception {
|
|
public NoSecretKeyException() {
|
|
}
|
|
}
|
|
|
|
public String getCachedPassphrase(long subKeyId) throws NoSecretKeyException;
|
|
|
|
public String getCachedPassphrase(long masterKeyId, long subKeyId) throws NoSecretKeyException;
|
|
|
|
}
|