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

Method verify

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

Source from the content-addressed store, hash-verified

1027 return self.pubkey.encrypt(msg, t=t, h=h, mgf=mgf, L=L)
1028
1029 def verify(self, msg, sig, t="pkcs", h="sha256", mgf=None, L=None):
1030 return self.pubkey.verify(msg, sig, t=t, h=h, mgf=mgf, L=L)
1031
1032 def getSignatureHash(self):
1033 """

Callers

nothing calls this directly

Calls 1

verifyMethod · 0.45

Tested by

no test coverage detected