Generally, if you need to create a CAdES-BES signature, please use TElSignedCMSMessage and TElCAdESSignatureProcessor components. TElXAdESSigner only works with XAdES format and native XML-based signing. It will product a valid XML on output, not p7m.

Alternatively, you might consider using TElMessageSigner class. It implements a very basic form of CAdES (CAdES-BES) only, yet it might be useful in certain scenarios.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.