Voir cet article pour les interfaces Framework:
http://msdn.microsoft.com/en-us/library/ms180945%28VS.80%29.aspx

How to: Sign Messages by One Signer : This example creates a CMS/PKCS #7 signed message by using System.Security.Cryptography.Pkcs
http://msdn.microsoft.com/en-us/library/ms180956(VS.80).aspx
How to: Sign a Message by Multiple Signers : This example creates a CMS/PKCS #7 signed message by using System.Security.Cryptography.Pkcs.
http://msdn.microsoft.com/en-us/library/ms180957.aspx
Mais
CmsSigner Class Pas supporté par Compact Framework
X509Store ¨Pas supporté par Compact Framework

Le plus simple pour le compact framework : Ouvrir C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\mscorlib.dll, vérifier ce qu’elle contient :
– System.Security.Cryptography avec un bon paquet de sous-classes : CryptoAPITransform, CspKeyContainerInfo, CspParameters, RSA, RSACryptoServiceProvider, RSAParameters, RSAPKCS1SignatureFormatter (CreateSignature),
– System.Security.Cryptography.X509Certificates X509Certificate dont CreateFromCertFile, Import
Tout ceci est très limité et oblige à passer par autre chose

http://msdn.microsoft.com/fr-fr/library/ms229745(VS.80).aspx Comment : signer des documents XML avec des signatures numériques