summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/util/Base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/security/util/Base64.h')
-rw-r--r--libjava/gnu/java/security/util/Base64.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/libjava/gnu/java/security/util/Base64.h b/libjava/gnu/java/security/util/Base64.h
new file mode 100644
index 00000000000..e75b6b57b06
--- /dev/null
+++ b/libjava/gnu/java/security/util/Base64.h
@@ -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__