1 |
/* CodeSource.java -- Code location and certifcates |
/* CodeSource.java -- Code location and certifcates |
2 |
Copyright (C) 1998, 2002 Free Software Foundation, Inc. |
Copyright (C) 1998, 2002, 2004 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
43 |
import java.io.ObjectInputStream; |
import java.io.ObjectInputStream; |
44 |
import java.io.ObjectOutputStream; |
import java.io.ObjectOutputStream; |
45 |
import java.io.Serializable; |
import java.io.Serializable; |
|
import java.net.URL; |
|
46 |
import java.net.SocketPermission; |
import java.net.SocketPermission; |
47 |
|
import java.net.URL; |
48 |
// Note that this overrides Certificate in this package. |
// Note that this overrides Certificate in this package. |
49 |
import java.security.cert.Certificate; |
import java.security.cert.Certificate; |
|
import java.security.cert.CertificateFactory; |
|
50 |
import java.security.cert.CertificateEncodingException; |
import java.security.cert.CertificateEncodingException; |
51 |
import java.security.cert.CertificateException; |
import java.security.cert.CertificateException; |
52 |
|
import java.security.cert.CertificateFactory; |
53 |
import java.util.Arrays; |
import java.util.Arrays; |
54 |
import java.util.HashSet; |
import java.util.HashSet; |
55 |
import java.util.Iterator; |
import java.util.Iterator; |
59 |
* represented by a URL), and the list of certificates that are used to |
* represented by a URL), and the list of certificates that are used to |
60 |
* check the signatures of signed code loaded from this source. |
* check the signatures of signed code loaded from this source. |
61 |
* |
* |
62 |
* @author Aaron M. Renn <arenn@urbanophile.com> |
* @author Aaron M. Renn (arenn@urbanophile.com) |
63 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake (ebb9@email.byu.edu) |
64 |
* @since 1.1 |
* @since 1.1 |
65 |
* @status updated to 1.4 |
* @status updated to 1.4 |
66 |
*/ |
*/ |