X500Name.constrains

Return constraint type:<ul> <li>NAME_DIFF_TYPE = -1: input name is different type from this name (i.e. does not constrain) <li>NAME_MATCH = 0: input name matches this name <li>NAME_NARROWS = 1: input name narrows this name <li>NAME_WIDENS = 2: input name widens this name <li>NAME_SAME_TYPE = 3: input name does not match or narrow this name, & but is same type </ul>. These results are used in checking NameConstraints during certification path verification.

@param inputName to be checked for being constrained @returns constraint type above @throws UnsupportedOperationException if name is not exact match, but narrowing and widening are not supported for this name type.

class X500Name
int
constrains

Meta