Package org.bouncycastle.asn1.x509

## Interface NameConstraintValidator

- All Known Implementing Classes:
    `PKIXNameConstraintValidator`

      public interface NameConstraintValidator

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addExcludedSubtree​(GeneralSubtree subtree)` |
    `void` | `checkExcluded​(GeneralName name)` |
    `void` | `checkPermitted​(GeneralName name)` |
    `void` | `intersectEmptyPermittedSubtree​(int nameType)` |
    `void` | `intersectPermittedSubtree​(GeneralSubtree permitted)` |
    `void` | `intersectPermittedSubtree​(GeneralSubtree[] permitted)` |

- - ### Method Detail

    - #### checkPermitted

          void checkPermitted​(GeneralName name)
                       throws NameConstraintValidatorException

      Throws:
        `NameConstraintValidatorException`

    - #### checkExcluded

          void checkExcluded​(GeneralName name)
                      throws NameConstraintValidatorException

      Throws:
        `NameConstraintValidatorException`

    - #### intersectPermittedSubtree

          void intersectPermittedSubtree​(GeneralSubtree permitted)

    - #### intersectPermittedSubtree

          void intersectPermittedSubtree​(GeneralSubtree[] permitted)

    - #### intersectEmptyPermittedSubtree

          void intersectEmptyPermittedSubtree​(int nameType)

    - #### addExcludedSubtree

          void addExcludedSubtree​(GeneralSubtree subtree)