Package de.mtg.jzlint.lints.rfc
Class NameConstraintOnEdiPartyName
java.lang.Object
de.mtg.jzlint.lints.rfc.NameConstraintOnEdiPartyName
- All Implemented Interfaces:
JavaLint
RFC 5280: 4.2.1.10
Restrictions are defined in terms of permitted or excluded name
subtrees. Any name matching a restriction in the excludedSubtrees
field is invalid regardless of information appearing in the
permittedSubtrees. Conforming CAs MUST mark this extension as
critical and SHOULD NOT impose name constraints on the x400Address,
ediPartyName, or registeredID name forms. Conforming CAs MUST NOT
issue certificates where name constraints is an empty sequence. That
is, either the permittedSubtrees field or the excludedSubtrees MUST
be present.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckApplies(X509Certificate certificate) execute(X509Certificate certificate) protected static LintResultnameConstraintsHaveBaseWithTag(X509Certificate certificate, int tagNumber)
-
Constructor Details
-
NameConstraintOnEdiPartyName
public NameConstraintOnEdiPartyName()
-
-
Method Details
-
execute
-
checkApplies
- Specified by:
checkAppliesin interfaceJavaLint
-
nameConstraintsHaveBaseWithTag
protected static LintResult nameConstraintsHaveBaseWithTag(X509Certificate certificate, int tagNumber)
-