Great to see you resolved your issue !
I will try your solution but I would prefer not to use detached signatues.

Thanks again




vmeyer wrote:
> 
> sap.SetCrypto(null, chain, null, PdfSignatureAppearance.WINCER_SIGNED); 
> AND
> byte[] tSsig = tSigner.GetEncodedPKCS7(); 
> 
> Is OK, the Problem is WINCER_SIGNED Create a Standard PPKMS With 
> PdfName.ADOBE_PPKMS, PdfName.ADBE_PKCS7_SHA1
> 
> I Have solven the Problem By Replaye The Public Class PPKMS in
> PdfSigGenericPKCS.cs ;)
> 
>         /**
>            * Creates a standard filter of the type Windows Certificate.
>         */    
>         public class PPKMS : PdfSigGenericPKCS {
>             /**
>                * The constructor for the default provider.
>             */        
>             public PPKMS()
>                 : base(PdfName.ADOBE_PPKMS,PdfName.ADBE_PKCS7_DETACHED)
>             {
>                 hashAlgorithm = "SHA1";
>             }
> 
>         }
> 
> Geats
> Volker
> 

-- 
View this message in context: 
http://www.nabble.com/.NET-and-BC-signatures-tp14235700p14296514.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to