Class SingleEmailIfPresent

java.lang.Object
de.mtg.jzlint.lints.cabf_smime_br.SingleEmailIfPresent
All Implemented Interfaces:
JavaLint

public class SingleEmailIfPresent extends Object implements JavaLint
7.1.4.2.1 Subject alternative name extension All Mailbox Addresses in the subject field or entries of type dirName of this extension SHALL be repeated as rfc822Name or otherName values of type id-on-SmtpUTF8Mailbox in this extension. 7.1.4.2.2 Subject distinguished name fields h. Certificate Field: subject:emailAddress (1.2.840.113549.1.9.1) Contents: If present, the subject:emailAddress SHALL contain a single Mailbox Address as verified under Section 3.2.2. Combining these requirements, this lint checks for malformed email addresses in SAN entries covering the case of a non-single Mailbox Address.