MCPcopy Index your code
hub / github.com/secdev/scapy / X509_ExtPrivateKeyUsagePeriod

Class X509_ExtPrivateKeyUsagePeriod

scapy/layers/x509.py:547–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545
546
547class X509_ExtPrivateKeyUsagePeriod(ASN1_Packet):
548 ASN1_codec = ASN1_Codecs.BER
549 ASN1_root = ASN1F_SEQUENCE(
550 ASN1F_optional(
551 ASN1F_GENERALIZED_TIME("notBefore",
552 str(GeneralizedTime(-600)),
553 implicit_tag=0x80)),
554 ASN1F_optional(
555 ASN1F_GENERALIZED_TIME("notAfter",
556 str(GeneralizedTime(+86400)),
557 implicit_tag=0x81)))
558
559
560class X509_PolicyMapping(ASN1_Packet):

Callers

nothing calls this directly

Calls 4

ASN1F_SEQUENCEClass · 0.90
ASN1F_optionalClass · 0.90
GeneralizedTimeClass · 0.90

Tested by

no test coverage detected