2016-07-28 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / libjava / javax / crypto / KeyAgreementSpi.h
blobe0ac5eb1a2eb280eefdac544ec10d33f72c2c784
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_crypto_KeyAgreementSpi__
5 #define __javax_crypto_KeyAgreementSpi__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace security
18 class Key;
19 class SecureRandom;
20 namespace spec
22 class AlgorithmParameterSpec;
26 namespace javax
28 namespace crypto
30 class KeyAgreementSpi;
31 class SecretKey;
36 class javax::crypto::KeyAgreementSpi : public ::java::lang::Object
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$;
52 #endif // __javax_crypto_KeyAgreementSpi__