X509Certificate.java: Explicitely import used classes.

2003-06-17  Michael Koch  <konqueror@gmx.de>

	* gnu/java/security/x509/X509Certificate.java:
	Explicitely import used classes.

From-SVN: r68080
This commit is contained in:
Michael Koch 2003-06-17 12:57:35 +00:00 committed by Michael Koch
parent efc5eec6f3
commit 12d08f3a22
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-06-17 Michael Koch <konqueror@gmx.de>
* gnu/java/security/x509/X509Certificate.java:
Explicitely import used classes.
2003-06-17 Michael Koch <konqueror@gmx.de> 2003-06-17 Michael Koch <konqueror@gmx.de>
* java/util/zip/ZipEntry.java, * java/util/zip/ZipEntry.java,

View File

@ -41,10 +41,13 @@ package gnu.java.security.x509;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.InputStream; import java.io.InputStream;
import java.io.IOException; import java.io.IOException;
import java.io.ObjectStreamException;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigInteger; import java.math.BigInteger;
import java.net.InetAddress;
import java.security.AlgorithmParameters; import java.security.AlgorithmParameters;
import java.security.InvalidKeyException; import java.security.InvalidKeyException;
import java.security.KeyFactory; import java.security.KeyFactory;
@ -421,7 +424,7 @@ public class X509Certificate extends java.security.cert.X509Certificate
return subjectKey; return subjectKey;
} }
public Object writeReplace() throws java.io.ObjectStreamException public Object writeReplace() throws ObjectStreamException
{ {
return super.writeReplace(); return super.writeReplace();
} }
@ -469,7 +472,7 @@ public class X509Certificate extends java.security.cert.X509Certificate
nameVal = new String((byte[]) name.getValue()); nameVal = new String((byte[]) name.getValue());
break; break;
case IP_ADDRESS: case IP_ADDRESS:
nameVal = java.net.InetAddress.getByAddress( nameVal = InetAddress.getByAddress(
(byte[]) name.getValue()).getHostAddress(); (byte[]) name.getValue()).getHostAddress();
break; break;
case REGISTERED_ID: case REGISTERED_ID: