office-gobmx/xmlsecurity/util/xsec_xmlsec.component
Jan-Marek Glogowski 13c6497512 Split xmlsecurity components based on the config
One non-obvious hunk is the dependency of GPG based on NSS. While
it doesn't need NSS per-se, the signature validation code uses
NSS functions.

This is mainly an improvement / has the same origin then commit
1c6382b256 ("xmlsec: handle missing
EqualDistinguishedNames").

Change-Id: I12416139e1e391822d878c61b4ed06f3a409c334
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127913
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-03 22:49:56 +01:00

60 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.xml.crypto.NSSInitializer"
constructor="com_sun_star_xml_crypto_NSSInitializer_get_implementation">
<service name="com.sun.star.xml.crypto.NSSInitializer"/>
<optional/>
</implementation>
<implementation name="com.sun.star.xml.crypto.SEInitializer"
constructor="com_sun_star_xml_crypto_SEInitializer_get_implementation">
<service name="com.sun.star.xml.crypto.SEInitializer"/>
<optional/>
</implementation>
<implementation name="com.sun.star.xml.security.SEInitializer_Gpg"
constructor="com_sun_star_xml_security_SEInitializer_Gpg_get_implementation">
<service name="com.sun.star.xml.crypto.GPGSEInitializer"/>
<optional/>
</implementation>
<implementation name="com.sun.star.xml.crypto.SecurityEnvironment"
constructor="com_sun_star_xml_crypto_SecurityEnvironment_get_implementation">
<service name="com.sun.star.xml.crypto.SecurityEnvironment"/>
<optional/>
</implementation>
<implementation name="com.sun.star.xml.wrapper.XMLDocumentWrapper"
constructor="com_sun_star_xml_wrapper_XMLDocumentWrapper_get_implementation">
<service name="com.sun.star.xml.wrapper.XMLDocumentWrapper"/>
</implementation>
<implementation name="com.sun.star.xml.wrapper.XMLElementWrapper"
constructor="com_sun_star_xml_wrapper_XMLElementWrapper_get_implementation">
<service name="com.sun.star.xml.wrapper.XMLElementWrapper"/>
</implementation>
<implementation name="com.sun.star.xml.crypto.XMLSecurityContext"
constructor="com_sun_star_xml_crypto_XMLSecurityContext_get_implementation">
<service name="com.sun.star.xml.crypto.XMLSecurityContext"/>
<optional/>
</implementation>
<implementation name="com.sun.star.xml.crypto.XMLSignature"
constructor="com_sun_star_xml_crypto_XMLSignature_get_implementation">
<service name="com.sun.star.xml.crypto.XMLSignature"/>
<optional/>
</implementation>
</component>