GeneralizedTime type¶
-
class
pyasn1.type.useful.
GeneralizedTime
(value=NoValue(), tagSet=TagSet(), subtypeSpec=ConstraintsIntersection(), encoding='us-ascii')¶ Note
The GeneralizedTime type models a character string representing date and time in many different formats. For example, 20170126120000Z stands for YYYYMMDDHHMMSSZ.
-
clone
(self, value=NoValue(), tagSet=TagSet(), subtypeSpec=ConstraintsIntersection(), encoding='us-ascii')¶
-
subtype
(self, value=NoValue(), implicitTag=TagSet(), explicitTag=TagSet(), subtypeSpec=ConstraintsIntersection(), encoding='us-ascii')¶
-
isSuperTypeOf
(other, matchTags=True, matchConstraints=True)¶ Returns true if argument is a ASN1 subtype of ourselves
-