Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / java / security / der / DERWriter.h
bloba7ea52c783cbf0f04c6071c30fdede3a6016555f
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_java_security_der_DERWriter__
5 #define __gnu_java_security_der_DERWriter__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace java
18 namespace security
20 class OID;
21 namespace der
23 class BitString;
24 class DERValue;
25 class DERWriter;
30 namespace java
32 namespace math
34 class BigInteger;
39 class gnu::java::security::der::DERWriter : public ::java::lang::Object
42 DERWriter();
43 public:
44 static jint write(::java::io::OutputStream *, ::gnu::java::security::der::DERValue *);
45 static jint definiteEncodingSize(jint);
46 private:
47 static jint writeBoolean(::java::io::OutputStream *, ::java::lang::Boolean *);
48 static jint writeInteger(::java::io::OutputStream *, ::java::math::BigInteger *);
49 static jint writeSequence(::java::io::OutputStream *, ::java::util::List *);
50 static jint writeSet(::java::io::OutputStream *, ::java::util::Set *);
51 static jint writeOID(::java::io::OutputStream *, ::gnu::java::security::OID *);
52 static jint writeBitString(::java::io::OutputStream *, ::gnu::java::security::der::BitString *);
53 static jint writeString(::java::io::OutputStream *, jint, ::java::lang::String *);
54 static JArray< jbyte > * toIso88591(::java::lang::String *);
55 static JArray< jbyte > * toUtf16Be(::java::lang::String *);
56 static JArray< jbyte > * toUtf8(::java::lang::String *);
57 static jint writeDate(::java::io::OutputStream *, jint, ::java::util::Date *);
58 public: // actually package-private
59 static void writeLength(::java::io::OutputStream *, jint);
60 public:
61 static ::java::lang::Class class$;
64 #endif // __gnu_java_security_der_DERWriter__