Global, de-centralized signing of code and other digital assets.
This package provides JVM bindings for the Code Notary platform.
It's designed as a lightweight Java library with a minimum dependency set that can be dropped into any JVM software project.
This software is released under GPL3.
To build and install jvcn run:
mvn clean install -Dgpg.skip
Add the following dependency to pom.xml:
<dependency>
<groupId>us.vchain</groupId>
<artifactId>jvcn</artifactId>
<version>0.0.1</version>
</dependency>
You can tie in basic file verification like this:
public class Main {
public static void main(String... args) {
final JVCN jvcn = new JVCN.Builder().build();
Optional<Asset> asset = jvcn.verify(new File("SomeFile.txt"));
System.out.println("Asset: " asset);
}
}
The library requires a Java 8 JVM.