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

#ifndef __gnu_javax_crypto_mode_IAuthenticatedMode__
#define __gnu_javax_crypto_mode_IAuthenticatedMode__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace mode
        {
            class IAuthenticatedMode;
        }
      }
    }
  }
}

class gnu::javax::crypto::mode::IAuthenticatedMode : public ::java::lang::Object
{

public:
  virtual void update(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
  virtual ::java::lang::String * name() = 0;
  virtual jint defaultBlockSize() = 0;
  virtual jint defaultKeySize() = 0;
  virtual ::java::util::Iterator * blockSizes() = 0;
  virtual ::java::util::Iterator * keySizes() = 0;
  virtual void init(::java::util::Map *) = 0;
  virtual jint currentBlockSize() = 0;
  virtual void reset() = 0;
  virtual void encryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
  virtual void decryptBlock(JArray< jbyte > *, jint, JArray< jbyte > *, jint) = 0;
  virtual jboolean selfTest() = 0;
  virtual jint macSize() = 0;
  virtual void update(jbyte) = 0;
  virtual void update(JArray< jbyte > *, jint, jint) = 0;
  virtual JArray< jbyte > * digest() = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __gnu_javax_crypto_mode_IAuthenticatedMode__