APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.security.util

public Class DisabledAlgorithmConstraints

extends AbstractAlgorithmConstraints
Class Inheritance
Imports
sun.security.ssl.SSLScope, sun.security.validator.Validator, java.lang.ref.SoftReference, java.security.AlgorithmParameters, .CryptoPrimitive, .Key, java.security.cert.CertPathValidatorException, .CertPathValidatorException.BasicReason, java.security.interfaces.ECKey, java.security.spec.AlgorithmParameterSpec, .InvalidParameterSpecException, .MGF1ParameterSpec, .PSSParameterSpec, java.time.DateTimeException, .Instant, .ZoneId, .ZonedDateTime, java.util.ArrayList, .Collection, .Collections, .HashMap, .HashSet, .List, .Locale, .Map, .Set, .StringTokenizer, java.util.concurrent.ConcurrentHashMap, java.util.regex.Matcher, .Pattern

Algorithm constraints for disabled algorithms property See the "jdk.certpath.disabledAlgorithms" specification in java.security for the syntax of the disabled algorithm string.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private abstract static class
DisabledAlgorithmConstraints.Constraint

This abstract Constraint class for algorithm-based checking may contain one or more constraints.

private static class
DisabledAlgorithmConstraints.Constraints

Key and Certificate Constraints When passing a Key to permit(), the boolean return values follow the same as the interface class AlgorithmConstraints.permit().

private static class
private static class
private static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private final DisabledAlgorithmConstraints.Constraints
private volatile SoftReference<Map<String, Boolean>>
private static final Debug
private final Set<String>
private final List<Pattern>
private static final Pattern
public static final String
private static final String
public static final String
public static final String
public static final String
Inherited from sun.security.util.AbstractAlgorithmConstraints:
decomposer

Constructor Summary

AccessConstructor and Description
public
DisabledAlgorithmConstraints(String
the security property name that define the disabled algorithm constraints
propertyName
)

Initialize algorithm constraints with the specified security property.

public
DisabledAlgorithmConstraints(String
the security property name that define the disabled algorithm constraints
propertyName
,
AlgorithmDecomposer
an alternate AlgorithmDecomposer.
decomposer
)

Initialize algorithm constraints with the specified security property for a specific usage type.

Method Summary

Modifier and TypeMethod and Description
private boolean
public static DisabledAlgorithmConstraints
private boolean
checkConstraints(Set<CryptoPrimitive> primitives, String algorithm, Key key, AlgorithmParameters parameters)

private boolean
checkDisabledPatterns(final String algorithm)

private List<Pattern>
private static List<String>
public static DisabledAlgorithmConstraints
public final boolean
permits(Set<CryptoPrimitive> primitives, String algorithm, AlgorithmParameters parameters)

Implements java.security.AlgorithmConstraints.permits.

Determines whether an algorithm is granted permission for the specified cryptographic primitives.

public boolean
permits(String algorithm, Set<SSLScope> scopes)

public final boolean
permits(Set<CryptoPrimitive> primitives, Key key)

Implements java.security.AlgorithmConstraints.permits.

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.security.AlgorithmConstraints.permits.

Determines whether an algorithm and the corresponding key are granted permission for the specified cryptographic primitives.

public final void
permits(String algorithm, AlgorithmParameters ap, ConstraintsParameters cp, boolean checkKey)

public void
public final void
permits(String algorithm, ConstraintsParameters cp, boolean checkKey)

private void
Inherited from sun.security.util.AbstractAlgorithmConstraints:
checkAlgorithmgetAlgorithmsgetAlgorithms