signingframework

signingframework is a Java library for signing nested RDF graphs.

License

License

Categories

Categories

Search Business Logic Libraries
GroupId

GroupId

at.researchstudio.sat
ArtifactId

ArtifactId

signingframework
Last Version

Last Version

1.4
Release Date

Release Date

Type

Type

jar
Description

Description

signingframework
signingframework is a Java library for signing nested RDF graphs.
Project URL

Project URL

https://github.com/researchstudio-sat/signingframework
Source Code Management

Source Code Management

https://github.com/researchstudio-sat/signingframework

Download signingframework

How to add to project

<!-- https://jarcasting.com/artifacts/at.researchstudio.sat/signingframework/ -->
<dependency>
    <groupId>at.researchstudio.sat</groupId>
    <artifactId>signingframework</artifactId>
    <version>1.4</version>
</dependency>
// https://jarcasting.com/artifacts/at.researchstudio.sat/signingframework/
implementation 'at.researchstudio.sat:signingframework:1.4'
// https://jarcasting.com/artifacts/at.researchstudio.sat/signingframework/
implementation ("at.researchstudio.sat:signingframework:1.4")
'at.researchstudio.sat:signingframework:jar:1.4'
<dependency org="at.researchstudio.sat" name="signingframework" rev="1.4">
  <artifact name="signingframework" type="jar" />
</dependency>
@Grapes(
@Grab(group='at.researchstudio.sat', module='signingframework', version='1.4')
)
libraryDependencies += "at.researchstudio.sat" % "signingframework" % "1.4"
[at.researchstudio.sat/signingframework "1.4"]

Dependencies

compile (2)

Group / Artifact Type Version
commons-codec : commons-codec jar 1.8
log4j : log4j jar 1.2.12

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.1

Project Modules

There are no modules declared in this project.

A Software Framework for Iterative Signing of Graph Data

Existing algorithms for signing graph data typically do not cover the whole signing process. In addition, they lack distinctive features such as signing graph data at different levels of granularity, iterative signing of graph data, and signing multiple graphs. This software framework implements a theoretical framework for signing arbitrary graph data provided, e.g., as RDF(S), Named Graphs, or OWL. More details on the theoretical framework are provided in a conference paper as well in this thesis.

Compiling

The software framework is written in Java 1.7. Compiling the framework can be done with Apache Maven by executing the following command

mvn assembly:single

This creates the jar file signingframework-1.0-jar-with-dependencies.jar in the folder target. This jar file includes all external Java libraries. If this is not desired, the software framework can also be packed as a jar file without external libraries by typing

mvn package

This creates the jar file signingframework-1.0.jar in the folder target.

Usage

The jar file signingframework-1.0-jar-with-dependencies.jar can directly be executed with the command

java -jar target/signingframework-1.0-jar-with-dependencies.jar

This will start the interactive mode of the signing framework which supports signing of graphs and creating signature keys. Additionally, the framework also supports a non-interactive mode. This mode only allows for signing graphs. Using this mode requires specification of the following parameters in arbitrary order:

 -i  input graph
 -o  output graph
 -sk file name of secret (private) key 
 -pk file name of public key 
 -c  framework configuration
     possible values:
       carroll-2003
       fisteus-2010
       sayers-2004
       tummarello-2005

The parameter -i specifies the file name of the input graph. Several example files can be found in the folder examples. The parameter -o specifies the file name of the signed output graph. If the file already exists, it will be overwritten. The parameters -sk and -pk specify the file name of the private key and public key, respectively. Both keys must be part of the same key pair. Signature keys can be created using the interactive mode of the framework. The parameter -c specifies the configuration of the framework used for signing the graph.

Given a key pair consisting of the private key my_private.key and the public key my_public.key, signing the example graph example_05.trig with the configuration carroll-2003 can be done with the following command:

java -jar target/signingframework-1.0-jar-with-dependencies.jar -i examples/example_05.trig -o signed.trig -sk my_private.key -pk my_public.key -c carroll-2003
at.researchstudio.sat

Researchstudio SAT

Versions

Version
1.4