mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 17:42:04 +08:00
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:
parent
efc5eec6f3
commit
12d08f3a22
@ -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>
|
||||
|
||||
* java/util/zip/ZipEntry.java,
|
||||
|
@ -41,10 +41,13 @@ package gnu.java.security.x509;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.InputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.ObjectStreamException;
|
||||
import java.io.Serializable;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
||||
import java.net.InetAddress;
|
||||
|
||||
import java.security.AlgorithmParameters;
|
||||
import java.security.InvalidKeyException;
|
||||
import java.security.KeyFactory;
|
||||
@ -421,7 +424,7 @@ public class X509Certificate extends java.security.cert.X509Certificate
|
||||
return subjectKey;
|
||||
}
|
||||
|
||||
public Object writeReplace() throws java.io.ObjectStreamException
|
||||
public Object writeReplace() throws ObjectStreamException
|
||||
{
|
||||
return super.writeReplace();
|
||||
}
|
||||
@ -469,7 +472,7 @@ public class X509Certificate extends java.security.cert.X509Certificate
|
||||
nameVal = new String((byte[]) name.getValue());
|
||||
break;
|
||||
case IP_ADDRESS:
|
||||
nameVal = java.net.InetAddress.getByAddress(
|
||||
nameVal = InetAddress.getByAddress(
|
||||
(byte[]) name.getValue()).getHostAddress();
|
||||
break;
|
||||
case REGISTERED_ID:
|
||||
|
Loading…
Reference in New Issue
Block a user