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

Method resignWith

scapy/layers/tls/cert.py:1054–1058  ·  view source on GitHub ↗

Resign a certificate with a specific key

(self, key)

Source from the content-addressed store, hash-verified

1052 raise ValueError("Unknown type 'key', should be PubKey or PrivKey")
1053
1054 def resignWith(self, key):
1055 """
1056 Resign a certificate with a specific key
1057 """
1058 self.import_from_asn1pkt(key.resignCert(self))
1059
1060 def remainingDays(self, now=None):
1061 """

Callers

nothing calls this directly

Calls 2

import_from_asn1pktMethod · 0.95
resignCertMethod · 0.80

Tested by

no test coverage detected