def verify(self, hash, sig):
    'Verify a DER signature'
    return (ssl.AMBKSA_verify(0, hash, len(hash), sig, len(sig), self.k) == 1)
Verify a DER signature
def verify(self, hash, sig):
    
    return (ssl.AMBKSA_verify(0, hash, len(hash), sig, len(sig), self.k) == 1)