java.security
Class CodeSource
java.lang.Object
java.security.CodeSource
- All Implemented Interfaces:
- Serializable
- public class CodeSource
- extends Object
- implements Serializable
location
private URL location
certs
private transient Certificate[] certs
sp
private transient SocketPermission sp
CodeSource
public CodeSource(URL,
Certificate[])
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
readObject
private void readObject(ObjectInputStream)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream)
throws IOException
- Throws:
IOException
equals
public boolean equals(Object)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getLocation
public final URL getLocation()
implies
public boolean implies(CodeSource)
matchCerts
private boolean matchCerts(CodeSource)
matchLocation
private boolean matchLocation(CodeSource)
getCertificates
public final Certificate[] getCertificates()
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.