public class CertPathConstraintsParameters extends java.lang.Object implements ConstraintsParameters
| Constructor and Description |
|---|
CertPathConstraintsParameters(java.security.Key key,
java.lang.String variant,
java.security.cert.TrustAnchor anchor,
java.util.Date date) |
CertPathConstraintsParameters(java.security.cert.X509Certificate cert,
java.lang.String variant,
java.security.cert.TrustAnchor anchor,
java.util.Date date) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
anchorIsJdkCA()
Returns true if a certificate chains back to a trusted JDK root CA.
|
java.lang.String |
extendedExceptionMsg()
Returns an extended message used in exceptions.
|
java.util.Date |
getDate()
Returns the date that should be checked against the constraints, or
null if not set.
|
java.util.Set<java.security.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.
|
java.lang.String |
getVariant()
Returns the Validator variant.
|
java.lang.String |
toString() |
public CertPathConstraintsParameters(java.security.cert.X509Certificate cert,
java.lang.String variant,
java.security.cert.TrustAnchor anchor,
java.util.Date date)
public CertPathConstraintsParameters(java.security.Key key,
java.lang.String variant,
java.security.cert.TrustAnchor anchor,
java.util.Date date)
public boolean anchorIsJdkCA()
ConstraintsParametersanchorIsJdkCA in interface ConstraintsParameterspublic java.util.Set<java.security.Key> getKeys()
ConstraintsParametersgetKeys in interface ConstraintsParameterspublic java.util.Date getDate()
ConstraintsParametersgetDate in interface ConstraintsParameterspublic java.lang.String getVariant()
ConstraintsParametersgetVariant in interface ConstraintsParameterspublic java.lang.String extendedExceptionMsg()
ConstraintsParametersextendedExceptionMsg in interface ConstraintsParameterspublic java.lang.String toString()
toString in class java.lang.Object