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

bug in doc of class PKIXCertPathBuilderResult and PKIXCertPathValidatorResult

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.0
    • docs
    • sparc
    • solaris_8

      issue 1: In the class java.security.cert.PKIXCertPathBuilderResult, the following sentence is not true.

      Instances of PKIXCertPathBuilderResult are returned by the build method of CertPathBuilder objects implementing the PKIX algorithm.

      Actaully the build method of CertPathBuilder objects implementing the PKIX algorithm returns instance of interface CertPathbuilderResult. One can not obtain an instance of PKIXCertPathBuilderResult by build method.

      Issue 2: In the class java.security.cert.PKIXCertPathValidatorResult, the following sentence is not true.

      Instances of PKIXCertPathValidatorResult are returned by the validate method of
      CertPathValidator objects implementing the PKIX algorithm.

      Actaully the validate method of CertPathBuilder objects implementing the PKIX algorithm returns instance of interface CertPathValidateResult. One can not obtain an instance of PKIXCertPathValidatorResult by validate method.

            ahumlsunw Alison Huml (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: