« Return to Thread: External signature not valid

Re: External signature not valid

by mtrekker :: Rate this Message:

Reply to Author | View in Thread

I did some byte compare and it appears there are some additional bytes
in the ByteStream when using MS API ComputeSignature desribed here
http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2

Also there is a small difference in the beginning of ByteStream.
3,4,19,20,23,24 bytes are different:

/* output from ComputeSignature - MS API */
30 82 05 65 06 5C 09 2A 86 48 86 F7 0D 01 07 02
A0 82 05 56 30 82 05 52 02 01 01 31 0B 30 5C 09

/* output from iTextSharp using GetEncodedPKCS7 */
30 82 04 F6 06 5C 09 2A 86 48 86 F7 0D 01 07 02
A0 82 04 E7 30 82 04 E3 02 01 01 31 0B 30 5C 09


I guess it needs some digging when using external signature ... Perhaps
I can mail both ByteStream outputs directly to you if needed ?

------------------------------------------------------------------------------
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

 « Return to Thread: External signature not valid