Accessing current URI within nsCrypto::importUserCertificates()

2009-05-16 Thread Gaurav Aggarwal
Hi, I want to put some additional checks in nsCrypto::importUserCertificates() function. For these checks, i want to access the URI of the script that called this function (originating URI) and the URI of the parent page (host URI). Could anyone please advise me on how i can do this. Would i

Finding certificate extension using Object Identifier

2009-05-13 Thread Gaurav Aggarwal
Hi, I was trying to find a custom extension using its object identifier (in decimal) : "1, 3, 6, 1, 5, 5, 7, 1, 100". It seems to me that only CERT_FindCertExtension() function is public. But it takes an integer tag that gets mapped to the actual object identifier. Does it mean that i would