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

Method verify

scapy/layers/tls/cert.py:1657–1663  ·  view source on GitHub ↗

Verify that a certificate is properly signed.

(self, cert)

Source from the content-addressed store, hash-verified

1655 return None
1656
1657 def verify(self, cert):
1658 """
1659 Verify that a certificate is properly signed.
1660 """
1661 # Check that we can find a chain to this certificate
1662 if not self.getchain(cert):
1663 raise ValueError("Certificate verification failed !")
1664
1665 def show(self, ret: bool = False):
1666 """

Callers 1

verifyMethod · 0.95

Calls 1

getchainMethod · 0.95

Tested by

no test coverage detected