Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4458951

PKIX CertPathValidator & Builder should throw exc if TrustAnchor has name const

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • beta2
    • generic
    • generic

      sun.security.PKIXCertPathValidator.engineValidate should throw an exception if the PKIXParameters parameter includes a TrustAnchor with a non-null name constraints parameter. The current behavior is to ignore the non-null name constraints, but the proper behavior is to respect the name constraints or throw an exception if this feature is requested and not support. Otherwise, the intent of the application is being violated without notifying it.

      Few people are likely to use name constraints with trust anchors, so this is probably not too serious.

            mullan Sean Mullan
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: