Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.04 KB

JVCN

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.

License

This software is released under GPL3.

Build and install

To build and install jvcn run: mvn clean install -Dgpg.skip

Usage

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);
    }
}

Requirements

The library requires a Java 8 JVM.