':py:obj:`X509.digest` returns a string giving ":"-separated hex-encoded words
of the digest of the certificate.'

def test_digest(self):

    cert = X509()
    self.assertEqual(cert.digest('MD5'), b('A8:EB:07:F8:53:25:0A:F2:56:05:C5:A5:C4:C4:C7:15'))
