API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. CodeSource View Source
Author(s)
Li Gong
Roland Schemers
Since
Version
1.41, 11/17/05
Serial
Hierarchy
 Object
      CodeSource
Implements
 Serializable
Subclasses
Description
public class CodeSource
  This class extends the concept of a codebase to encapsulate not only the location (URL) but also the certificate chains that were used to verify signed code originating from that location.
See also:   
Constructors
public CodeSource (URL url, Certificate certs)
  Constructs a CodeSource and associates it with the specified location and set of certificates.
public CodeSource (URL url, CodeSigner signers)
  Constructs a CodeSource and associates it with the specified location and set of code signers.
Methods
Hide/Show inherited methods
public boolean equals (Object obj)
  Tests for equality between the specified object and this object.
publicfinal Certificate getCertificates ()
  Returns the certificates associated with this CodeSource.
publicfinal CodeSigner getCodeSigners ()
  Returns the code signers associated with this CodeSource.
publicfinal URL getLocation ()
  Returns the location associated with this CodeSource.
public int hashCode ()
  Returns the hash code value for this object.
public boolean implies (CodeSource codesource)
  Returns true if this CodeSource object "implies" the specified CodeSource.
public String toString ()
  Returns a string describing this CodeSource, telling its URL and certificates.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar