CodeNotary
Integrations

CodeNotary provides JVM bindings for the CodeNotary platform that allows you to verify the authenticity and integrity of any software and digital asset directly from within the code. The package is designed as a lightweight Java library with a minimum dependency set that can be dropped into any JVM software project.

Download

The CodeNotary JVCN package can be download from CodeNotary GitHub repository here.

Configuration

To include the package into your application, add the following dependency to pom.xml:

<dependency>
    <groupId>us.vchain</groupId>
    <artifactId>jvcn</artifactId>
    <version>0.0.1</version>
</dependency>

Usage

To tie in basic file verification within your java code, you only have to add the following lines, wherever appropriate:

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.

Go to documentation