public class CryptoRuntime extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BOUNCY_CASTLE_PROVIDER |
Constructor and Description |
---|
CryptoRuntime() |
Modifier and Type | Method and Description |
---|---|
static void |
enableBouncyCastle() |
static boolean |
isAesGcmAvailable() |
static boolean |
isBouncyCastleAvailable() |
static boolean |
isRsaKeyWrapAvailable() |
static boolean |
preferDefaultSecurityProvider() |
static void |
recheck()
Used only for unit test when the same class loader is used across
multiple unit tests.
|
static void |
recheckAesGcmAvailablility() |
public static final String BOUNCY_CASTLE_PROVIDER
public static boolean preferDefaultSecurityProvider()
com.ibm.cloud.objectstorage.services.s3.crypto.preferDefaultSecurityProvider
system property
parsed as a boolean or false if the property is unset.public static boolean isBouncyCastleAvailable()
public static void enableBouncyCastle()
public static void recheck()
public static boolean isAesGcmAvailable()
public static void recheckAesGcmAvailablility()
public static boolean isRsaKeyWrapAvailable()
Copyright © 2024. All rights reserved.