use of org.pgpainless.util.Passphrase in project Smack by igniterealtime.
the class OpenPgpStoreTest method t00_store_protectorGetSet.
/*
Generic
*/
@Test
public void t00_store_protectorGetSet() {
openPgpStoreInstance1.setKeyRingProtector(new UnprotectedKeysProtector());
assertNotNull(openPgpStoreInstance1.getKeyRingProtector());
// TODO: Test method below
openPgpStoreInstance1.setSecretKeyPassphraseCallback(new SecretKeyPassphraseCallback() {
@Override
public Passphrase onPassphraseNeeded(OpenPgpV4Fingerprint fingerprint) {
return null;
}
});
}
Aggregations