diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
| commit | 65bf3316cf384588453604be6b4f0ed3751a8b0f (patch) | |
| tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/javax/crypto/KeyAgreementSpi.h | |
| parent | 8fc56618a84446beccd45b80381cdfe0e94050df (diff) | |
| download | ppe42-gcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.tar.gz ppe42-gcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.zip | |
Merged gcj-eclipse branch to trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax/crypto/KeyAgreementSpi.h')
| -rw-r--r-- | libjava/javax/crypto/KeyAgreementSpi.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/libjava/javax/crypto/KeyAgreementSpi.h b/libjava/javax/crypto/KeyAgreementSpi.h new file mode 100644 index 00000000000..e0ac5eb1a2e --- /dev/null +++ b/libjava/javax/crypto/KeyAgreementSpi.h @@ -0,0 +1,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__ |

