示例#1
0
文件: cert.py 项目: 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)
示例#2
0
文件: cert.py 项目: 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)
示例#3
0
文件: cert.py 项目: gta-ufrj/catraca
 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)
示例#4
0
文件: cert.py 项目: NamiStudio/scapy
 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)