integration studio

Hello,

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:

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/SOAP/Consuming_SOAP_Web_Services/Use_Advanced_Extensibility/Example%3A_Authenticate_using_a_client_certificate

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.