Skip to content

Commit

Permalink
Expose PGPSecretKeyRing constructor
Browse files Browse the repository at this point in the history
The PGPSecretKeyRing is in its essence a simple enough wrapper around a
list of PGPSecretKeys. It can however only be instantiated from a binary
representation, a PGPKeyRingGenerator or bootstrapped by modifying an
existing SecretKeyRing. This is comonly fine ensure constraints from the
constructor are preserved -- but we need the access in OpenKeychain
because we just work on that low level.

Hrum.
  • Loading branch information
Valodim committed Jun 2, 2014
1 parent eb2c35b commit 2c47e5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class PGPSecretKeyRing
List keys;
List extraPubKeys;

PGPSecretKeyRing(List keys)
public PGPSecretKeyRing(List keys)
{
this(keys, new ArrayList());
}
Expand Down

0 comments on commit 2c47e5f

Please sign in to comment.