aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/x509/X509Certificate.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/security/x509/X509Certificate.java')
-rw-r--r--libjava/gnu/java/security/x509/X509Certificate.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/libjava/gnu/java/security/x509/X509Certificate.java b/libjava/gnu/java/security/x509/X509Certificate.java
index bb66f2e..ca4854c 100644
--- a/libjava/gnu/java/security/x509/X509Certificate.java
+++ b/libjava/gnu/java/security/x509/X509Certificate.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: