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

Class ZuluTime

scapy/volatile.py:1333–1341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1331
1332
1333class ZuluTime(_AutoTime[str]):
1334 def __init__(self, diff=0):
1335 # type: (int) -> None
1336 super(ZuluTime, self).__init__(diff=diff)
1337
1338 def _fix(self):
1339 # type: () -> str
1340 return time.strftime("%y%m%d%H%M%SZ",
1341 time.gmtime(time.time() + self.diff))
1342
1343
1344class GeneralizedTime(_AutoTime[str]):

Callers 4

X509_ValidityClass · 0.90
X509_TBSCertListClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…