diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
commit | 65bf3316cf384588453604be6b4f0ed3751a8b0f (patch) | |
tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/java/security/CodeSource.h | |
parent | 8fc56618a84446beccd45b80381cdfe0e94050df (diff) | |
download | gcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.tar.gz |
Merged gcj-eclipse branch to trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/security/CodeSource.h')
-rw-r--r-- | libjava/java/security/CodeSource.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/libjava/java/security/CodeSource.h b/libjava/java/security/CodeSource.h new file mode 100644 index 00000000000..35dffd9ab59 --- /dev/null +++ b/libjava/java/security/CodeSource.h @@ -0,0 +1,52 @@ + +// 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 net + { + class URL; + } + namespace security + { + class CodeSource; + namespace cert + { + class Certificate; + } + } + } +} + +class java::security::CodeSource : public ::java::lang::Object +{ + +public: + CodeSource(::java::net::URL *, JArray< ::java::security::cert::Certificate * > *); + virtual jint hashCode(); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::net::URL * getLocation(); + virtual JArray< ::java::security::cert::Certificate * > * getCertificates(); + virtual jboolean implies(::java::security::CodeSource *); + virtual ::java::lang::String * toString(); +private: + void readObject(::java::io::ObjectInputStream *); + void writeObject(::java::io::ObjectOutputStream *); + static const jlong serialVersionUID = 4977541819976013951LL; + ::java::net::URL * __attribute__((aligned(__alignof__( ::java::lang::Object)))) location; + ::java::util::HashSet * certs; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_CodeSource__ |