summaryrefslogtreecommitdiff
path: root/libjava/javax/crypto/ExemptionMechanism.h
blob: 65a0454661c91722c8540f9d612b03a6925f1cff (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_crypto_ExemptionMechanism__
#define __javax_crypto_ExemptionMechanism__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class AlgorithmParameters;
        class Key;
        class Provider;
      namespace spec
      {
          class AlgorithmParameterSpec;
      }
    }
  }
  namespace javax
  {
    namespace crypto
    {
        class ExemptionMechanism;
        class ExemptionMechanismSpi;
    }
  }
}

class javax::crypto::ExemptionMechanism : public ::java::lang::Object
{

public: // actually protected
  ExemptionMechanism(::javax::crypto::ExemptionMechanismSpi *, ::java::security::Provider *, ::java::lang::String *);
public:
  static ::javax::crypto::ExemptionMechanism * getInstance(::java::lang::String *);
  static ::javax::crypto::ExemptionMechanism * getInstance(::java::lang::String *, ::java::lang::String *);
  static ::javax::crypto::ExemptionMechanism * getInstance(::java::lang::String *, ::java::security::Provider *);
  virtual JArray< jbyte > * genExemptionBlob();
  virtual jint genExemptionBlob(JArray< jbyte > *);
  virtual jint genExemptionBlob(JArray< jbyte > *, jint);
  virtual ::java::lang::String * getName();
  virtual jint getOutputSize(jint);
  virtual ::java::security::Provider * getProvider();
  virtual void init(::java::security::Key *);
  virtual void init(::java::security::Key *, ::java::security::AlgorithmParameters *);
  virtual void init(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *);
  virtual jboolean isCryptoAllowed(::java::security::Key *);
public: // actually protected
  virtual void finalize();
private:
  static ::java::lang::String * SERVICE;
  ::javax::crypto::ExemptionMechanismSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) emSpi;
  ::java::security::Provider * provider;
  ::java::lang::String * mechanism;
  jboolean virgin;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_crypto_ExemptionMechanism__