Well, I am not a guru concerning ac but looking at the ac you send with your mail my ASN.1-Dump told me there's a negative INTEGER in it (at approx. octet 497, length 2), but an INTEGER mustn't be negative. Maybe this is the "Wrong Tag"?
 
Regards
 
Thomas
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Im Auftrag von Hashim Saleem
Gesendet: Donnerstag, 8. September 2005 17:29
An: openssl-users@openssl.org
Betreff: Problem while parsing attribute certificate.

Hi all,
 
I have made a try to parse attribute certificate by writing attribute certificate ASN.1 structures myself after knowing that OpenSSL yet has no support for attribute certificate. I am getting error right at the beginning that is on d2i_X509AC(). It complains with the error message "Wrong Tag". It appears to me that I have some mistake in my attribute certificate ASN.1 structures declarations. I am attaching the source files alongwith the attribute certificate. OpenSSL gurus please help on this.
 
Regards,
Hashim Saleem

Reply via email to