MCPcopy Create free account
hub / github.com/secdev/scapy / sign

Method sign

scapy/layers/tls/cert.py:826–827  ·  view source on GitHub ↗
(self, data, t="pkcs", h="sha256", mgf=None, L=None)

Source from the content-addressed store, hash-verified

824 )
825
826 def sign(self, data, t="pkcs", h="sha256", mgf=None, L=None):
827 return _DecryptAndSignRSA.sign(self, data, t=t, h=h, mgf=mgf, L=L)
828
829
830class PrivKeyECDSA(PrivKey):

Callers

nothing calls this directly

Calls 1

signMethod · 0.45

Tested by

no test coverage detected