@classmethod
def _verify_certificate(cls, cert):
    """Verify that certificate is unexpired, has valid common name and is trustworthy
        """
    if cls._verify_certificate_chain(cert) and cls._is_common_name_valid(cert
        ) and not cert.has_expired():
        return True
    else:
        return False
