(self, msg, t="pkcs", h="sha256", mgf=None, L=None)
| 475 | self.fill_and_store(modulus=modulus, pubExp=pubExp) |
| 476 | |
| 477 | def encrypt(self, msg, t="pkcs", h="sha256", mgf=None, L=None): |
| 478 | # no ECDSA encryption support, hence no ECDSA specific keywords here |
| 479 | return _EncryptAndVerifyRSA.encrypt(self, msg, t=t, h=h, mgf=mgf, L=L) |
| 480 | |
| 481 | def verify(self, msg, sig, t="pkcs", h="sha256", mgf=None, L=None): |
| 482 | return _EncryptAndVerifyRSA.verify(self, msg, sig, t=t, h=h, mgf=mgf, L=L) |