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

#ifndef __java_security_SecureRandom__
#define __java_security_SecureRandom__

#pragma interface

#include <java/util/Random.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace security
    {
      class SecureRandom;
      class SecureRandomSpi;
      class Provider;
      class MessageDigest;
    }
  }
};

class ::java::security::SecureRandom : public ::java::util::Random
{
public:
  SecureRandom ();
  SecureRandom (jbyteArray);
public:  // actually protected
  SecureRandom (::java::security::SecureRandomSpi *, ::java::security::Provider *);
public:
  static ::java::security::SecureRandom *getInstance (::java::lang::String *);
  static ::java::security::SecureRandom *getInstance (::java::lang::String *, ::java::lang::String *);
  ::java::security::Provider *getProvider () { return provider; }
  virtual void setSeed (jbyteArray);
  virtual void setSeed (jlong);
  virtual void nextBytes (jbyteArray);
public:  // actually protected
  jint next (jint);
public:
  static jbyteArray getSeed (jint);
  virtual jbyteArray generateSeed (jint);
public: // actually package-private
  jlong counter;
  ::java::security::MessageDigest *digest;
  ::java::security::Provider *provider;
  jbyteArray randomBytes;
  jint randomBytesUsed;
  ::java::security::SecureRandomSpi *secureRandomSpi;
  jbyteArray state;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_security_SecureRandom__ */
