Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_Base64__
|
||||
#define __gnu_java_security_util_Base64__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class Base64;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::Base64 : public ::java::lang::Object
|
||||
{
|
||||
|
||||
Base64();
|
||||
public:
|
||||
static ::java::lang::String * encode(JArray< jbyte > *);
|
||||
static ::java::lang::String * encode(JArray< jbyte > *, jint, jint, jboolean);
|
||||
static JArray< jbyte > * decode(::java::lang::String *);
|
||||
static JArray< jbyte > * decode(JArray< jbyte > *, jint, jint);
|
||||
private:
|
||||
static JArray< jbyte > * encode3to4(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint);
|
||||
static jint decode4to3(JArray< jbyte > *, jint, JArray< jbyte > *, jint);
|
||||
static ::java::util::logging::Logger * log;
|
||||
static const jint MAX_LINE_LENGTH = 76;
|
||||
static const jbyte NEW_LINE = 10;
|
||||
static const jbyte EQUALS_SIGN = 61;
|
||||
static const jbyte WHITE_SPACE_ENC = -5;
|
||||
static const jbyte EQUALS_SIGN_ENC = -1;
|
||||
static JArray< jbyte > * ALPHABET;
|
||||
static JArray< jbyte > * DECODABET;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_Base64__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_ByteArray__
|
||||
#define __gnu_java_security_util_ByteArray__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class ByteArray;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::ByteArray : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
ByteArray(JArray< jbyte > *);
|
||||
JArray< jbyte > * getValue();
|
||||
::java::lang::String * toString();
|
||||
static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint, jchar);
|
||||
static ::java::lang::String * formatInt(jint, jint, jint);
|
||||
private:
|
||||
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_ByteArray__
|
||||
@@ -0,0 +1,54 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_ByteBufferOutputStream__
|
||||
#define __gnu_java_security_util_ByteBufferOutputStream__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/io/OutputStream.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class ByteBufferOutputStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace nio
|
||||
{
|
||||
class ByteBuffer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::ByteBufferOutputStream : public ::java::io::OutputStream
|
||||
{
|
||||
|
||||
public:
|
||||
ByteBufferOutputStream();
|
||||
ByteBufferOutputStream(jint);
|
||||
virtual void write(jint);
|
||||
virtual void write(JArray< jbyte > *, jint, jint);
|
||||
virtual void write(JArray< jbyte > *);
|
||||
virtual ::java::nio::ByteBuffer * buffer();
|
||||
virtual ::java::lang::String * toString();
|
||||
private:
|
||||
void growBuffer();
|
||||
::java::nio::ByteBuffer * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) buffer__;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_ByteBufferOutputStream__
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_DerUtil__
|
||||
#define __gnu_java_security_util_DerUtil__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace der
|
||||
{
|
||||
class DERValue;
|
||||
}
|
||||
namespace util
|
||||
{
|
||||
class DerUtil;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::DerUtil : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
DerUtil();
|
||||
static void checkIsConstructed(::gnu::java::security::der::DERValue *, ::java::lang::String *);
|
||||
static void checkIsBigInteger(::gnu::java::security::der::DERValue *, ::java::lang::String *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_DerUtil__
|
||||
@@ -0,0 +1,43 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_ExpirableObject$Destroyer__
|
||||
#define __gnu_java_security_util_ExpirableObject$Destroyer__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/util/TimerTask.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class ExpirableObject;
|
||||
class ExpirableObject$Destroyer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::ExpirableObject$Destroyer : public ::java::util::TimerTask
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
ExpirableObject$Destroyer(::gnu::java::security::util::ExpirableObject *, ::gnu::java::security::util::ExpirableObject *);
|
||||
public:
|
||||
void run();
|
||||
private:
|
||||
::gnu::java::security::util::ExpirableObject * __attribute__((aligned(__alignof__( ::java::util::TimerTask)))) target;
|
||||
public: // actually package-private
|
||||
::gnu::java::security::util::ExpirableObject * this$0;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_ExpirableObject$Destroyer__
|
||||
@@ -0,0 +1,48 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_ExpirableObject__
|
||||
#define __gnu_java_security_util_ExpirableObject__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class ExpirableObject;
|
||||
class ExpirableObject$Destroyer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::ExpirableObject : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public: // actually protected
|
||||
ExpirableObject();
|
||||
ExpirableObject(jlong);
|
||||
public:
|
||||
virtual void destroy();
|
||||
public: // actually protected
|
||||
virtual void doDestroy() = 0;
|
||||
public:
|
||||
virtual jboolean isDestroyed() = 0;
|
||||
static const jlong DEFAULT_TIMEOUT = 3600000LL;
|
||||
private:
|
||||
static ::java::util::Timer * EXPIRER;
|
||||
::gnu::java::security::util::ExpirableObject$Destroyer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) destroyer;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_ExpirableObject__
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_FormatUtil__
|
||||
#define __gnu_java_security_util_FormatUtil__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class FormatUtil;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::FormatUtil : public ::java::lang::Object
|
||||
{
|
||||
|
||||
FormatUtil();
|
||||
public:
|
||||
static ::java::lang::String * getEncodingName(jint);
|
||||
static ::java::lang::String * getEncodingShortName(jint);
|
||||
static jint getFormatID(::java::lang::String *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_FormatUtil__
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_IntegerUtil$1__
|
||||
#define __gnu_java_security_util_IntegerUtil$1__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/util/LinkedHashMap.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class IntegerUtil$1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::IntegerUtil$1 : public ::java::util::LinkedHashMap
|
||||
{
|
||||
|
||||
public: // actually package-private
|
||||
IntegerUtil$1(jint, jfloat, jboolean);
|
||||
public:
|
||||
jboolean removeEldestEntry(::java::util::Map$Entry *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_IntegerUtil$1__
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_IntegerUtil__
|
||||
#define __gnu_java_security_util_IntegerUtil__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class IntegerUtil;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::IntegerUtil : public ::java::lang::Object
|
||||
{
|
||||
|
||||
IntegerUtil();
|
||||
public:
|
||||
static ::java::lang::Integer * valueOf(::java::lang::String *);
|
||||
static ::java::lang::Integer * valueOf(jint);
|
||||
private:
|
||||
static const jint CACHE_SIZE = 100;
|
||||
static ::java::util::Map * cache;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_IntegerUtil__
|
||||
@@ -0,0 +1,47 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_PRNG__
|
||||
#define __gnu_java_security_util_PRNG__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace prng
|
||||
{
|
||||
class IRandom;
|
||||
}
|
||||
namespace util
|
||||
{
|
||||
class PRNG;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::PRNG : public ::java::lang::Object
|
||||
{
|
||||
|
||||
PRNG(::gnu::java::security::prng::IRandom *);
|
||||
public:
|
||||
static ::gnu::java::security::util::PRNG * getInstance();
|
||||
virtual void nextBytes(JArray< jbyte > *);
|
||||
virtual void nextBytes(JArray< jbyte > *, jint, jint);
|
||||
private:
|
||||
::gnu::java::security::prng::IRandom * __attribute__((aligned(__alignof__( ::java::lang::Object)))) delegate;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_PRNG__
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_Prime__
|
||||
#define __gnu_java_security_util_Prime__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class Prime;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::Prime : public ::java::lang::Object
|
||||
{
|
||||
|
||||
public:
|
||||
Prime();
|
||||
static ::java::math::BigInteger * generateRandomPrime(jint, jint, ::java::math::BigInteger *);
|
||||
static ::java::math::BigInteger * generateRandomPrime(::java::math::BigInteger *, ::java::math::BigInteger *, jint, jint, ::java::math::BigInteger *);
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_Prime__
|
||||
@@ -0,0 +1,45 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_Sequence__
|
||||
#define __gnu_java_security_util_Sequence__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/util/AbstractList.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class Sequence;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::Sequence : public ::java::util::AbstractList
|
||||
{
|
||||
|
||||
public:
|
||||
Sequence(jint);
|
||||
Sequence(jint, jint);
|
||||
Sequence(jint, jint, jint);
|
||||
::java::lang::Object * get(jint);
|
||||
jint size();
|
||||
JArray< ::java::lang::Object * > * toArray();
|
||||
private:
|
||||
JArray< ::java::lang::Integer * > * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) sequence;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_Sequence__
|
||||
@@ -0,0 +1,48 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_SimpleList__
|
||||
#define __gnu_java_security_util_SimpleList__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/util/AbstractList.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class SimpleList;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::SimpleList : public ::java::util::AbstractList
|
||||
{
|
||||
|
||||
public:
|
||||
SimpleList(::java::lang::Object *);
|
||||
SimpleList(::java::lang::Object *, ::java::lang::Object *);
|
||||
SimpleList(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
|
||||
SimpleList(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *);
|
||||
SimpleList();
|
||||
SimpleList(::java::util::Collection *);
|
||||
jint size();
|
||||
::java::lang::Object * get(jint);
|
||||
::java::lang::String * toString();
|
||||
private:
|
||||
JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) elements;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_SimpleList__
|
||||
@@ -0,0 +1,72 @@
|
||||
|
||||
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||||
|
||||
#ifndef __gnu_java_security_util_Util__
|
||||
#define __gnu_java_security_util_Util__
|
||||
|
||||
#pragma interface
|
||||
|
||||
#include <java/lang/Object.h>
|
||||
#include <gcj/array.h>
|
||||
|
||||
extern "Java"
|
||||
{
|
||||
namespace gnu
|
||||
{
|
||||
namespace java
|
||||
{
|
||||
namespace security
|
||||
{
|
||||
namespace util
|
||||
{
|
||||
class Util;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace java
|
||||
{
|
||||
namespace math
|
||||
{
|
||||
class BigInteger;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class gnu::java::security::util::Util : public ::java::lang::Object
|
||||
{
|
||||
|
||||
Util();
|
||||
public:
|
||||
static ::java::lang::String * toString(JArray< jbyte > *);
|
||||
static ::java::lang::String * toString(JArray< jbyte > *, jint, jint);
|
||||
static ::java::lang::String * toReversedString(JArray< jbyte > *);
|
||||
static ::java::lang::String * toReversedString(JArray< jbyte > *, jint, jint);
|
||||
static JArray< jbyte > * toBytesFromString(::java::lang::String *);
|
||||
static JArray< jbyte > * toReversedBytesFromString(::java::lang::String *);
|
||||
static jint fromDigit(jchar);
|
||||
static ::java::lang::String * toString(jint);
|
||||
static ::java::lang::String * toString(JArray< jint > *);
|
||||
static ::java::lang::String * toString(jlong);
|
||||
static ::java::lang::String * toUnicodeString(JArray< jbyte > *);
|
||||
static ::java::lang::String * toUnicodeString(JArray< jbyte > *, jint, jint);
|
||||
static ::java::lang::String * toUnicodeString(JArray< jint > *);
|
||||
static JArray< jbyte > * toBytesFromUnicode(::java::lang::String *);
|
||||
static ::java::lang::String * dumpString(JArray< jbyte > *, jint, jint, ::java::lang::String *);
|
||||
static ::java::lang::String * dumpString(JArray< jbyte > *);
|
||||
static ::java::lang::String * dumpString(JArray< jbyte > *, ::java::lang::String *);
|
||||
static ::java::lang::String * dumpString(JArray< jbyte > *, jint, jint);
|
||||
static ::java::lang::String * byteToString(jint);
|
||||
static ::java::lang::String * toBase64(JArray< jbyte > *);
|
||||
static JArray< jbyte > * fromBase64(::java::lang::String *);
|
||||
static JArray< jbyte > * trim(::java::math::BigInteger *);
|
||||
static ::java::lang::String * dump(::java::math::BigInteger *);
|
||||
private:
|
||||
static JArray< jchar > * HEX_DIGITS;
|
||||
static ::java::lang::String * BASE64_CHARS;
|
||||
static JArray< jchar > * BASE64_CHARSET;
|
||||
public:
|
||||
static ::java::lang::Class class$;
|
||||
};
|
||||
|
||||
#endif // __gnu_java_security_util_Util__
|
||||
Reference in New Issue
Block a user