digitalbazaar/forge — pull request #4 by stesie (2012-03-21 11:53:02+00:00)
Title: Fixes to UTCTime reading in pki.certificateFromAsn1, GeneralizedTime support added

Hi,

I've added support for reading X.509 certificates with validity times specified using GeneralizedTime fields. So far only UTCTime was supported. I'd appreciate if you could merge the changes with your master repository.

While implementing support for GeneralizedTime I've spotted some bugs wrt. timezone handling in the UTCTime branch, see commits for details.

I've created a nodeunit directory below tests/ where I've put unit tests for those two functions. I intend to add support for PKCS#7 enveloped data (and probably PKCS#12 key bags) in the next weeks and am willing to provide further unit tests, therefore I decided to create the directory there right now.

happy hacking,
stesie