APIdia Launch Partner
Top Description Methods
sun.security.util

public Interface ConstraintsParameters

Known Direct Implementers
sun.security.util.JarConstraintsParameters, sun.security.tools.keytool.Main.SecretKeyConstraintsParameters, sun.security.provider.certpath.CertPathConstraintsParameters
Imports
java.security.Key, java.util.Date, .Set

This interface contains parameters for checking against constraints that extend past the publicly available parameters in java.security.AlgorithmConstraints.

Method Summary

Modifier and TypeMethod and Description
public boolean
anchorIsJdkCA()

Returns true if a certificate chains back to a trusted JDK root CA.

public String
extendedExceptionMsg()

Returns an extended message used in exceptions.

public Date
getDate()

Returns the date that should be checked against the constraints, or null if not set.

public Set<Key>
getKeys()

Returns the set of keys that should be checked against the constraints, or an empty set if there are no keys to be checked.

public String
getVariant()

Returns the Validator variant.

Method Detail

anchorIsJdkCAback to summary
public boolean anchorIsJdkCA()

Returns true if a certificate chains back to a trusted JDK root CA.

extendedExceptionMsgback to summary
public String extendedExceptionMsg()

Returns an extended message used in exceptions. See DisabledAlgorithmConstraints for usage.

getDateback to summary
public Date getDate()

Returns the date that should be checked against the constraints, or null if not set.

getKeysback to summary
public Set<Key> getKeys()

Returns the set of keys that should be checked against the constraints, or an empty set if there are no keys to be checked.

getVariantback to summary
public String getVariant()

Returns the Validator variant.