/[classpath]/classpath/gnu/java/security/x509/X509Certificate.java
ViewVC logotype

Diff of /classpath/gnu/java/security/x509/X509Certificate.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mkoch, Wed Apr 30 06:50:23 2003 UTC revision 1.3 by mkoch, Wed Jun 18 10:01:34 2003 UTC
# Line 41  package gnu.java.security.x509; Line 41  package gnu.java.security.x509;
41  import java.io.ByteArrayInputStream;  import java.io.ByteArrayInputStream;
42  import java.io.InputStream;  import java.io.InputStream;
43  import java.io.IOException;  import java.io.IOException;
44    import java.io.ObjectStreamException;
45  import java.io.Serializable;  import java.io.Serializable;
46    
47  import java.math.BigInteger;  import java.math.BigInteger;
48    
49    import java.net.InetAddress;
50    
51  import java.security.AlgorithmParameters;  import java.security.AlgorithmParameters;
52  import java.security.InvalidKeyException;  import java.security.InvalidKeyException;
53  import java.security.KeyFactory;  import java.security.KeyFactory;
# Line 421  public class X509Certificate extends jav Line 424  public class X509Certificate extends jav
424      return subjectKey;      return subjectKey;
425    }    }
426    
427    protected Object writeReplace() throws java.io.ObjectStreamException    protected Object writeReplace() throws ObjectStreamException
428    {    {
429      return super.writeReplace();      return super.writeReplace();
430    }    }
# Line 469  public class X509Certificate extends jav Line 472  public class X509Certificate extends jav
472                    nameVal = new String((byte[]) name.getValue());                    nameVal = new String((byte[]) name.getValue());
473                    break;                    break;
474                  case IP_ADDRESS:                  case IP_ADDRESS:
475                    nameVal = java.net.InetAddress.getByAddress(                    nameVal = InetAddress.getByAddress(
476                      (byte[]) name.getValue()).getHostAddress();                      (byte[]) name.getValue()).getHostAddress();
477                    break;                    break;
478                  case REGISTERED_ID:                  case REGISTERED_ID:

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26