APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.provider.certpath

public Class CertPathConstraintsParameters

extends Object
implements ConstraintsParameters
Class Inheritance
All Implemented Interfaces
sun.security.util.ConstraintsParameters
Imports
java.security.Key, java.security.cert.TrustAnchor, .X509Certificate, java.util.Date, .Set, sun.security.util.ConstraintsParameters, sun.security.validator.Validator

This class contains parameters for checking certificates against constraints specified in the jdk.certpath.disabledAlgorithms security property.

Field Summary

Modifier and TypeField and Description
private final TrustAnchor
private final X509Certificate
private final Date
private final Key
private final String

Constructor Summary

AccessConstructor and Description
public
public
private

Method Summary

Modifier and TypeMethod and Description
public boolean
anchorIsJdkCA()

Implements sun.security.util.ConstraintsParameters.anchorIsJdkCA.

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

public String
extendedExceptionMsg()

Implements sun.security.util.ConstraintsParameters.extendedExceptionMsg.

Returns an extended message used in exceptions.

public Date
getDate()

Implements sun.security.util.ConstraintsParameters.getDate.

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

public Set<Key>
getKeys()

Implements sun.security.util.ConstraintsParameters.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()

Implements sun.security.util.ConstraintsParameters.getVariant.

Returns the Validator variant.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

anchorback to summary
private final TrustAnchor anchor
certback to summary
private final X509Certificate cert
dateback to summary
private final Date date
keyback to summary
private final Key key
variantback to summary
private final String variant

Constructor Detail

CertPathConstraintsParametersback to summary
public CertPathConstraintsParameters(X509Certificate cert, String variant, TrustAnchor anchor, Date date)
CertPathConstraintsParametersback to summary
public CertPathConstraintsParameters(Key key, String variant, TrustAnchor anchor, Date date)
CertPathConstraintsParametersback to summary
private CertPathConstraintsParameters(Key key, String variant, TrustAnchor anchor, Date date, X509Certificate cert)

Method Detail

anchorIsJdkCAback to summary
public boolean anchorIsJdkCA()

Implements sun.security.util.ConstraintsParameters.anchorIsJdkCA.

Doc from sun.security.util.ConstraintsParameters.anchorIsJdkCA.

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

Annotations
@Override
extendedExceptionMsgback to summary
public String extendedExceptionMsg()

Implements sun.security.util.ConstraintsParameters.extendedExceptionMsg.

Doc from sun.security.util.ConstraintsParameters.extendedExceptionMsg.

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

Annotations
@Override
getDateback to summary
public Date getDate()

Implements sun.security.util.ConstraintsParameters.getDate.

Doc from sun.security.util.ConstraintsParameters.getDate.

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

Annotations
@Override
getKeysback to summary
public Set<Key> getKeys()

Implements sun.security.util.ConstraintsParameters.getKeys.

Doc from sun.security.util.ConstraintsParameters.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.

Annotations
@Override
getVariantback to summary
public String getVariant()

Implements sun.security.util.ConstraintsParameters.getVariant.

Doc from sun.security.util.ConstraintsParameters.getVariant.

Returns the Validator variant.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override