update package naming
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/common-encryption@68963 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5832d408d0
commit
a7539c68e6
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import java.security.Key;
|
import java.security.Key;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import javax.crypto.KeyGenerator;
|
import javax.crypto.KeyGenerator;
|
||||||
import javax.crypto.SecretKey;
|
import javax.crypto.SecretKey;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import javax.crypto.Cipher;
|
import javax.crypto.Cipher;
|
||||||
import java.security.Key;
|
import java.security.Key;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import java.io.ByteArrayOutputStream;
|
import java.io.ByteArrayOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.common.utils.encryption.keytool;
|
package org.gcube.common.encryption.keytool;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
|
@ -1,9 +1,10 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import org.gcube.common.encryption.KeyFactory;
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
|
@ -1,9 +1,10 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import java.security.InvalidKeyException;
|
import java.security.InvalidKeyException;
|
||||||
|
|
||||||
|
import org.gcube.common.encryption.SymmetricKey;
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
import org.gcube.common.scope.api.ScopeProvider;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
|
@ -1,9 +1,10 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
|
import org.gcube.common.encryption.StringEncrypter;
|
||||||
|
import org.gcube.common.encryption.SymmetricKey;
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
import org.gcube.common.scope.api.ScopeProvider;
|
||||||
import org.gcube.common.utils.encryption.StringEncrypter;
|
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.gcube.common.utils.encryption;
|
package org.gcube.common.encryption;
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ import java.security.Key;
|
||||||
import javax.crypto.spec.SecretKeySpec;
|
import javax.crypto.spec.SecretKeySpec;
|
||||||
|
|
||||||
//import org.apache.xml.security.utils.JavaUtils;
|
//import org.apache.xml.security.utils.JavaUtils;
|
||||||
|
import org.gcube.common.encryption.SymmetricKey;
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
import org.gcube.common.scope.api.ScopeProvider;
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
Loading…
Reference in New Issue