mirror of git://gcc.gnu.org/git/gcc.git
55 lines
1.3 KiB
C++
55 lines
1.3 KiB
C++
|
|
// 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__
|