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

org.digidoc4j.SignatureContainerMatcherValidator Maven / Gradle / Ivy

Go to download

DigiDoc4j is a Java library for digitally signing documents and creating digital signature containers of signed documents

The newest version!
package org.digidoc4j;

import java.util.Arrays;
import java.util.List;

public class SignatureContainerMatcherValidator {

    private static final List BDOC_ONLY_SIGNATURE_PROFILES = Arrays.asList(SignatureProfile.LT_TM, SignatureProfile.B_EPES);

    public static boolean isBDocOnlySignature(SignatureProfile signatureProfile) {
        if (signatureProfile == null) {
            return false;
        }
        return BDOC_ONLY_SIGNATURE_PROFILES.contains(signatureProfile);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy