gcc/libjava/gnu/java/security/util/Base64.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

53 lines
1.3 KiB
C++

// 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__