summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/util/Util.h
blob: 5e7764e137c78c05cf03b1e77cc37dcd175ac460 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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__