org.digidoc4j.SignatureContainerMatcherValidator 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
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