summaryrefslogtreecommitdiff
path: root/libjava/java/security/KeyFactory.h
blob: adcec17f7abff55fb0c5f4613e15f67659f5beb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_KeyFactory__
#define __java_security_KeyFactory__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace security
    {
        class Key;
        class KeyFactory;
        class KeyFactorySpi;
        class PrivateKey;
        class Provider;
        class PublicKey;
      namespace spec
      {
          class KeySpec;
      }
    }
  }
}

class java::security::KeyFactory : public ::java::lang::Object
{

public: // actually protected
  KeyFactory(::java::security::KeyFactorySpi *, ::java::security::Provider *, ::java::lang::String *);
public:
  static ::java::security::KeyFactory * getInstance(::java::lang::String *);
  static ::java::security::KeyFactory * getInstance(::java::lang::String *, ::java::lang::String *);
  static ::java::security::KeyFactory * getInstance(::java::lang::String *, ::java::security::Provider *);
  virtual ::java::security::Provider * getProvider();
  virtual ::java::lang::String * getAlgorithm();
  virtual ::java::security::PublicKey * generatePublic(::java::security::spec::KeySpec *);
  virtual ::java::security::PrivateKey * generatePrivate(::java::security::spec::KeySpec *);
  virtual ::java::security::spec::KeySpec * getKeySpec(::java::security::Key *, ::java::lang::Class *);
  virtual ::java::security::Key * translateKey(::java::security::Key *);
private:
  static ::java::lang::String * KEY_FACTORY;
  ::java::security::KeyFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyFacSpi;
  ::java::security::Provider * provider;
  ::java::lang::String * algorithm;
public:
  static ::java::lang::Class class$;
};

#endif // __java_security_KeyFactory__