
org.digidoc4j.impl.asic.asice.AsicESignatureOpener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of digidoc4j Show documentation
Show all versions of digidoc4j Show documentation
DigiDoc4j is a Java library for digitally signing documents and creating digital signature containers
of signed documents
/* DigiDoc4J library
*
* This software is released under either the GNU Library General Public
* License (see LICENSE.LGPL).
*
* Note that the only valid version of the LGPL license as far as this
* project is concerned is the original GNU Library General Public License
* Version 2.1, February 1999
*/
package org.digidoc4j.impl.asic.asice;
import org.digidoc4j.Configuration;
import org.digidoc4j.impl.asic.AsicSignature;
import org.digidoc4j.impl.asic.xades.AsicXadesSignatureOpener;
import org.digidoc4j.impl.asic.xades.XadesSignature;
import org.digidoc4j.impl.asic.xades.validation.XadesSignatureValidator;
/**
Class for converting Xades signature to ASiCE signature.
*/
public class AsicESignatureOpener extends AsicXadesSignatureOpener {
/**
* Constructor
*
* @param configuration configuration
*/
public AsicESignatureOpener(Configuration configuration) {
super(configuration);
}
@Override
protected AsicSignature createAsicSignature(XadesSignature xadesSignature, XadesSignatureValidator xadesValidator) {
return new AsicESignature(xadesSignature, xadesValidator);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy