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

Add CertificateRevokedException class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 7
    • 6
    • security-libs
    • None
    • b21
    • generic
    • solaris, solaris_9

        ###@###.### 2003-10-30

        It would be useful to add a public java.security.cert.CertificateRevokedException
        class (that extends CertificateException), so programmers could more easily
        determine if a revoked certificate caused a CertPathValidator to fail to validate
        a path, ex:

        try {
           CertPath cp = CertPathValidator.validate(path, params);
        } catch (CertPathValidatorException cpve) {
           if (cpve.getCause() instanceof CertificateRevokedException) {
        System.out.println("certificate " + cpve.getIndex() + " is revoked");
           }
        }

              mullan Sean Mullan
              mullan Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: