Package de.mtg.jzlint.lints.rfc
Class ExtSanNotCriticalWithoutSubject
java.lang.Object
de.mtg.jzlint.lints.rfc.ExtSanNotCriticalWithoutSubject
- All Implemented Interfaces:
JavaLint
RFC 5280: 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
-
ExtSanNotCriticalWithoutSubject
public ExtSanNotCriticalWithoutSubject()
-
-
Method Details
-
execute
-
checkApplies
- Specified by:
checkAppliesin interfaceJavaLint
-