Merged gcj-eclipse branch to trunk.

From-SVN: r120621
This commit is contained in:
Tom Tromey
2007-01-09 19:58:05 +00:00
parent c648dedbde
commit 97b8365caf
17478 changed files with 606493 additions and 100744 deletions
+58
View File
@@ -0,0 +1,58 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_der_BitString__
#define __gnu_java_security_der_BitString__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
namespace der
{
class BitString;
}
}
}
}
}
class gnu::java::security::der::BitString : public ::java::lang::Object
{
public:
BitString(JArray< jbyte > *, jint, jboolean);
BitString(JArray< jbyte > *, jint, jint, jint, jboolean);
BitString(JArray< jbyte > *, jint, jint, jint);
BitString(JArray< jbyte > *, jint);
BitString(JArray< jbyte > *, jint, jint);
BitString(JArray< jbyte > *);
virtual JArray< jbyte > * toByteArray();
virtual JArray< jbyte > * getShiftedByteArray();
virtual jint getIgnoredBits();
virtual jint size();
virtual JArray< jboolean > * toBooleanArray();
virtual ::java::lang::Object * clone();
virtual jint compareTo(::java::lang::Object *);
virtual jint hashCode();
virtual jboolean equals(::java::lang::Object *);
virtual ::java::lang::String * toString();
private:
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) bytes;
JArray< jbyte > * externBytes;
jint ignoredBits;
JArray< jboolean > * boolVal;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_der_BitString__
+65
View File
@@ -0,0 +1,65 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_der_DER__
#define __gnu_java_security_der_DER__
#pragma interface
#include <java/lang/Object.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
namespace der
{
class DER;
}
}
}
}
}
class gnu::java::security::der::DER : public ::java::lang::Object
{
public:
static const jint UNIVERSAL = 0;
static const jint APPLICATION = 64;
static const jint CONTEXT = 128;
static const jint PRIVATE = 192;
static const jint CONSTRUCTED = 32;
static const jint ANY = 0;
static const jint BOOLEAN = 1;
static const jint INTEGER = 2;
static const jint BIT_STRING = 3;
static const jint OCTET_STRING = 4;
static const jint NULL = 5;
static const jint OBJECT_IDENTIFIER = 6;
static const jint REAL = 9;
static const jint ENUMERATED = 10;
static const jint RELATIVE_OID = 13;
static const jint SEQUENCE = 16;
static const jint SET = 17;
static ::java::lang::Object * CONSTRUCTED_VALUE;
static const jint NUMERIC_STRING = 18;
static const jint PRINTABLE_STRING = 19;
static const jint T61_STRING = 20;
static const jint VIDEOTEX_STRING = 21;
static const jint IA5_STRING = 22;
static const jint GRAPHIC_STRING = 25;
static const jint ISO646_STRING = 26;
static const jint GENERAL_STRING = 27;
static const jint UTF8_STRING = 12;
static const jint UNIVERSAL_STRING = 28;
static const jint BMP_STRING = 30;
static const jint UTC_TIME = 23;
static const jint GENERALIZED_TIME = 24;
static ::java::lang::Class class$;
} __attribute__ ((java_interface));
#endif // __gnu_java_security_der_DER__
@@ -0,0 +1,36 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_der_DEREncodingException__
#define __gnu_java_security_der_DEREncodingException__
#pragma interface
#include <java/io/IOException.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
namespace der
{
class DEREncodingException;
}
}
}
}
}
class gnu::java::security::der::DEREncodingException : public ::java::io::IOException
{
public:
DEREncodingException();
DEREncodingException(::java::lang::String *);
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_der_DEREncodingException__
+56
View File
@@ -0,0 +1,56 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_der_DERReader__
#define __gnu_java_security_der_DERReader__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
namespace der
{
class DERReader;
class DERValue;
}
}
}
}
}
class gnu::java::security::der::DERReader : public ::java::lang::Object
{
public:
DERReader(JArray< jbyte > *);
DERReader(JArray< jbyte > *, jint, jint);
DERReader(::java::io::InputStream *);
static ::gnu::java::security::der::DERValue * read(JArray< jbyte > *);
virtual void skip(jint);
virtual ::gnu::java::security::der::DERValue * read();
public: // actually protected
virtual jint readLength();
private:
::java::lang::Object * readUniversal(jint, jint);
static ::java::lang::String * makeString(jint, JArray< jbyte > *);
static ::java::lang::String * fromIso88591(JArray< jbyte > *);
static ::java::lang::String * fromUtf16Be(JArray< jbyte > *);
static ::java::lang::String * fromUtf8(JArray< jbyte > *);
::java::util::Date * makeTime(jint, JArray< jbyte > *);
public: // actually protected
::java::io::InputStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in;
::java::io::ByteArrayOutputStream * encBuf;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_der_DERReader__
+56
View File
@@ -0,0 +1,56 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_der_DERValue__
#define __gnu_java_security_der_DERValue__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
namespace der
{
class DERValue;
}
}
}
}
}
class gnu::java::security::der::DERValue : public ::java::lang::Object
{
public:
DERValue(jint, jint, ::java::lang::Object *, JArray< jbyte > *);
DERValue(jint, ::java::lang::Object *);
virtual jint getExternalTag();
virtual jint getTag();
virtual jint getTagClass();
virtual jboolean isConstructed();
virtual jint getLength();
virtual ::java::lang::Object * getValue();
virtual ::java::lang::Object * getValueAs(jint);
virtual JArray< jbyte > * getEncoded();
virtual jint getEncodedLength();
virtual ::java::lang::String * toString();
private:
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) tagClass;
jboolean constructed;
jint tag;
jint length;
::java::lang::Object * value;
JArray< jbyte > * encoded;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_der_DERValue__
+64
View File
@@ -0,0 +1,64 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_der_DERWriter__
#define __gnu_java_security_der_DERWriter__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
class OID;
namespace der
{
class BitString;
class DERValue;
class DERWriter;
}
}
}
}
namespace java
{
namespace math
{
class BigInteger;
}
}
}
class gnu::java::security::der::DERWriter : public ::java::lang::Object
{
DERWriter();
public:
static jint write(::java::io::OutputStream *, ::gnu::java::security::der::DERValue *);
static jint definiteEncodingSize(jint);
private:
static jint writeBoolean(::java::io::OutputStream *, ::java::lang::Boolean *);
static jint writeInteger(::java::io::OutputStream *, ::java::math::BigInteger *);
static jint writeSequence(::java::io::OutputStream *, ::java::util::List *);
static jint writeSet(::java::io::OutputStream *, ::java::util::Set *);
static jint writeOID(::java::io::OutputStream *, ::gnu::java::security::OID *);
static jint writeBitString(::java::io::OutputStream *, ::gnu::java::security::der::BitString *);
static jint writeString(::java::io::OutputStream *, jint, ::java::lang::String *);
static JArray< jbyte > * toIso88591(::java::lang::String *);
static JArray< jbyte > * toUtf16Be(::java::lang::String *);
static JArray< jbyte > * toUtf8(::java::lang::String *);
static jint writeDate(::java::io::OutputStream *, jint, ::java::util::Date *);
public: // actually package-private
static void writeLength(::java::io::OutputStream *, jint);
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_der_DERWriter__