aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PassphraseCacheInterface.java
blob: 433c4db007f26914217f2defa48a28af53dbcd9d (plain)
1
2
3
4
5
6
7
8
9
10
11
package org.sufficientlysecure.keychain.pgp;

public interface PassphraseCacheInterface {
    public static class NoSecretKeyException extends Exception {
        public NoSecretKeyException() {
        }
    }

    public String getCachedPassphrase(long masterKeyId) throws NoSecretKeyException;

}