aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/util/Base64.h
blob: e75b6b57b060ca36f3a7d7e9f4ec7ff9e5ad9c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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__