summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/der/DERWriter.h
blob: a7ea52c783cbf0f04c6071c30fdede3a6016555f (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_security_der_DERWriter__
#define __gnu_java_security_der_DERWriter__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
          class OID;
        namespace der
        {
            class BitString;
            class DERValue;
            class DERWriter;
        }
      }
    }
  }
  namespace java
  {
    namespace math
    {
        class BigInteger;
    }
  }
}

class gnu::java::security::der::DERWriter : public ::java::lang::Object
{

  DERWriter();
public:
  static jint write(::java::io::OutputStream *, ::gnu::java::security::der::DERValue *);
  static jint definiteEncodingSize(jint);
private:
  static jint writeBoolean(::java::io::OutputStream *, ::java::lang::Boolean *);
  static jint writeInteger(::java::io::OutputStream *, ::java::math::BigInteger *);
  static jint writeSequence(::java::io::OutputStream *, ::java::util::List *);
  static jint writeSet(::java::io::OutputStream *, ::java::util::Set *);
  static jint writeOID(::java::io::OutputStream *, ::gnu::java::security::OID *);
  static jint writeBitString(::java::io::OutputStream *, ::gnu::java::security::der::BitString *);
  static jint writeString(::java::io::OutputStream *, jint, ::java::lang::String *);
  static JArray< jbyte > * toIso88591(::java::lang::String *);
  static JArray< jbyte > * toUtf16Be(::java::lang::String *);
  static JArray< jbyte > * toUtf8(::java::lang::String *);
  static jint writeDate(::java::io::OutputStream *, jint, ::java::util::Date *);
public: // actually package-private
  static void writeLength(::java::io::OutputStream *, jint);
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_der_DERWriter__