OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / javax / crypto / KeyAgreementSpi.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __javax_crypto_KeyAgreementSpi__
5 #define __javax_crypto_KeyAgreementSpi__
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 security
17     {
18         class Key;
19         class SecureRandom;
20       namespace spec
21       {
22           class AlgorithmParameterSpec;
23       }
24     }
25   }
26   namespace javax
27   {
28     namespace crypto
29     {
30         class KeyAgreementSpi;
31         class SecretKey;
32     }
33   }
34 }
35
36 class javax::crypto::KeyAgreementSpi : public ::java::lang::Object
37 {
38
39 public:
40   KeyAgreementSpi();
41 public: // actually protected
42   virtual ::java::security::Key * engineDoPhase(::java::security::Key *, jboolean) = 0;
43   virtual JArray< jbyte > * engineGenerateSecret() = 0;
44   virtual jint engineGenerateSecret(JArray< jbyte > *, jint) = 0;
45   virtual ::javax::crypto::SecretKey * engineGenerateSecret(::java::lang::String *) = 0;
46   virtual void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
47   virtual void engineInit(::java::security::Key *, ::java::security::SecureRandom *) = 0;
48 public:
49   static ::java::lang::Class class$;
50 };
51
52 #endif // __javax_crypto_KeyAgreementSpi__