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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [javax/] [crypto/] [jce/] [DiffieHellmanImpl.h] - Blame information for rev 756

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_crypto_jce_DiffieHellmanImpl__
5
#define __gnu_javax_crypto_jce_DiffieHellmanImpl__
6
 
7
#pragma interface
8
 
9
#include <javax/crypto/KeyAgreementSpi.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 jce
21
        {
22
            class DiffieHellmanImpl;
23
        }
24
      }
25
    }
26
  }
27
  namespace java
28
  {
29
    namespace security
30
    {
31
        class Key;
32
        class SecureRandom;
33
      namespace spec
34
      {
35
          class AlgorithmParameterSpec;
36
      }
37
    }
38
  }
39
  namespace javax
40
  {
41
    namespace crypto
42
    {
43
        class SecretKey;
44
      namespace interfaces
45
      {
46
          class DHPrivateKey;
47
      }
48
    }
49
  }
50
}
51
 
52
class gnu::javax::crypto::jce::DiffieHellmanImpl : public ::javax::crypto::KeyAgreementSpi
53
{
54
 
55
public:
56
  DiffieHellmanImpl();
57
public: // actually protected
58
  ::java::security::Key * engineDoPhase(::java::security::Key *, jboolean);
59
  JArray< jbyte > * engineGenerateSecret();
60
  jint engineGenerateSecret(JArray< jbyte > *, jint);
61
  ::javax::crypto::SecretKey * engineGenerateSecret(::java::lang::String *);
62
  void engineInit(::java::security::Key *, ::java::security::SecureRandom *);
63
  void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
64
private:
65
  void reset();
66
  void checkState();
67
  ::javax::crypto::interfaces::DHPrivateKey * __attribute__((aligned(__alignof__( ::javax::crypto::KeyAgreementSpi)))) key;
68
  JArray< jbyte > * result;
69
  jboolean last_phase_done;
70
public:
71
  static ::java::lang::Class class$;
72
};
73
 
74
#endif // __gnu_javax_crypto_jce_DiffieHellmanImpl__

powered by: WebSVN 2.1.0

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