| java.lang.Object java.security.CodeSource
Method Summary | |
public boolean | equals(Object obj) Compares the argument to the receiver, and answers true if they represent
the same object using a class specific comparison. | final public Certificate[] | getCertificates() Answers the certificates held onto by the receiver. | final public CodeSigner[] | getCodeSigners() | final public URL | getLocation() Answers the receiver's location. | public int | hashCode() Answers an integer hash code for the receiver. | public boolean | implies(CodeSource cs) Indicates whether the argument code source is implied by the receiver. | public String | toString() Answers a string containing a concise, human-readable description of the
receiver. |
CodeSource | public CodeSource(URL location, Certificate[] certs)(Code) | | Constructs a new instance of this class with its url and certificates
fields filled in from the arguments.
Parameters: location - URL the URL. Parameters: certs - Certificate[] the Certificates. |
equals | public boolean equals(Object obj)(Code) | | Compares the argument to the receiver, and answers true if they represent
the same object using a class specific comparison. In this
case, the receiver and the object must have the same URL and the same
collection of certificates.
Parameters: obj - the object to compare with this object true if the object is the same as this objectfalse if it is different from this object See Also: CodeSource.hashCode |
getCertificates | final public Certificate[] getCertificates()(Code) | | Answers the certificates held onto by the receiver.
Certificate[] the receiver's certificates |
getLocation | final public URL getLocation()(Code) | | Answers the receiver's location.
URL the receiver's URL |
hashCode | public int hashCode()(Code) | | Answers an integer hash code for the receiver. Any two objects which
answer true when passed to .equals must
answer the same value for this method.
int the receiver's hash. See Also: CodeSource.equals |
implies | public boolean implies(CodeSource cs)(Code) | | Indicates whether the argument code source is implied by the receiver.
boolean true if the argument code source isimplied by the receiver, and false if it is not. Parameters: cs - CodeSource the code source to check |
toString | public String toString()(Code) | | Answers a string containing a concise, human-readable description of the
receiver.
a printable representation for the receiver. |
|
|