Java Code Examples for org.apache.xml.security.transforms.Transform#register()

The following examples show how to use org.apache.xml.security.transforms.Transform#register() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConfigurationModuleRegisterTransformers.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
public void init(Configuration config) throws TechnicalConnectorException {
   if (!loaded) {
      try {
         Transform.register("urn:nippin:xml:sig:transform:optional-deflate", NippinOptionalDeflateTransformer.class);
         loaded = true;
      } catch (AlgorithmAlreadyRegisteredException var3) {
         LOG.error("Algorihm [{}] already loaded.", "urn:nippin:xml:sig:transform:optional-deflate", var3);
      }
   }

}
 
Example 2
Source File: ConfigurationModuleRegisterTransformers.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
public void init(Configuration config) throws TechnicalConnectorException {
   if (!loaded) {
      try {
         Transform.register("urn:nippin:xml:sig:transform:optional-deflate", NippinOptionalDeflateTransformer.class);
         loaded = true;
      } catch (AlgorithmAlreadyRegisteredException var3) {
         LOG.error("Algorihm [{}] already loaded.", "urn:nippin:xml:sig:transform:optional-deflate", var3);
      }
   }

}
 
Example 3
Source File: ConfigurationModuleRegisterTransformers.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
public void init(Configuration config) throws TechnicalConnectorException {
   if (!loaded) {
      try {
         Transform.register("urn:nippin:xml:sig:transform:optional-deflate", NippinOptionalDeflateTransformer.class);
         loaded = true;
      } catch (AlgorithmAlreadyRegisteredException var3) {
         LOG.error("Algorihm [{}] already loaded.", "urn:nippin:xml:sig:transform:optional-deflate", var3);
      }
   }

}
 
Example 4
Source File: ConfigurationModuleRegisterTransformers.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
public void init(Configuration config) throws TechnicalConnectorException {
   if (!loaded) {
      try {
         Transform.register("urn:nippin:xml:sig:transform:optional-deflate", NippinOptionalDeflateTransformer.class);
         loaded = true;
      } catch (AlgorithmAlreadyRegisteredException var3) {
         LOG.error("Algorihm [{}] already loaded.", "urn:nippin:xml:sig:transform:optional-deflate", var3);
      }
   }

}
 
Example 5
Source File: ConfigurationModuleRegisterTransformers.java    From freehealth-connector with GNU Affero General Public License v3.0 5 votes vote down vote up
public void init(Configuration config) throws TechnicalConnectorException {
   if (!loaded) {
      try {
         Transform.register("urn:nippin:xml:sig:transform:optional-deflate", NippinOptionalDeflateTransformer.class);
         loaded = true;
      } catch (AlgorithmAlreadyRegisteredException var3) {
         LOG.error("Algorihm [{}] already loaded.", "urn:nippin:xml:sig:transform:optional-deflate", var3);
      }
   }

}