Home | History | Annotate | Download | only in x509
      1 package org.bouncycastle.asn1.x509;
      2 
      3 public interface NameConstraintValidator
      4 {
      5     void checkPermitted(GeneralName name)
      6         throws NameConstraintValidatorException;
      7 
      8     void checkExcluded(GeneralName name)
      9             throws NameConstraintValidatorException;
     10 
     11     void intersectPermittedSubtree(GeneralSubtree permitted);
     12 
     13     void intersectPermittedSubtree(GeneralSubtree[] permitted);
     14 
     15     void intersectEmptyPermittedSubtree(int nameType);
     16 
     17     void addExcludedSubtree(GeneralSubtree subtree);
     18 }
     19