OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [security/] [SecureRandom.h] - Blame information for rev 848

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_security_SecureRandom__
5
#define __java_security_SecureRandom__
6
 
7
#pragma interface
8
 
9
#include <java/util/Random.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace security
17
    {
18
        class Provider;
19
        class SecureRandom;
20
        class SecureRandomSpi;
21
    }
22
  }
23
}
24
 
25
class java::security::SecureRandom : public ::java::util::Random
26
{
27
 
28
public:
29
  SecureRandom();
30
  SecureRandom(JArray< jbyte > *);
31
public: // actually protected
32
  SecureRandom(::java::security::SecureRandomSpi *, ::java::security::Provider *);
33
private:
34
  SecureRandom(::java::security::SecureRandomSpi *, ::java::security::Provider *, ::java::lang::String *);
35
public:
36
  static ::java::security::SecureRandom * getInstance(::java::lang::String *);
37
  static ::java::security::SecureRandom * getInstance(::java::lang::String *, ::java::lang::String *);
38
  static ::java::security::SecureRandom * getInstance(::java::lang::String *, ::java::security::Provider *);
39
  virtual ::java::security::Provider * getProvider();
40
  virtual ::java::lang::String * getAlgorithm();
41
  virtual void setSeed(JArray< jbyte > *);
42
  virtual void setSeed(jlong);
43
  virtual void nextBytes(JArray< jbyte > *);
44
public: // actually protected
45
  virtual jint next(jint);
46
public:
47
  static JArray< jbyte > * getSeed(jint);
48
  virtual JArray< jbyte > * generateSeed(jint);
49
private:
50
  static ::java::lang::String * SECURE_RANDOM;
51
  static const jlong serialVersionUID = 4940670005562187LL;
52
public: // actually package-private
53
  jlong __attribute__((aligned(__alignof__( ::java::util::Random)))) counter;
54
  ::java::security::Provider * provider;
55
  JArray< jbyte > * randomBytes;
56
  jint randomBytesUsed;
57
  ::java::security::SecureRandomSpi * secureRandomSpi;
58
  JArray< jbyte > * state;
59
private:
60
  ::java::lang::String * algorithm;
61
  jboolean isSeeded;
62
public:
63
  static ::java::lang::Class class$;
64
};
65
 
66
#endif // __java_security_SecureRandom__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.