Hello Mahdi,

please take a look at Pkcs7SignatureGenerator [0] which I have created as
an example application for PKCS#7 signature creation with Pkcs11Interop and
BouncyCastle libraries.

[0] https://github.com/jariq/Pkcs7SignatureGenerator

Regards, Jaroslav


On Sat, Jan 17, 2015 at 1:03 PM, Mahdi Yousefi <mahdi.us...@gmail.com>
wrote:

> i have a token (security device)
> and can :
> *read Certificate *
> *Sign data (no private key available)*
>
> but all CmsSignedDataGenerator need private key
>
> i have
> *public key*, *certificate*, *signature *(signed content with rsa_sha_1)
>
> how generate CmsSignedData without private key (only signature, public
> key, certificate)?
> any sample in c#? that can help me?
>

Reply via email to