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__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
39 class gnu::java::security::der::DERWriter
: public ::java::lang::Object
44 static jint
write(::java::io::OutputStream
*, ::gnu::java::security::der::DERValue
*);
45 static jint
definiteEncodingSize(jint
);
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
);
61 static ::java::lang::Class
class$
;
64 #endif // __gnu_java_security_der_DERWriter__