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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [crypto/] [KeyAgreement.h] - Blame information for rev 775

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

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_crypto_KeyAgreement__
5
#define __javax_crypto_KeyAgreement__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace security
17
    {
18
        class Key;
19
        class Provider;
20
        class SecureRandom;
21
      namespace spec
22
      {
23
          class AlgorithmParameterSpec;
24
      }
25
    }
26
  }
27
  namespace javax
28
  {
29
    namespace crypto
30
    {
31
        class KeyAgreement;
32
        class KeyAgreementSpi;
33
        class SecretKey;
34
    }
35
  }
36
}
37
 
38
class javax::crypto::KeyAgreement : public ::java::lang::Object
39
{
40
 
41
public: // actually protected
42
  KeyAgreement(::javax::crypto::KeyAgreementSpi *, ::java::security::Provider *, ::java::lang::String *);
43
public:
44
  static ::javax::crypto::KeyAgreement * getInstance(::java::lang::String *);
45
  static ::javax::crypto::KeyAgreement * getInstance(::java::lang::String *, ::java::lang::String *);
46
  static ::javax::crypto::KeyAgreement * getInstance(::java::lang::String *, ::java::security::Provider *);
47
  virtual ::java::security::Key * doPhase(::java::security::Key *, jboolean);
48
  virtual JArray< jbyte > * generateSecret();
49
  virtual jint generateSecret(JArray< jbyte > *, jint);
50
  virtual ::javax::crypto::SecretKey * generateSecret(::java::lang::String *);
51
  virtual ::java::lang::String * getAlgorithm();
52
  virtual ::java::security::Provider * getProvider();
53
  virtual void init(::java::security::Key *);
54
  virtual void init(::java::security::Key *, ::java::security::SecureRandom *);
55
  virtual void init(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *);
56
  virtual void init(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
57
private:
58
  static ::java::lang::String * SERVICE;
59
  ::javax::crypto::KeyAgreementSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) kaSpi;
60
  ::java::security::Provider * provider;
61
  ::java::lang::String * algorithm;
62
  jboolean virgin;
63
public:
64
  static ::java::lang::Class class$;
65
};
66
 
67
#endif // __javax_crypto_KeyAgreement__

powered by: WebSVN 2.1.0

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