Package de.mtg.jzlint.lints.rfc
Class SubjectEmptyWithoutSan
java.lang.Object
de.mtg.jzlint.lints.rfc.SubjectEmptyWithoutSan
- All Implemented Interfaces:
JavaLint
RFC 5280: 4.2 & 4.2.1.6
Further, if the only subject identity included in the certificate is
an alternative name form (e.g., an electronic mail address), then the
subject distinguished name MUST be empty (an empty sequence), and the
subjectAltName extension MUST be present. If the subject field
contains an empty sequence, then the issuing CA MUST include a
subjectAltName extension that is marked as critical. When including
the subjectAltName extension in a certificate that has a non-empty
subject distinguished name, conforming CAs SHOULD mark the
subjectAltName extension as non-critical.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckApplies(X509Certificate certificate) execute(X509Certificate certificate)
-
Constructor Details
-
SubjectEmptyWithoutSan
public SubjectEmptyWithoutSan()
-
-
Method Details
-
execute
-
checkApplies
- Specified by:
checkAppliesin interfaceJavaLint
-