NameConstraintValidator (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.asn1.x509

## Interface NameConstraintValidator

- All Known Implementing Classes:
    PKIXNameConstraintValidator

      public interface NameConstraintValidator

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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)