From 7c2ff67fab01fdf1c65ccb9e49759ec3cd2667f9 Mon Sep 17 00:00:00 2001 From: Marcela Melara Date: Sat, 6 Aug 2016 18:16:49 -0400 Subject: [PATCH] Create crypto package - Part of #32 --- coniks_common/pom.xml | 8 ++-- coniks_server/pom.xml | 11 ++++-- coniks_test_client/pom.xml | 11 ++++-- crypto/pom.xml | 35 +++++++++++++++++ .../src/main/java/org/coniks/crypto/App.java | 13 +++++++ .../test/java/org/coniks/crypto/AppTest.java | 38 +++++++++++++++++++ pom.xml | 13 +++++-- 7 files changed, 114 insertions(+), 15 deletions(-) create mode 100644 crypto/pom.xml create mode 100644 crypto/src/main/java/org/coniks/crypto/App.java create mode 100644 crypto/src/test/java/org/coniks/crypto/AppTest.java diff --git a/coniks_common/pom.xml b/coniks_common/pom.xml index 401a9b8..73614d5 100644 --- a/coniks_common/pom.xml +++ b/coniks_common/pom.xml @@ -5,15 +5,17 @@ org.coniks coniks-java - 1.2-SNAPSHOT + 1.3-SNAPSHOT org.coniks.coniks_common coniks_common + 1.3-SNAPSHOT jar - 1.2-SNAPSHOT - coniks_common + + CONIKS [Common] http://coniks.org + Common message spec and encoding library for CONIKS. diff --git a/coniks_server/pom.xml b/coniks_server/pom.xml index 0b9bd16..72abf0c 100644 --- a/coniks_server/pom.xml +++ b/coniks_server/pom.xml @@ -5,15 +5,18 @@ org.coniks coniks-java - 1.2-SNAPSHOT + 1.3-SNAPSHOT org.coniks.coniks_server coniks_server + 1.3-SNAPSHOT jar - 1.2-SNAPSHOT - coniks_server + + CONIKS [Reference Server] http://coniks.org + CONIKS server library and reference implementation. + @@ -26,7 +29,7 @@ org.coniks.coniks_common coniks_common - 1.2-SNAPSHOT + 1.3-SNAPSHOT compile diff --git a/coniks_test_client/pom.xml b/coniks_test_client/pom.xml index e535fa8..9816241 100644 --- a/coniks_test_client/pom.xml +++ b/coniks_test_client/pom.xml @@ -5,15 +5,18 @@ org.coniks coniks-java - 1.2-SNAPSHOT + 1.3-SNAPSHOT org.coniks.coniks_test_client coniks_test_client + 1.3-SNAPSHOT jar - 1.2-SNAPSHOT - coniks_test_client + + CONIKS [Test Client] http://coniks.org + CONIKS client library and reference implementation. + @@ -26,7 +29,7 @@ org.coniks.coniks_common coniks_common - 1.2-SNAPSHOT + 1.3-SNAPSHOT compile diff --git a/crypto/pom.xml b/crypto/pom.xml new file mode 100644 index 0000000..a1501fa --- /dev/null +++ b/crypto/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + + org.coniks + coniks-java + 1.3-SNAPSHOT + + + org.coniks.crypto + coniks-crypto + 1.3-SNAPSHOT + jar + + CONIKS [Crypto] + http://coniks.org + + Cryptographic algorithms and operations library for CONIKS. + + + + + junit + junit + 3.8.1 + test + + + + + UTF-8 + + diff --git a/crypto/src/main/java/org/coniks/crypto/App.java b/crypto/src/main/java/org/coniks/crypto/App.java new file mode 100644 index 0000000..2351054 --- /dev/null +++ b/crypto/src/main/java/org/coniks/crypto/App.java @@ -0,0 +1,13 @@ +package org.coniks.crypto; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/crypto/src/test/java/org/coniks/crypto/AppTest.java b/crypto/src/test/java/org/coniks/crypto/AppTest.java new file mode 100644 index 0000000..e08a370 --- /dev/null +++ b/crypto/src/test/java/org/coniks/crypto/AppTest.java @@ -0,0 +1,38 @@ +package org.coniks.crypto; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/pom.xml b/pom.xml index 0fa462c..a9bf345 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,16 @@ - + + 4.0.0 + org.coniks coniks-java + 1.3-SNAPSHOT pom - 1.2-SNAPSHOT - CONIKS Java lib and reference + + CONIKS [Parent] http://coniks.org + CONIKS is a key management system that provides transparency for end-user public keys. + @@ -22,6 +26,7 @@ + crypto coniks_common coniks_server coniks_test_client