Package de.mtg.jzlint.lints.rfc
Class PathLenConstraintZeroOrLess
java.lang.Object
de.mtg.jzlint.lints.rfc.PathLenConstraintZeroOrLess
- All Implemented Interfaces:
JavaLint
The pathLenConstraint field is meaningful only if the cA boolean is
asserted and the key usage extension, if present, asserts the
keyCertSign bit (Section 4.2.1.3). In this case, it gives the
maximum number of non-self-issued intermediate certificates that may
follow this certificate in a valid certification path. (Note: The
last certificate in the certification path is not an intermediate
certificate, and is not included in this limit. Usually, the last
certificate is an end entity certificate, but it can be a CA
certificate.) A pathLenConstraint of zero indicates that no non-
self-issued intermediate CA certificates may follow in a valid
certification path. Where it appears, the pathLenConstraint field
MUST be greater than or equal to zero. Where pathLenConstraint does
not appear, no limit is imposed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckApplies(X509Certificate certificate) execute(X509Certificate certificate)
-
Constructor Details
-
PathLenConstraintZeroOrLess
public PathLenConstraintZeroOrLess()
-
-
Method Details
-
execute
-
checkApplies
- Specified by:
checkAppliesin interfaceJavaLint
-