OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [jce/] [cipher/] [CipherAdapter.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_javax_crypto_jce_cipher_CipherAdapter__
5
#define __gnu_javax_crypto_jce_cipher_CipherAdapter__
6
 
7
#pragma interface
8
 
9
#include <javax/crypto/CipherSpi.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace javax
17
    {
18
      namespace crypto
19
      {
20
        namespace cipher
21
        {
22
            class IBlockCipher;
23
        }
24
        namespace jce
25
        {
26
          namespace cipher
27
          {
28
              class CipherAdapter;
29
          }
30
        }
31
        namespace mode
32
        {
33
            class IMode;
34
        }
35
        namespace pad
36
        {
37
            class IPad;
38
        }
39
      }
40
    }
41
  }
42
  namespace java
43
  {
44
    namespace security
45
    {
46
        class AlgorithmParameters;
47
        class Key;
48
        class SecureRandom;
49
      namespace spec
50
      {
51
          class AlgorithmParameterSpec;
52
      }
53
    }
54
  }
55
}
56
 
57
class gnu::javax::crypto::jce::cipher::CipherAdapter : public ::javax::crypto::CipherSpi
58
{
59
 
60
public: // actually protected
61
  CipherAdapter(::java::lang::String *, jint);
62
  CipherAdapter(::java::lang::String *);
63
  virtual void engineSetMode(::java::lang::String *);
64
  virtual void engineSetPadding(::java::lang::String *);
65
  virtual jint engineGetBlockSize();
66
  virtual jint engineGetOutputSize(jint);
67
  virtual JArray< jbyte > * engineGetIV();
68
  virtual ::java::security::AlgorithmParameters * engineGetParameters();
69
  virtual void engineInit(jint, ::java::security::Key *, ::java::security::SecureRandom *);
70
private:
71
  void engineInitHandler(jint, ::java::security::Key *, ::java::security::SecureRandom *);
72
public: // actually protected
73
  virtual void engineInit(jint, ::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
74
  virtual void engineInit(jint, ::java::security::Key *, ::java::security::AlgorithmParameters *, ::java::security::SecureRandom *);
75
  virtual JArray< jbyte > * engineUpdate(JArray< jbyte > *, jint, jint);
76
  virtual jint engineUpdate(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint);
77
  virtual JArray< jbyte > * engineDoFinal(JArray< jbyte > *, jint, jint);
78
  virtual jint engineDoFinal(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint);
79
private:
80
  void reset();
81
public: // actually protected
82
  ::gnu::javax::crypto::cipher::IBlockCipher * __attribute__((aligned(__alignof__( ::javax::crypto::CipherSpi)))) cipher;
83
  ::gnu::javax::crypto::mode::IMode * mode;
84
  ::gnu::javax::crypto::pad::IPad * pad;
85
  jint keyLen;
86
  ::java::util::Map * attributes;
87
  JArray< jbyte > * partBlock;
88
  jint partLen;
89
  jint blockLen;
90
public:
91
  static ::java::lang::Class class$;
92
};
93
 
94
#endif // __gnu_javax_crypto_jce_cipher_CipherAdapter__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.