diff --git a/src/main/java/com/box/sdk/JWTEncryptionPreferences.java b/src/main/java/com/box/sdk/JWTEncryptionPreferences.java index 63e34cdc2..9fcdf1c2c 100644 --- a/src/main/java/com/box/sdk/JWTEncryptionPreferences.java +++ b/src/main/java/com/box/sdk/JWTEncryptionPreferences.java @@ -14,7 +14,7 @@ public class JWTEncryptionPreferences { private EncryptionAlgorithm encryptionAlgorithm; private IPrivateKeyDecryptor privateKeyDecryptor = new BCPrivateKeyDecryptor(); - static { + public JWTEncryptionPreferences() { Security.addProvider(new BouncyCastleProvider()); }