Add CertificateRevokedException class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 7
    • Affects Version/s: 6
    • Component/s: 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");
           }
        }

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: