def VerifyCertSignedByCA(self, cert):
    """Verify that a client cert was signed by the required CA cert.

    Args:
      cert: certificate object, client cert to verify
    Returns:
      True or False
    """
    ca_cert = self.LoadOtherCert(self._ca_pem)
    try:
      return cert.IsSignedBy(ca_cert)
    except (x509.Error, __HOLE__), e:
      logging.exception(str(e))
      raise CryptoError(
          'VerifyCertSignedByCA: IsSignedBy: %s' % str(e))
dataset/ETHPy150Open google/simian/src/simian/auth/base.py/Auth1.VerifyCertSignedByCA