Re: SOLVED: decoding crlDistributionPoints extension

2009-10-27 Thread Carl Harris
It is quite bad idea to use assert here. You are analyzing certificate. External data which are passed to you by some other party, and you at this moment cannot be sure that this party is trusted, because you've not completed validation procedure yet. I agree completely. This is a code snip

Re: SOLVED: decoding crlDistributionPoints extension

2009-10-25 Thread Carl Harris
On Oct 25, 2009, at 5:59 PM, Dr. Stephen Henson wrote: It is rather simpler than that. You can get the decoded structure for any certificate extension using X509_get_ext_d2i(). You get additional checks that way such as seeing if the extension occurs more than once. True enough, this redu

Re: SOLVED: decoding crlDistributionPoints extension

2009-10-25 Thread Carl Harris
On Oct 25, 2009, at 2:57 PM, Carl Harris wrote: I'm looking for an example of decoding the crlDistributionPoints extension; e.g. obtaining the specified URI (assuming that the value specifies a URI, that is). This seems like it should be easy. By digging around in the archives of

decoding crlDistributionPoints extension

2009-10-25 Thread Carl Harris
I've looking for an example of decoding the crlDistributionPoints extension; e.g. obtaining the specified URI (assuming that the value specifies a URI, that is). This seems like it should be easy. By digging around in the archives of this list, I've been able to figure out I can get the A