summaryrefslogtreecommitdiff
path: root/libjava/javax/crypto/KeyAgreementSpi.h
blob: e0ac5eb1a2eb280eefdac544ec10d33f72c2c784 (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 __javax_crypto_KeyAgreementSpi__
#define __javax_crypto_KeyAgreementSpi__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class Key;
        class SecureRandom;
      namespace spec
      {
          class AlgorithmParameterSpec;
      }
    }
  }
  namespace javax
  {
    namespace crypto
    {
        class KeyAgreementSpi;
        class SecretKey;
    }
  }
}

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

public:
  KeyAgreementSpi();
public: // actually protected
  virtual ::java::security::Key * engineDoPhase(::java::security::Key *, jboolean) = 0;
  virtual JArray< jbyte > * engineGenerateSecret() = 0;
  virtual jint engineGenerateSecret(JArray< jbyte > *, jint) = 0;
  virtual ::javax::crypto::SecretKey * engineGenerateSecret(::java::lang::String *) = 0;
  virtual void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
  virtual void engineInit(::java::security::Key *, ::java::security::SecureRandom *) = 0;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_crypto_KeyAgreementSpi__