Coder Social home page Coder Social logo

dd4jtestdemo's Introduction

Demo application for testing DD4J

DD4J Test Demo is Java application for testing DigiDoc4j Java library - https://github.com/open-eid/digidoc4j.

It contains following test classes:

  • SignatureCreationTest - for general signature creation.
  • SignatureCustomConfTest - for signature creation with custom configuration examples.
  • SignatureValidationTest - for validating ASiC-E, BDOC, ASIC-S and DDOC containers.

How to use it

Preconditions

  1. Java 8 or higher.
  2. Tested DD4J version is in Maven repository.
  3. In POM file tested DD4J is assigned.

Setting up

  1. DD4J version is in (local) Maven repository. To test unpublished version, there are two options: 2. Build DD4J locally -> https://confluence.ria.ee/display/IB/How-To#HowTo-KuidaslokaalseltDD4Jkokkuehitada. 3. Install JAR file from Jenkins build -> Before installing new JAR, delete previously installed instance of DD4J with same version and maven-metadata-local.xml file containing reference to it.
mvn install:install-file -Dfile="<path-to-digidoc4j-JAR-file>" -DpomFile="<path-to-digidoc4j-pom-file>"      

Examples

Examples can be found in DD4J wiki https://github.com/open-eid/digidoc4j/wiki and in test classes.

dd4jtestdemo's People

Contributors

heititobi avatar naare avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.