|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.CodeSource
public class CodeSource
| Constructor Summary | |
|---|---|
CodeSource(URL location,
Certificate[] certs)
Constructs a new instance of this class with its url and certificates fields filled in from the arguments. |
|
CodeSource(URL location,
CodeSigner[] signers)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
Certificate[] |
getCertificates()
Returns the certificates held onto by the receiver. |
CodeSigner[] |
getCodeSigners()
|
URL |
getLocation()
Returns the receiver's location. |
int |
hashCode()
Returns an integer hash code for the receiver. |
boolean |
implies(CodeSource cs)
Indicates whether the argument code source is implied by the receiver. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CodeSource(URL location,
Certificate[] certs)
location - URL the URL.certs - Certificate[] the Certificates.
public CodeSource(URL location,
CodeSigner[] signers)
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectobj - the object to compare with this object
true if the object is the same as this object
false if it is different from this objecthashCode()public final Certificate[] getCertificates()
public final CodeSigner[] getCodeSigners()
public final URL getLocation()
public int hashCode()
true when passed to .equals must
answer the same value for this method.
hashCode in class Objectequals(java.lang.Object)public boolean implies(CodeSource cs)
cs - CodeSource the code source to check
true if the argument code source is
implied by the receiver, and false if it is not.public String toString()
toString in class Object
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||