Skip to content

Commit

Permalink
Update API to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
masomel committed Feb 8, 2018
1 parent 0e747b3 commit da99249
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 20 deletions.
4 changes: 2 additions & 2 deletions coniks_common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.coniks</groupId>
<artifactId>coniks-java</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
</parent>

<groupId>org.coniks.coniks_common</groupId>
<artifactId>coniks_common</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<packaging>jar</packaging>

<name>CONIKS [Common]</name>
Expand Down
10 changes: 5 additions & 5 deletions coniks_server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.coniks</groupId>
<artifactId>coniks-java</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
</parent>

<groupId>org.coniks.coniks_server</groupId>
<artifactId>coniks_server</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<packaging>jar</packaging>

<name>CONIKS [Reference Server]</name>
Expand All @@ -22,21 +22,21 @@
<dependency>
<groupId>org.coniks.coniks_common</groupId>
<artifactId>coniks_common</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.coniks.crypto</groupId>
<artifactId>coniks-crypto</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.coniks.util</groupId>
<artifactId>coniks-util</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class SignatureOps{
* of the {@code input}.
*@throws A RuntimeException if there is a problem with the private key
* loaded from the server's keystore.
*@deprecated Replaced with {@link org.coniks.crypto.Signing#rsaSign(RSAPublicKey, byte[])}.
*@deprecated Replaced with {@link org.coniks.crypto.Signing#rsaSign(RSAPrivateKey, byte[])}.
*/
@Deprecated
public static byte[] sign(byte[] input) {
Expand Down
10 changes: 5 additions & 5 deletions coniks_test_client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.coniks</groupId>
<artifactId>coniks-java</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
</parent>

<groupId>org.coniks.coniks_test_client</groupId>
<artifactId>coniks_test_client</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<packaging>jar</packaging>

<name>CONIKS [Test Client]</name>
Expand All @@ -22,21 +22,21 @@
<dependency>
<groupId>org.coniks.coniks_common</groupId>
<artifactId>coniks_common</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.coniks.crypto</groupId>
<artifactId>coniks-crypto</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.coniks.util</groupId>
<artifactId>coniks-util</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static boolean verifySigFromDSA(byte[] msg, byte[] sig,
/** Signs {@code msg} using DSAPrivateKey {@code prk}
*
*@return the signature or null on an error
*@deprecated Replaced with {@link org.coniks.crypto.Signing#dsaSign(DSAPublicKey, byte[], byte[])}.
*@deprecated Replaced with {@link org.coniks.crypto.Signing#dsaSign(DSAPrivateKey, byte[])}.
*/
@Deprecated
public static byte[] signDSA(byte[] msg, DSAPrivateKey prk) throws InvalidKeyException {
Expand Down
4 changes: 2 additions & 2 deletions crypto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>org.coniks</groupId>
<artifactId>coniks-java</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
</parent>

<groupId>org.coniks.crypto</groupId>
<artifactId>coniks-crypto</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<packaging>jar</packaging>

<name>CONIKS [Crypto]</name>
Expand Down
3 changes: 2 additions & 1 deletion crypto/src/main/java/org/coniks/crypto/Digest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

/** Implements all cryptographic utility functions for CONIKS.
/** Implements cryptographic hashing and hashed random number
* generation for CONIKS.
* Currently supported hash algorithms: SHA-256.
*
*@author Marcela S. Melara ([email protected])
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.coniks</groupId>
<artifactId>coniks-java</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<packaging>pom</packaging>

<name>CONIKS [Parent]</name>
Expand Down
4 changes: 2 additions & 2 deletions util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>org.coniks</groupId>
<artifactId>coniks-java</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
</parent>

<groupId>org.coniks.util</groupId>
<artifactId>coniks-util</artifactId>
<version>1.3-SNAPSHOT</version>
<version>0.4.0</version>
<packaging>jar</packaging>

<name>CONIKS [Util]</name>
Expand Down

0 comments on commit da99249

Please sign in to comment.