summaryrefslogtreecommitdiff
path: root/libjava/javax/crypto/KeyAgreementSpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/crypto/KeyAgreementSpi.h')
-rw-r--r--libjava/javax/crypto/KeyAgreementSpi.h52
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 000000000..e0ac5eb1a
--- /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__