integration studio


I need to sign an XML with XADES-EPES.

I have a project in c # that already does it and I am trying to call this library using the integration studio, but I have problems loading the certificate.

I tried to load it using different methods, but no one work:

1- pass Binary data/text as described in this tutorial:

public void MssTest1(byte[] ssCertificateContent, string ssCertificatePassword) {

            var certificate = new X509Certificate2(ssCertificateContent, ssCertificatePassword);

        } // MssTest1

2- load certificate as embedded resource

this two methods raises an error: The system cannot find the file specified

3-load installed certificate (this says that certificate don't have private key)

The certificate is installed in the enviroment and configured in the service center

Any help? thanks

Thanks Ajit, works like a charm

you are welcome. I would be glad to help you out.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.