All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.difi.asic.AsicVerifier Maven / Gradle / Ivy

Go to download

Generic implementation of ASiC-E archives in accordance with ETSI 102 918 v1.3.1.

There is a newer version: 0.12.0
Show newest version
package no.difi.asic;

import com.google.common.io.ByteStreams;

import java.io.IOException;
import java.io.InputStream;

public class AsicVerifier extends AbstractAsicReader {

    AsicVerifier(MessageDigestAlgorithm messageDigestAlgorithm, InputStream inputStream) throws IOException {
        super(messageDigestAlgorithm, inputStream);

        while (getNextFile() != null)
            writeFile(ByteStreams.nullOutputStream());

        close();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy