// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_CodeSource__
#define __java_security_CodeSource__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class CodeSource;
      namespace cert
      {
        class Certificate;
      }
    }
    namespace net
    {
      class URL;
    }
  }
};

class ::java::security::CodeSource : public ::java::lang::Object
{
public:
  CodeSource (::java::net::URL *, JArray< ::java::security::cert::Certificate *> *);
  ::java::net::URL *getLocation () { return location; }
  JArray< ::java::security::cert::Certificate *> *getCertificates () { return certs; }
  virtual jboolean implies (::java::security::CodeSource *);
  virtual jboolean equals (::java::lang::Object *);
  virtual jint hashCode ();
  virtual ::java::lang::String *toString ();
private:
  static ::java::lang::String *linesep;
  ::java::net::URL *location;
  JArray< ::java::security::cert::Certificate *> *certs;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_security_CodeSource__ */
