| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile SoftReference | |
| private static final Debug | |
| private final Set | |
| private static final String | |
| private static final Set |
| Access | Constructor and Description |
|---|---|
| pack-priv | CryptoAlgorithmConstraints(String
the security property name that define the disabled
algorithm constraints propertyName)Initialize algorithm constraints with the specified security property
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private static void | |
| public static boolean | |
| public final boolean | permits(Set<CryptoPrimitive> notUsed1, String serviceDesc, AlgorithmParameters notUsed2)
Implements java. Determines whether an algorithm is granted permission for the specified cryptographic primitives. |
| public final boolean | permits(Set<CryptoPrimitive> primitives, Key key)
Implements java. Determines whether a key is granted permission for the specified cryptographic primitives. |
| public final boolean | permits(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters)
Implements java. Determines whether an algorithm and the corresponding key are granted permission for the specified cryptographic primitives. |
| cacheRef | back to summary |
|---|---|
| private volatile SoftReference<Map<String, Boolean>> cacheRef | |
| debug | back to summary |
|---|---|
| private static final Debug debug | |
| disabledServices | back to summary |
|---|---|
| private final Set<String> disabledServices | |
| PROPERTY_CRYPTO_DISABLED_ALGS | back to summary |
|---|---|
| private static final String PROPERTY_CRYPTO_DISABLED_ALGS | |
| SUPPORTED_SERVICES | back to summary |
|---|---|
| private static final Set<String> SUPPORTED_SERVICES | |
| CryptoAlgorithmConstraints | back to summary |
|---|---|
| pack-priv CryptoAlgorithmConstraints(String propertyName) Initialize algorithm constraints with the specified security property
| |
| cachedCheckAlgorithm | back to summary |
|---|---|
| private boolean cachedCheckAlgorithm(String serviceDesc) | |
| debug | back to summary |
|---|---|
| private static void debug(String msg) | |
| permits | back to summary |
|---|---|
| public static boolean permits(String service, String algo) | |
| permits | back to summary |
|---|---|
| public final boolean permits(Set<CryptoPrimitive> notUsed1, String serviceDesc, AlgorithmParameters notUsed2) Implements java. Doc from java. Determines whether an algorithm is granted permission for the specified cryptographic primitives.
| |
| permits | back to summary |
|---|---|
| public final boolean permits(Set<CryptoPrimitive> primitives, Key key) Implements java. Doc from java. Determines whether a key is granted permission for the specified cryptographic primitives. This method is usually used to check key size and key usage.
| |
| permits | back to summary |
|---|---|
| public final boolean permits(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters) Implements java. Doc from java. Determines whether an algorithm and the corresponding key are granted permission for the specified cryptographic primitives.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final CryptoAlgorithmConstraints |
| Access | Constructor and Description |
|---|---|
| private |
| CONSTRAINTS | back to summary |
|---|---|
| pack-priv static final CryptoAlgorithmConstraints CONSTRAINTS | |
| CryptoHolder | back to summary |
|---|---|
| private CryptoHolder() | |