Skip to content

Commit

Permalink
moved further code around.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkohout committed Dec 17, 2022
1 parent 6c6af2b commit f08fbea
Show file tree
Hide file tree
Showing 17 changed files with 15 additions and 733 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

group = 'io.github.robocup-logistics'
archivesBaseName = "java-sdk"
version = '0.1.11.1'
version = '0.1.11.2'

description = ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
*
*/

package com.rcll.llsf_encryption;
package com.rcll.llsf_comm;

import com.rcll.llsf_comm.ProtobufUpdBroadcastConnection;
import com.rcll.llsf_exceptions.UnknownEncryptionMethodException;

import javax.crypto.BadPaddingException;
Expand All @@ -35,7 +34,7 @@
/**
* The BufferDecryptor is responsible for decrypting incoming messages.
*/
public class BufferDecryptor {
class BufferDecryptor {

private byte[] keyBytes;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.rcll.llsf_encryption;
package com.rcll.llsf_comm;

import com.rcll.llsf_comm.ProtobufMessage;
import com.rcll.llsf_exceptions.UnknownEncryptionMethodException;

import javax.crypto.BadPaddingException;
Expand All @@ -20,7 +19,7 @@
/**
* The BufferEncryptor is responsible for encrypting messages.
*/
public class BufferEncryptor {
class BufferEncryptor {

private int cipher;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rcll.llsf_utils;
package com.rcll.llsf_comm;

public class Key {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rcll.llsf_encryption;
package com.rcll.llsf_comm;

import java.security.MessageDigest;

Expand All @@ -7,7 +7,7 @@
* used by the algorithm. Besides it creates the first initialization vector.
*
*/
public class KeyConverter {
class KeyConverter {

/**
* Thanks go to Ola Bini for releasing this source on his blog. The source was obtained from
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/rcll/llsf_comm/ProtobufMessage.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.rcll.llsf_comm;

import com.google.protobuf.GeneratedMessageV3;
import com.rcll.llsf_encryption.BufferEncryptor;

import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.google.protobuf.GeneratedMessageV3;
import com.rcll.llsf_exceptions.EncryptedStreamMessageException;
import com.rcll.llsf_exceptions.UnknownProtocolVersionException;
import com.rcll.llsf_utils.Key;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
import com.google.protobuf.Descriptors.EnumDescriptor;
import com.google.protobuf.GeneratedMessageV3;
import lombok.extern.apachecommons.CommonsLog;
import com.rcll.llsf_encryption.BufferDecryptor;
import com.rcll.llsf_encryption.BufferEncryptor;
import com.rcll.llsf_exceptions.UnknownProtocolVersionException;
import com.rcll.llsf_utils.Key;

import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
Expand Down
Loading

0 comments on commit f08fbea

Please sign in to comment.