Posts

Showing posts with the label linux

AutoFirma ins and outs (2). Minimum configuration to run SimpleAfirma.java class from package es.gob.afirma.standalone. pkcs11

Image
0. Introduction This file is in the subproject afirma-simple 1. Convert pom.xml to build.gradle Here is the basic build.gradle file, that only needs to define dependencies as in the parent project we have defined the tasks and other definitions  //============================BEGIN======================================================= dependencies { /* Library dependencies part */ api libs . junit /* Project dependencies part */ api ( project ( " :afirma-core " ) ) } //==================================END================================================= The yellow marked code is the one you must change or add elements Let's see the pom.xml from the project " afirma-crypto-ooxml " //============================BEGIN======================================================= <? xml version = " 1.0 " encoding = " UTF-8 " ?> < project xmlns = " http : // maven.apache.org /POM/4.0.0 " xmln...