Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.07 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.07 KB

OCN Notary

The Open Charging Network Notary provides functions in popular programming languages to sign an OCN request and verify an OCN-Signature header.

Usage

Java

  1. Include the dependency from JCenter using e.g. Gradle/Maven

Gradle:

implementation 'shareandcharge.openchargingnetwork:notary:1.0.0'

Maven:

<dependency>
  <groupId>shareandcharge.openchargingnetwork</groupId>
  <artifactId>notary</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

Check the JVM readme for further usage information.

JavaScript

Install the package using npm:

npm install @shareandcharge/ocn-notary

Check the JS readme for further usage information.

Development

The seperate libraries are contained in their respective directories. Build scripts should provide functionality to test, build and publish the individual packages. A top-level Makefile exists to coordinate between the different libraries, such that they can be tested, built and published in single steps within the CD pipeline.