summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/sasl/srp/ServerStore.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/javax/crypto/sasl/srp/ServerStore.h')
-rw-r--r--libjava/gnu/javax/crypto/sasl/srp/ServerStore.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/sasl/srp/ServerStore.h b/libjava/gnu/javax/crypto/sasl/srp/ServerStore.h
new file mode 100644
index 00000000000..f93429beed7
--- /dev/null
+++ b/libjava/gnu/javax/crypto/sasl/srp/ServerStore.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_crypto_sasl_srp_ServerStore__
+#define __gnu_javax_crypto_sasl_srp_ServerStore__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace crypto
+ {
+ namespace sasl
+ {
+ namespace srp
+ {
+ class SecurityContext;
+ class ServerStore;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::crypto::sasl::srp::ServerStore : public ::java::lang::Object
+{
+
+ ServerStore();
+public: // actually package-private
+ static ::gnu::javax::crypto::sasl::srp::ServerStore * instance();
+ static JArray< jbyte > * getNewSessionID();
+ virtual jboolean isAlive(JArray< jbyte > *);
+ virtual void cacheSession(jint, ::gnu::javax::crypto::sasl::srp::SecurityContext *);
+ virtual ::gnu::javax::crypto::sasl::srp::SecurityContext * restoreSession(JArray< jbyte > *);
+ virtual void invalidateSession(JArray< jbyte > *);
+private:
+ static ::gnu::javax::crypto::sasl::srp::ServerStore * singleton;
+ static ::java::util::HashMap * sid2ssc;
+ static ::java::util::HashMap * sid2ttl;
+ static ::java::lang::Object * lock;
+ static jint counter;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_crypto_sasl_srp_ServerStore__