JML

java.security
Class CodeSource

java.lang.Object
  extended byjava.security.CodeSource
All Implemented Interfaces:
Serializable

public class CodeSource
extends Object
implements Serializable


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
private  Certificate[] certs
           
private  URL location
           
private  SocketPermission sp
           
 
Constructor Summary
CodeSource(URL, Certificate[])
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 boolean equals(Object)
           
 Certificate[] getCertificates()
           
 URL getLocation()
           
 int hashCode()
           
 boolean implies(CodeSource)
           
private  boolean matchCerts(CodeSource)
           
private  boolean matchLocation(CodeSource)
           
private  void readObject(ObjectInputStream)
           
 String toString()
           
private  void writeObject(ObjectOutputStream)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

location

private URL location

certs

private transient Certificate[] certs

sp

private transient SocketPermission sp
Constructor Detail

CodeSource

public CodeSource(URL,
                  Certificate[])
Method Detail

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

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.