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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [net/] [ssl/] [provider/] [TLSRandom.h] - Blame information for rev 776

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

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_javax_net_ssl_provider_TLSRandom__
5
#define __gnu_javax_net_ssl_provider_TLSRandom__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace javax
17
    {
18
      namespace crypto
19
      {
20
        namespace mac
21
        {
22
            class IMac;
23
        }
24
      }
25
      namespace net
26
      {
27
        namespace ssl
28
        {
29
          namespace provider
30
          {
31
              class TLSRandom;
32
          }
33
        }
34
      }
35
    }
36
  }
37
}
38
 
39
class gnu::javax::net::ssl::provider::TLSRandom : public ::java::lang::Object
40
{
41
 
42
public: // actually package-private
43
  TLSRandom();
44
public:
45
  virtual ::java::lang::Object * clone();
46
  virtual void init(::java::util::Map *);
47
  virtual ::java::lang::String * name();
48
  virtual jbyte nextByte();
49
  virtual void nextBytes(JArray< jbyte > *, jint, jint);
50
  virtual void addRandomByte(jbyte);
51
  virtual void addRandomBytes(JArray< jbyte > *);
52
  virtual void addRandomBytes(JArray< jbyte > *, jint, jint);
53
private:
54
  void fillBuffer();
55
public: // actually package-private
56
  static ::java::lang::String * SECRET;
57
  static ::java::lang::String * SEED;
58
private:
59
  ::gnu::javax::crypto::mac::IMac * __attribute__((aligned(__alignof__( ::java::lang::Object)))) hmac_sha;
60
  ::gnu::javax::crypto::mac::IMac * hmac_md5;
61
  JArray< jbyte > * sha_a;
62
  JArray< jbyte > * md5_a;
63
  JArray< jbyte > * seed;
64
  JArray< jbyte > * buffer;
65
  jint idx;
66
  jboolean init__;
67
public:
68
  static ::java::lang::Class class$;
69
};
70
 
71
#endif // __gnu_javax_net_ssl_provider_TLSRandom__

powered by: WebSVN 2.1.0

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