Thanks for your response.
>> Note that this example pushes garbage into the envelope so the results could
>> be normal.
>
> If you're pushing garbage (and specifically in this case non-enveloped data)
> then the results you give are exactly what should be expected.
OK. I have to treat non-enveloped data also. I was looking for a clean
way to check this fact. Maybe what I'm looking for is something along
the lines of dumpasn.c which would tell at least if the data was in ASN
format.
>> When I use a buffer into which I copy files though, I get the same results -
>> regardless if the file is actually a signed object or not (example files in
>> cryptlib/test/certs.
>
Possibly the buffer I use needs to be bigger than the data in order to
leave some workspace ?
> Without being able to see the code you're using, if you're getting exactly the
> same results as you get from pushing garbage into the envelope then the
> obvious conclusion would be that what's going into the envelope isn't valid
> signed data.
Agreed! Maybe I am going about this in the wrong way, do I need to push
and then pop before checking any meaningful attributes ? I will gladly
send all my code, the previous was an attempt to isolate and simplify.
best regards,
Jean-Claude Bauer
ClearBUS - Responsable Technique
email:
Jean-Claude.Bauer@...
tél: +33 (0)975 601 444
_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail:
cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlibPosts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.