2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_crypto_KeyAgreement__
5 #define __javax_crypto_KeyAgreement__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
23 class AlgorithmParameterSpec
;
32 class KeyAgreementSpi
;
38 class javax::crypto::KeyAgreement
: public ::java::lang::Object
41 public: // actually protected
42 KeyAgreement(::javax::crypto::KeyAgreementSpi
*, ::java::security::Provider
*, ::java::lang::String
*);
44 static ::javax::crypto::KeyAgreement
* getInstance(::java::lang::String
*);
45 static ::javax::crypto::KeyAgreement
* getInstance(::java::lang::String
*, ::java::lang::String
*);
46 static ::javax::crypto::KeyAgreement
* getInstance(::java::lang::String
*, ::java::security::Provider
*);
47 virtual ::java::security::Key
* doPhase(::java::security::Key
*, jboolean
);
48 virtual JArray
< jbyte
> * generateSecret();
49 virtual jint
generateSecret(JArray
< jbyte
> *, jint
);
50 virtual ::javax::crypto::SecretKey
* generateSecret(::java::lang::String
*);
51 virtual ::java::lang::String
* getAlgorithm();
52 virtual ::java::security::Provider
* getProvider();
53 virtual void init(::java::security::Key
*);
54 virtual void init(::java::security::Key
*, ::java::security::SecureRandom
*);
55 virtual void init(::java::security::Key
*, ::java::security::spec::AlgorithmParameterSpec
*);
56 virtual void init(::java::security::Key
*, ::java::security::spec::AlgorithmParameterSpec
*, ::java::security::SecureRandom
*);
58 static ::java::lang::String
* SERVICE
;
59 ::javax::crypto::KeyAgreementSpi
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) kaSpi
;
60 ::java::security::Provider
* provider
;
61 ::java::lang::String
* algorithm
;
64 static ::java::lang::Class
class$
;
67 #endif // __javax_crypto_KeyAgreement__