Class PKIXNameConstraintValidator


  • public class PKIXNameConstraintValidator
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addExcludedSubtree​(org.bouncycastle.asn1.x509.GeneralSubtree subtree)
      Adds a subtree to the excluded set of these name constraints.
      void checkExcluded​(org.bouncycastle.asn1.x509.GeneralName name)
      Check if the given GeneralName is contained in the excluded set.
      void checkExcludedDN​(org.bouncycastle.asn1.ASN1Sequence dns)  
      void checkPermitted​(org.bouncycastle.asn1.x509.GeneralName name)
      Checks if the given GeneralName is in the permitted set.
      void checkPermittedDN​(org.bouncycastle.asn1.ASN1Sequence dns)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      void intersectEmptyPermittedSubtree​(int nameType)  
      void intersectPermittedSubtree​(org.bouncycastle.asn1.x509.GeneralSubtree permitted)  
      void intersectPermittedSubtree​(org.bouncycastle.asn1.x509.GeneralSubtree[] permitted)
      Updates the permitted set of these name constraints with the intersection with the given subtree.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PKIXNameConstraintValidator

        public PKIXNameConstraintValidator()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • intersectPermittedSubtree

        public void intersectPermittedSubtree​(org.bouncycastle.asn1.x509.GeneralSubtree permitted)
      • intersectPermittedSubtree

        public void intersectPermittedSubtree​(org.bouncycastle.asn1.x509.GeneralSubtree[] permitted)
        Updates the permitted set of these name constraints with the intersection with the given subtree.
        Parameters:
        permitted - The permitted subtrees
      • intersectEmptyPermittedSubtree

        public void intersectEmptyPermittedSubtree​(int nameType)
      • addExcludedSubtree

        public void addExcludedSubtree​(org.bouncycastle.asn1.x509.GeneralSubtree subtree)
        Adds a subtree to the excluded set of these name constraints.
        Parameters:
        subtree - A subtree with an excluded GeneralName.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object