Home
last modified time | relevance | path

Searched refs:GeneralizedTime (Results 1 – 25 of 45) sorted by relevance

12

/external/python/pyasn1/tests/type/
Dtest_useful.py49 …assert useful.GeneralizedTime.fromDateTime(datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UT…
52 …assert datetime.datetime(2017, 7, 11, 0, 1, 2) == useful.GeneralizedTime('20170711000102').asDateT…
55 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, tzinfo=UTC) == useful.GeneralizedTime('201707110001…
58 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC) == useful.GeneralizedTime('201707…
61 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC) == useful.GeneralizedTime('201707…
64 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC) == useful.GeneralizedTime('201707…
67 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC2) == useful.GeneralizedTime('20170…
70 …assert datetime.datetime(2017, 7, 11, 0, 1, 2, 3000, tzinfo=UTC2) == useful.GeneralizedTime('20170…
73 … assert datetime.datetime(2017, 7, 11, 0, 1) == useful.GeneralizedTime('201707110001').asDateTime
76 assert datetime.datetime(2017, 7, 11, 0) == useful.GeneralizedTime('2017071100').asDateTime
[all …]
/external/python/pyasn1/docs/source/pyasn1/type/useful/
Dgeneralizedtime.rst2 .. _useful.GeneralizedTime:
4 .. |ASN.1| replace:: GeneralizedTime
11 .. autoclass:: pyasn1.type.useful.GeneralizedTime(value=NoValue(), tagSet=TagSet(), subtypeSpec=Con…
20 Formal syntax for the *GeneralizedTime* value is:
36 ….. automethod:: pyasn1.type.useful.GeneralizedTime.clone(self, value=NoValue(), tagSet=TagSet(), s…
37 ….. automethod:: pyasn1.type.useful.GeneralizedTime.subtype(self, value=NoValue(), implicitTag=TagS…
/external/python/asn1crypto/asn1crypto/
Docsp.py21 GeneralizedTime,
375 ('revocation_time', GeneralizedTime),
392 ('crl_time', GeneralizedTime, {'explicit': 2, 'optional': True}),
420 'archive_cutoff': GeneralizedTime,
422 'invalidity_date': GeneralizedTime,
436 ('this_update', GeneralizedTime),
437 ('next_update', GeneralizedTime, {'explicit': 0, 'optional': True}),
585 ('produced_at', GeneralizedTime),
Dcms.py43 GeneralizedTime,
123 ('generalized_time', GeneralizedTime),
213 ('not_before_time', GeneralizedTime),
214 ('not_after_time', GeneralizedTime),
725 ('date', GeneralizedTime, {'optional': True}),
761 ('date', GeneralizedTime, {'optional': True}),
932 ('date', GeneralizedTime, {'optional': True}),
Dtsp.py33 GeneralizedTime,
100 ('gen_time', GeneralizedTime),
Dcrl.py20 GeneralizedTime,
155 'invalidity_date': GeneralizedTime,
/external/python/pyasn1-modules/pyasn1_modules/
Drfc2560.py77 class ArchiveCutoff(useful.GeneralizedTime):
87 namedtype.NamedType('revocationTime', useful.GeneralizedTime()),
117 namedtype.NamedType('thisUpdate', useful.GeneralizedTime()),
118 namedtype.OptionalNamedType('nextUpdate', useful.GeneralizedTime().subtype(
147 namedtype.NamedType('producedAt', useful.GeneralizedTime()),
Drfc6486.py50 useful.GeneralizedTime()),
52 useful.GeneralizedTime()),
Drfc6960.py85 namedtype.NamedType('thisUpdate', useful.GeneralizedTime()),
86 namedtype.OptionalNamedType('nextUpdate', useful.GeneralizedTime().subtype(
107 namedtype.NamedType('producedAt', useful.GeneralizedTime()),
182 namedtype.OptionalNamedType('crlTime', useful.GeneralizedTime().subtype(
Drfc6031.py77 class at_pskc_deviceStartDate(useful.GeneralizedTime):
83 class at_pskc_deviceExpiryDate(useful.GeneralizedTime):
252 class at_pskc_keyStartDate(useful.GeneralizedTime):
258 class at_pskc_keyExpiryDate(useful.GeneralizedTime):
Drfc6402.py83 namedtype.NamedType('pendTime', useful.GeneralizedTime())
169 namedtype.OptionalNamedType('time', useful.GeneralizedTime()),
298 namedtype.OptionalNamedType('invalidityDate', useful.GeneralizedTime()),
Drfc3281.py190 namedtype.NamedType('notBeforeTime', useful.GeneralizedTime()),
191 namedtype.NamedType('notAfterTime', useful.GeneralizedTime())
Drfc4210.py341 namedtype.NamedType('willBeRevokedAt', useful.GeneralizedTime()),
342 namedtype.NamedType('badSinceDate', useful.GeneralizedTime()),
727 namedtype.OptionalNamedType('messageTime', useful.GeneralizedTime().subtype(
Drfc2985.py318 dateOfBirth['values'][0] = useful.GeneralizedTime()
550 pkcs_9_at_dateOfBirth: useful.GeneralizedTime(),
Drfc5755.py151 namedtype.NamedType('notBeforeTime', useful.GeneralizedTime()),
152 namedtype.NamedType('notAfterTime', useful.GeneralizedTime())
Drfc3852.py128 namedtype.OptionalNamedType('date', useful.GeneralizedTime()),
192 namedtype.OptionalNamedType('date', useful.GeneralizedTime()),
614 namedtype.NamedType('generalTime', useful.GeneralizedTime())
Drfc5652.py172 namedtype.OptionalNamedType('date', useful.GeneralizedTime()),
377 namedtype.OptionalNamedType('date', useful.GeneralizedTime()),
649 namedtype.NamedType('generalTime', useful.GeneralizedTime())
Drfc3161.py110 namedtype.NamedType('genTime', useful.GeneralizedTime()),
/external/python/pyasn1/tests/codec/cer/
Dtest_encoder.py70 useful.GeneralizedTime('20150501120112.1+0200')
80 useful.GeneralizedTime('20150501120112.1')
91 useful.GeneralizedTime('20150501120112,1Z')
100 useful.GeneralizedTime('20170801120112.59Z')
105 useful.GeneralizedTime('20170801120112.099Z')
110 useful.GeneralizedTime('20170801120112.999Z')
115 useful.GeneralizedTime('20170801120112.000Z')
120 useful.GeneralizedTime('20170801120112.Z')
125 useful.GeneralizedTime('20170801120112Z')
130 useful.GeneralizedTime('201708011201Z')
/external/python/pyasn1/pyasn1/codec/native/
Ddecoder.py93 useful.GeneralizedTime.tagSet: AbstractScalarDecoder(),
128 useful.GeneralizedTime.typeId: AbstractScalarDecoder(),
Dencoder.py137 useful.GeneralizedTime.tagSet: OctetStringEncoder(),
173 useful.GeneralizedTime.typeId: OctetStringEncoder(),
/external/python/pyasn1/pyasn1/codec/cer/
Dencoder.py241 useful.GeneralizedTime.tagSet: GeneralizedTimeEncoder(),
252 useful.GeneralizedTime.typeId: GeneralizedTimeEncoder(),
/external/python/cryptography/vectors/cryptography_vectors/x509/PKITS_data/smime/
DSignedValidGeneralizedTimenotAfterDateTest8.eml3 Subject: Valid GeneralizedTime notAfter Date Test8
DSignedValidGeneralizedTimeCRLnextUpdateTest13.eml3 Subject: Valid GeneralizedTime CRL nextUpdate Test13
DSignedValidGeneralizedTimenotBeforeDateTest4.eml3 Subject: Valid GeneralizedTime notBefore Date Test4

12