Hi everyone,

I need to generate an attribute certificate according to Government's
specification law about students identification card that must have
not_valid_before and not_valid_after set in GeneralizedTime instead of
UTCTime(datetime.datetime object).

Is it possible to do it?


Actually, I tried this:

*from pyasn1.type.useful import GeneralizedTime*

*.not_valid_before(GeneralizedTime('20170101000100Z').asDateTime).not_valid_after(GeneralizedTime('20180331235900Z').asDateTime)*

But the time still appear in UTCTime.

Please help
-----
Fellipe
_______________________________________________
Cryptography-dev mailing list
Cryptography-dev@python.org
https://mail.python.org/mailman/listinfo/cryptography-dev

Reply via email to