Kyle Hamilton wrote:
Can I add an ASN.1 template to the certificate store? Or is that asking too much?
You could add it to the code base. Contributions of standards compliant
PKI features are welcome. Depending on what you want to do, it may be most appropriate to add it to NSS, or perhaps to PSM.
Every ASN.1 template is coupled with a c language structure declaration. They get added is pairs, a template and a corresponding structure. There is also typically a new OID (new to NSS) associated with each extension, and OIDs also get added to the OID table.
An example of an OID contribution to NSS is seen in https://bugzilla.mozilla.org/show_bug.cgi?id=282370
An example of an OID contribution to PSM is seen in https://bugzilla.mozilla.org/show_bug.cgi?id=259031 That was a contribution by an interested party who, perhaps like yourself, wanted to see more stuff decoded than he presently saw in the browser.
(I have a couple of custom extensions that I'm working on for other projects, and being able to express them to the user without having to go through the rather messy process of parsing their structures myself would be a godsend.)
Well, If it's custom, it probably best belongs in a brwoser extension, not in NSS. The NSS functions are available to extensions, IINM.
-- Nelson B _______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
