mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
a6e1cba32b
commit
7a3790855b
@ -612,11 +612,9 @@ public class SecureUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* 强制关闭Bouncy Castle库的使用,全局有效
|
||||
*
|
||||
* @since 4.5.2
|
||||
* 强制关闭自定义{@link Provider}的使用,如Bouncy Castle库,全局有效
|
||||
*/
|
||||
public static void disableBouncyCastle() {
|
||||
public static void disableCustomProvider() {
|
||||
GlobalProviderFactory.setUseCustomProvider(false);
|
||||
}
|
||||
|
||||
|
@ -26,6 +26,7 @@ public class BouncyCastleProviderFactory implements ProviderFactory {
|
||||
|
||||
@Override
|
||||
public Provider create() {
|
||||
|
||||
return new BouncyCastleProvider();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user