summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/mac/MacInputStream.h
blob: 52087df38af8cd836f52d7f478344efad5305185 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_crypto_mac_MacInputStream__
#define __gnu_javax_crypto_mac_MacInputStream__

#pragma interface

#include <java/io/FilterInputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace mac
        {
            class IMac;
            class MacInputStream;
        }
      }
    }
  }
}

class gnu::javax::crypto::mac::MacInputStream : public ::java::io::FilterInputStream
{

public:
  MacInputStream(::java::io::InputStream *, ::gnu::javax::crypto::mac::IMac *);
  virtual ::gnu::javax::crypto::mac::IMac * getMac();
  virtual void setMac(::gnu::javax::crypto::mac::IMac *);
  virtual void on(jboolean);
  virtual jint read();
  virtual jint read(JArray< jbyte > *, jint, jint);
private:
  jboolean __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) digesting;
  ::gnu::javax::crypto::mac::IMac * mac;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_crypto_mac_MacInputStream__