setProvider in JcePGPSessionKeyDataDecryptorFactory factory method

This commit is contained in:
Paul Schaub 2023-05-08 15:48:47 +02:00
parent ef440be8ec
commit 49a3e0f78c
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ public class JceImplementationFactory extends ImplementationFactory {
@Override
public SessionKeyDataDecryptorFactory getSessionKeyDataDecryptorFactory(PGPSessionKey sessionKey) {
return new JceSessionKeyDataDecryptorFactoryBuilder()
.setProvider(ProviderFactory.getProvider())
.build(sessionKey);
}