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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [crypto/] [Mac.h] - Blame information for rev 759

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_crypto_Mac__
5
#define __javax_crypto_Mac__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace nio
17
    {
18
        class ByteBuffer;
19
    }
20
    namespace security
21
    {
22
        class Key;
23
        class Provider;
24
      namespace spec
25
      {
26
          class AlgorithmParameterSpec;
27
      }
28
    }
29
  }
30
  namespace javax
31
  {
32
    namespace crypto
33
    {
34
        class Mac;
35
        class MacSpi;
36
    }
37
  }
38
}
39
 
40
class javax::crypto::Mac : public ::java::lang::Object
41
{
42
 
43
public: // actually protected
44
  Mac(::javax::crypto::MacSpi *, ::java::security::Provider *, ::java::lang::String *);
45
public:
46
  static ::javax::crypto::Mac * getInstance(::java::lang::String *);
47
  static ::javax::crypto::Mac * getInstance(::java::lang::String *, ::java::lang::String *);
48
  static ::javax::crypto::Mac * getInstance(::java::lang::String *, ::java::security::Provider *);
49
  virtual JArray< jbyte > * doFinal();
50
  virtual JArray< jbyte > * doFinal(JArray< jbyte > *);
51
  virtual void doFinal(JArray< jbyte > *, jint);
52
  virtual ::java::lang::String * getAlgorithm();
53
  virtual jint getMacLength();
54
  virtual ::java::security::Provider * getProvider();
55
  virtual void init(::java::security::Key *);
56
  virtual void init(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *);
57
  virtual void reset();
58
  virtual void update(jbyte);
59
  virtual void update(JArray< jbyte > *);
60
  virtual void update(JArray< jbyte > *, jint, jint);
61
  virtual void update(::java::nio::ByteBuffer *);
62
  virtual ::java::lang::Object * clone();
63
private:
64
  static ::java::lang::String * SERVICE;
65
  ::javax::crypto::MacSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) macSpi;
66
  ::java::security::Provider * provider;
67
  ::java::lang::String * algorithm;
68
  jboolean virgin;
69
public:
70
  static ::java::lang::Class class$;
71
};
72
 
73
#endif // __javax_crypto_Mac__

powered by: WebSVN 2.1.0

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