aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/UncachedSecretKeyRing.java
blob: bda9ebbcfd62459525157bcb58bcd3d49cd5444d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.sufficientlysecure.keychain.pgp;

import org.spongycastle.openpgp.PGPSecretKeyRing;

public class UncachedSecretKeyRing {

    final PGPSecretKeyRing mSecretRing;

    UncachedSecretKeyRing(PGPSecretKeyRing secretRing) {
        mSecretRing = secretRing;
    }

    // Breaking the pattern here, for key import!
    // TODO reduce this from public to default visibility!
    public PGPSecretKeyRing getSecretKeyRing() {
        return mSecretRing;
    }

}