mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-23 03:17:58 +01:00
Remove unused provideSessionKeyDataDecryptorFactory() methods
This commit is contained in:
parent
609bb4556a
commit
639d2a19f8
3 changed files with 0 additions and 12 deletions
|
@ -148,11 +148,6 @@ public class BcImplementationFactory extends ImplementationFactory {
|
|||
.build(passphrase.getChars());
|
||||
}
|
||||
|
||||
@Override
|
||||
public SessionKeyDataDecryptorFactory provideSessionKeyDataDecryptorFactory(PGPSessionKey sessionKey) {
|
||||
return new BcSessionKeyDataDecryptorFactory(sessionKey);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PGPObjectFactory getPGPObjectFactory(byte[] bytes) {
|
||||
return new BcPGPObjectFactory(bytes);
|
||||
|
|
|
@ -118,8 +118,6 @@ public abstract class ImplementationFactory {
|
|||
HashAlgorithm hashAlgorithm, int s2kCount,
|
||||
Passphrase passphrase) throws PGPException;
|
||||
|
||||
public abstract SessionKeyDataDecryptorFactory provideSessionKeyDataDecryptorFactory(PGPSessionKey sessionKey);
|
||||
|
||||
public abstract PGPObjectFactory getPGPObjectFactory(InputStream inputStream);
|
||||
|
||||
public abstract PGPObjectFactory getPGPObjectFactory(byte[] bytes);
|
||||
|
|
|
@ -137,11 +137,6 @@ public class JceImplementationFactory extends ImplementationFactory {
|
|||
.build(passphrase.getChars());
|
||||
}
|
||||
|
||||
@Override
|
||||
public SessionKeyDataDecryptorFactory provideSessionKeyDataDecryptorFactory(PGPSessionKey sessionKey) {
|
||||
return new JceSessionKeyDataDecryptorFactoryBuilder().build(sessionKey);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PGPObjectFactory getPGPObjectFactory(InputStream inputStream) {
|
||||
return new JcaPGPObjectFactory(inputStream);
|
||||
|
|
Loading…
Reference in a new issue