Fix expected messages in test
[official-gcc.git] / libjava / javax / crypto / CipherInputStream.h
blobe4c16e173750736c007922a4eb27cb7f460f9f0c
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_crypto_CipherInputStream__
5 #define __javax_crypto_CipherInputStream__
7 #pragma interface
9 #include <java/io/FilterInputStream.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace crypto
18 class Cipher;
19 class CipherInputStream;
24 class javax::crypto::CipherInputStream : public ::java::io::FilterInputStream
27 public:
28 CipherInputStream(::java::io::InputStream *, ::javax::crypto::Cipher *);
29 public: // actually protected
30 CipherInputStream(::java::io::InputStream *);
31 public:
32 virtual jint available();
33 virtual void close();
34 virtual jint read();
35 virtual jint read(JArray< jbyte > *, jint, jint);
36 virtual jint read(JArray< jbyte > *);
37 virtual jlong skip(jlong);
38 virtual jboolean markSupported();
39 virtual void mark(jint);
40 virtual void reset();
41 private:
42 void nextBlock();
43 static ::java::util::logging::Logger * logger;
44 ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) cipher;
45 JArray< jbyte > * outBuffer;
46 jint outOffset;
47 jboolean isStream;
48 jboolean eof;
49 public:
50 static ::java::lang::Class class$;
53 #endif // __javax_crypto_CipherInputStream__