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

Method verify

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

Source from the content-addressed store, hash-verified

814 )
815
816 def verify(self, msg, sig, t="pkcs", h="sha256", mgf=None, L=None):
817 return self.pubkey.verify(
818 msg=msg,
819 sig=sig,
820 t=t,
821 h=h,
822 mgf=mgf,
823 L=L,
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)

Callers

nothing calls this directly

Calls 1

verifyMethod · 0.45

Tested by

no test coverage detected