reaperhulk/r509 — pull request #35 by woodbusy (2012-08-20 22:27:27+00:00)
Title: Specs for Cert::Extensions#get_unknown_extensions and #wrap_openssl_extensions

I wrote specs for these two functions. However, in the course of writing them, I re-examined the approach I took with them. My original thought was that you would call wrap_openssl_extensions to get R509 extension objects, and you could call get_unknown_extensions to see whether any extensions didn't have R509 implementations (you would probably already know or wouldn't care, though). Now, I'm thinking it makes more sense to just do everything through wrap_openssl_extensions and have an Unknown extension class or something for anything that's not implemented. What are your thoughts?