added code checking for x509 extension 'keyUsage' and valide a value contains 'Digital Signature'