
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_net_ssl_provider_XMLSessionContext__
#define __gnu_javax_net_ssl_provider_XMLSessionContext__

#pragma interface

#include <gnu/javax/net/ssl/provider/SessionContext.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
        namespace prng
        {
            class IRandom;
        }
      }
    }
    namespace javax
    {
      namespace net
      {
        namespace ssl
        {
          namespace provider
          {
              class Session;
              class Session$ID;
              class XMLSessionContext;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class SecureRandom;
    }
  }
}

class gnu::javax::net::ssl::provider::XMLSessionContext : public ::gnu::javax::net::ssl::provider::SessionContext
{

public: // actually package-private
  XMLSessionContext();
  virtual jboolean addSession(::gnu::javax::net::ssl::provider::Session$ID *, ::gnu::javax::net::ssl::provider::Session *);
  virtual void notifyAccess(::gnu::javax::net::ssl::provider::Session *);
  virtual jboolean removeSession(::gnu::javax::net::ssl::provider::Session$ID *);
private:
  void decode();
  void encode();
  ::java::io::File * __attribute__((aligned(__alignof__( ::gnu::javax::net::ssl::provider::SessionContext)))) file;
  ::gnu::java::security::prng::IRandom * pbekdf;
  jboolean compress;
  ::java::security::SecureRandom * random;
  jboolean encoding;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_net_ssl_provider_XMLSessionContext__
