summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/util
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/java/security/util
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/gnu/java/security/util')
-rw-r--r--libjava/gnu/java/security/util/ByteArray.h44
-rw-r--r--libjava/gnu/java/security/util/ByteBufferOutputStream.h54
-rw-r--r--libjava/gnu/java/security/util/DerUtil.h41
-rw-r--r--libjava/gnu/java/security/util/ExpirableObject$Destroyer.h43
-rw-r--r--libjava/gnu/java/security/util/ExpirableObject.h48
-rw-r--r--libjava/gnu/java/security/util/FormatUtil.h38
-rw-r--r--libjava/gnu/java/security/util/IntegerUtil$1.h37
-rw-r--r--libjava/gnu/java/security/util/IntegerUtil.h41
-rw-r--r--libjava/gnu/java/security/util/PRNG.h47
-rw-r--r--libjava/gnu/java/security/util/Prime.h44
-rw-r--r--libjava/gnu/java/security/util/Sequence.h45
-rw-r--r--libjava/gnu/java/security/util/SimpleList.h48
-rw-r--r--libjava/gnu/java/security/util/Util.h72
13 files changed, 602 insertions, 0 deletions
diff --git a/libjava/gnu/java/security/util/ByteArray.h b/libjava/gnu/java/security/util/ByteArray.h
new file mode 100644
index 000000000..6eef185dc
--- /dev/null
+++ b/libjava/gnu/java/security/util/ByteArray.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/ByteBufferOutputStream.h b/libjava/gnu/java/security/util/ByteBufferOutputStream.h
new file mode 100644
index 000000000..cfb43d399
--- /dev/null
+++ b/libjava/gnu/java/security/util/ByteBufferOutputStream.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/DerUtil.h b/libjava/gnu/java/security/util/DerUtil.h
new file mode 100644
index 000000000..42ec67e7e
--- /dev/null
+++ b/libjava/gnu/java/security/util/DerUtil.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/ExpirableObject$Destroyer.h b/libjava/gnu/java/security/util/ExpirableObject$Destroyer.h
new file mode 100644
index 000000000..8d39fbb7d
--- /dev/null
+++ b/libjava/gnu/java/security/util/ExpirableObject$Destroyer.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/ExpirableObject.h b/libjava/gnu/java/security/util/ExpirableObject.h
new file mode 100644
index 000000000..094dc718a
--- /dev/null
+++ b/libjava/gnu/java/security/util/ExpirableObject.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/FormatUtil.h b/libjava/gnu/java/security/util/FormatUtil.h
new file mode 100644
index 000000000..019395d19
--- /dev/null
+++ b/libjava/gnu/java/security/util/FormatUtil.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/IntegerUtil$1.h b/libjava/gnu/java/security/util/IntegerUtil$1.h
new file mode 100644
index 000000000..03d9674f9
--- /dev/null
+++ b/libjava/gnu/java/security/util/IntegerUtil$1.h
@@ -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:
+ virtual jboolean removeEldestEntry(::java::util::Map$Entry *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_security_util_IntegerUtil$1__
diff --git a/libjava/gnu/java/security/util/IntegerUtil.h b/libjava/gnu/java/security/util/IntegerUtil.h
new file mode 100644
index 000000000..96a7b24b2
--- /dev/null
+++ b/libjava/gnu/java/security/util/IntegerUtil.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/PRNG.h b/libjava/gnu/java/security/util/PRNG.h
new file mode 100644
index 000000000..48b45d749
--- /dev/null
+++ b/libjava/gnu/java/security/util/PRNG.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/Prime.h b/libjava/gnu/java/security/util/Prime.h
new file mode 100644
index 000000000..3dd531300
--- /dev/null
+++ b/libjava/gnu/java/security/util/Prime.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/Sequence.h b/libjava/gnu/java/security/util/Sequence.h
new file mode 100644
index 000000000..881c5ff90
--- /dev/null
+++ b/libjava/gnu/java/security/util/Sequence.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/SimpleList.h b/libjava/gnu/java/security/util/SimpleList.h
new file mode 100644
index 000000000..dc3c1c77d
--- /dev/null
+++ b/libjava/gnu/java/security/util/SimpleList.h
@@ -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__
diff --git a/libjava/gnu/java/security/util/Util.h b/libjava/gnu/java/security/util/Util.h
new file mode 100644
index 000000000..5e7764e13
--- /dev/null
+++ b/libjava/gnu/java/security/util/Util.h
@@ -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__