2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_crypto_KeyAgreementSpi__
5 #define __javax_crypto_KeyAgreementSpi__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
22 class AlgorithmParameterSpec;
30 class KeyAgreementSpi;
36 class javax::crypto::KeyAgreementSpi : public ::java::lang::Object
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;
49 static ::java::lang::Class class$;
52 #endif // __javax_crypto_KeyAgreementSpi__