@ Override public void check ( Certificate cert , Collection < String > unresCritExts ) throws CertPathValidatorException { // now do the policy checks checkPolicy ( ( X509Certificate ) cert ) ; if ( unresCritExts != null && ! unresCritExts . isEmpty ( ) ) { unresCritExts . remove ( CertificatePolicies_Id . toString ( ) ) ; unresCritExts . remove ( PolicyMappings_Id . toString ( ) ) ; unresCritExts . remove ( PolicyConstraints_Id . toString ( ) ) ; unresCritExts . remove ( InhibitAnyPolicy_Id . toString ( ) ) ; } }
Performs the policy processing checks on the certificate using its internal state .