Commit 33d8817b authored by pgouvas's avatar pgouvas
Browse files

Tests finished

parent ac50e4cd
...@@ -3,20 +3,15 @@ package eu.ubitech; ...@@ -3,20 +3,15 @@ package eu.ubitech;
import com.google.gson.Gson; import com.google.gson.Gson;
import eu.ubitech.ejbca.client.BinaryValue; import eu.ubitech.ejbca.client.BinaryValue;
import eu.ubitech.ejbca.client.CertificateRequest; import eu.ubitech.ejbca.client.CertificateRequest;
import eu.ubitech.ejbca.client.EjbcaUser;
import eu.ubitech.ejbca.client.PKCS12Request; import eu.ubitech.ejbca.client.PKCS12Request;
import eu.ubitech.ejbca.security.SecurityUtil; import eu.ubitech.ejbca.security.SecurityUtil;
import java.io.BufferedWriter;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.security.InvalidAlgorithmParameterException; import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException; import java.security.InvalidKeyException;
import java.security.KeyFactory;
import java.security.KeyStoreException; import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException; import java.security.NoSuchProviderException;
...@@ -27,18 +22,13 @@ import java.security.cert.CertificateException; ...@@ -27,18 +22,13 @@ import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory; import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate; import java.security.cert.X509Certificate;
import java.security.spec.InvalidKeySpecException; import java.security.spec.InvalidKeySpecException;
import java.security.spec.PKCS8EncodedKeySpec;
import java.util.ArrayList;
import java.util.Base64; import java.util.Base64;
import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
import javax.crypto.BadPaddingException; import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException; import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException; import javax.crypto.NoSuchPaddingException;
import org.bouncycastle.util.io.pem.PemObject;
import org.bouncycastle.util.io.pem.PemWriter;
import org.ejbca.core.protocol.ws.Certificate; import org.ejbca.core.protocol.ws.Certificate;
import org.ejbca.core.protocol.ws.NameAndId; import org.ejbca.core.protocol.ws.NameAndId;
import org.junit.Ignore; import org.junit.Ignore;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment