@ Override public void check ( Certificate cert , Collection < String > unresolvedCritExts ) throws CertPathValidatorException { RevocationStatus status ; try { status = verifier . checkRevocationStatus ( ( X509Certificate ) cert , nextIssuer ( ) ) ; if ( LOG . isInfoEnabled ( ) ) { LOG . info ( "Certificate status is: {}" , status . getMessage ( ) ) ; } if ( status != RevocationStatus . GOOD ) { throw new CertPathValidatorException ( "Revocation Status is Not Good" ) ; } } catch ( CertificateVerificationException e ) { throw new CertPathValidatorException ( e ) ; } }
Used by CertPathValidator to pass the certificates one by one from the certificate chain .