| Return constraint type:
- NAME_DIFF_TYPE = -1: input name is different type from name (i.e. does not constrain)
- NAME_MATCH = 0: input name matches name
- NAME_NARROWS = 1: input name narrows name
- NAME_WIDENS = 2: input name widens name
- NAME_SAME_TYPE = 3: input name does not match or narrow name, but is same type
. These results are used in checking NameConstraints during
certification path verification.
[RFC2459] When the subjectAltName extension contains an Internet mail address,
the address MUST be included as an rfc822Name. The format of an
rfc822Name is an "addr-spec" as defined in RFC 822 [RFC 822]. An
addr-spec has the form "local-part@domain". Note that an addr-spec
has no phrase (such as a common name) before it, has no comment (text
surrounded in parentheses) after it, and is not surrounded by "<" and
">". Note that while upper and lower case letters are allowed in an
RFC 822 addr-spec, no significance is attached to the case.
Parameters: inputName - to be checked for being constrained throws: UnsupportedOperationException - if name is not exact match, but narrowing and widening arenot supported for this name type. |