Exemplo n.º 1
0
Arquivo: cert.py Projeto: qbsonn/scapy
 def encrypt(self, msg, t="pkcs", h="sha256", mgf=None, L=None):
     # no ECDSA encryption support, hence no ECDSA specific keywords here
     return _EncryptAndVerifyRSA.encrypt(self, msg, t, h, mgf, L)
Exemplo n.º 2
0
Arquivo: cert.py Projeto: 6WIND/scapy
 def encrypt(self, msg, t="pkcs", h="sha256", mgf=None, L=None):
     # no ECDSA encryption support, hence no ECDSA specific keywords here
     return _EncryptAndVerifyRSA.encrypt(self, msg, t, h, mgf, L)
Exemplo n.º 3
0
 def encrypt(self, msg, t=None, h=None, mgf=None, L=None):
     # no ECDSA encryption support, hence no ECDSA specific keywords here
     return _EncryptAndVerifyRSA.encrypt(self, msg, t=t, h=h, mgf=mgf, L=L)
Exemplo n.º 4
0
 def encrypt(self, msg, t=None, h=None, mgf=None, L=None):
     # no ECDSA encryption support, hence no ECDSA specific keywords here
     return _EncryptAndVerifyRSA.encrypt(self, msg, t=t, h=h, mgf=mgf, L=L)