name.neuhalfen.projects.crypto.bouncycastle.openpgp.keys.callbacks.UnprotectedKeysKeyringConfigCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bouncy-gpg Show documentation
Show all versions of bouncy-gpg Show documentation
Make using Bouncy Castle with OpenPGP fun again!
The newest version!
package name.neuhalfen.projects.crypto.bouncycastle.openpgp.keys.callbacks;
final class UnprotectedKeysKeyringConfigCallback implements KeyringConfigCallback {
UnprotectedKeysKeyringConfigCallback() {
// Nothing to do
}
@SuppressWarnings("PMD.ReturnEmptyArrayRatherThanNull")
@Override
public char[] decryptionSecretKeyPassphraseForSecretKeyId(long keyId) {
return null;
}
}