Home
last modified time | relevance | path

Searched refs:UTCTime (Results 1 – 16 of 16) sorted by relevance

/external/python/pyasn1/tests/type/
Dtest_useful.py104 …assert useful.UTCTime.fromDateTime(datetime.datetime(2017, 7, 11, 0, 1, 2, tzinfo=UTC)) == '170711…
107 assert datetime.datetime(2017, 7, 11, 0, 1, 2) == useful.UTCTime('170711000102').asDateTime
110 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, tzinfo=UTC) == useful.UTCTime('170711000102Z').asDa…
113 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, tzinfo=UTC) == useful.UTCTime('170711000102+0000').…
116 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, tzinfo=UTC2) == useful.UTCTime('170711000102+0200')…
119 assert datetime.datetime(2017, 7, 11, 0, 1) == useful.UTCTime('1707110001').asDateTime
125 old_asn1 = useful.UTCTime()
129 assert type(new_asn1) == useful.UTCTime
133 old_asn1 = useful.UTCTime("170711000102")
/external/python/pyasn1/docs/source/pyasn1/type/useful/
Dutctime.rst2 .. _useful.UTCTime:
4 .. |ASN.1| replace:: UTCTime
11 .. autoclass:: pyasn1.type.useful.UTCTime(value=NoValue(), tagSet=TagSet(), subtypeSpec=Constraints…
18 Formal syntax for the *UTCTime* value is:
33 ….. automethod:: pyasn1.type.useful.UTCTime.clone(self, value=NoValue(), tagSet=TagSet(), subtypeSp…
34 ….. automethod:: pyasn1.type.useful.UTCTime.subtype(self, value=NoValue(), implicitTag=TagSet(), ex…
/external/python/pyasn1-modules/pyasn1_modules/
Drfc2315.py188 namedtype.NamedType('revocationDate', useful.UTCTime())
196 namedtype.NamedType('lastUpdate', useful.UTCTime()),
197 namedtype.NamedType('nextUpdate', useful.UTCTime()),
Drfc5652.py620 namedtype.NamedType('utcTime', useful.UTCTime()),
Drfc3852.py613 namedtype.NamedType('utcTime', useful.UTCTime()),
Drfc2459.py1212 namedtype.NamedType('utcTime', useful.UTCTime()),
Drfc5280.py295 namedtype.NamedType('utcTime', useful.UTCTime()),
Drfc3280.py177 namedtype.NamedType('utcTime', useful.UTCTime()),
/external/python/pyasn1/tests/codec/cer/
Dtest_encoder.py117 useful.UTCTime('150501120112.10Z')
127 useful.UTCTime('150501120112')
137 useful.UTCTime('150501120112+0200')
146 useful.UTCTime('990801120112Z')
151 useful.UTCTime('9908011201Z')
/external/python/pyasn1/pyasn1/codec/cer/
Dencoder.py225 useful.UTCTime.tagSet: UTCTimeEncoder(),
236 useful.UTCTime.typeId: UTCTimeEncoder(),
/external/python/pyasn1/pyasn1/codec/native/
Ddecoder.py92 useful.UTCTime.tagSet: AbstractScalarDecoder()
127 useful.UTCTime.typeId: AbstractScalarDecoder()
Dencoder.py132 useful.UTCTime.tagSet: OctetStringEncoder()
/external/python/pyasn1/pyasn1/type/
Duseful.py177 class UTCTime(char.VisibleString, TimeMixIn): class
/external/python/pyasn1/pyasn1/codec/ber/
Dencoder.py564 useful.UTCTime.tagSet: OctetStringEncoder()
599 useful.UTCTime.typeId: OctetStringEncoder()
Ddecoder.py983 protoComponent = useful.UTCTime()
1013 useful.UTCTime.tagSet: UTCTimeDecoder()
/external/python/pyasn1/
DCHANGES.rst118 - Fixed GeneralizedTime/UTCTime CER/DER codecs to actually get invoked
174 - The GeneralizedTime and UTCTime types now support to/from Python
333 - More strict CER/DER encoders added for GeneralizedTime and UTCTime types.