The Credentials Idemix library implements IRMA credentials at a mathematical level. It is used by irma_api_server via irma_api_common.
This library itself works in two layers. The first layer implements the bare Idemix credentials. However, IRMA is more than just Idemix credentials, in particular we always include a validity date and the credential's semantics. We validate this in an IRMA layer on top of the bare Idemix credentials.
This library has the following dependencies. All these dependencies will be automatically downloaded by gradle when building or installing the library.
External dependencies:
- BouncyCastle: bcprov-jdk15on
Internal dependencies:
- credentials_api, the abstract IRMA credentials API
For running the tests:
- JUnit, (>= 4.8), the Java unit-testing library
The build system depends on gradle version at least 1.12.
Run
gradle build
You can install the library to your local maven repository by running
gradle install
It will then be found by other gradle build scripts.
Gradle automatically runs the tests if the code has changed. If you want to force them to rerun use
gradle cleanTest test