Work with specific protocols and standards > ebXML > Extract KeyInfo element for a CPA

Extract KeyInfo element for a CPA

A tool is available for exporting public key information from a certificate. The KeyInfo element information then can be copied to a CPA.

Export the community or partner certificate to a file. The file must have an extension of .cer, .p7b or .p7c. The tool for extracting the KeyInfo element information is keyInfoWriter.cmd (Windows) or keyInfoWriter (UNIX). The tool is in <install directory>\tools.

This command line tool must be run from the tools directory in the following format:

keyInfoWriter <path of certificate file> <path of XML output file>

The following is an example use of the tool:

keyInfoWriter c:\certificates\worldwide.p7b c:\certificates\
worldwide_keyinfo.xml

Related topics