OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / javax / crypto / SecretKeyFactory.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __javax_crypto_SecretKeyFactory__
5 #define __javax_crypto_SecretKeyFactory__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 extern "Java"
11 {
12   namespace java
13   {
14     namespace security
15     {
16         class Provider;
17       namespace spec
18       {
19           class KeySpec;
20       }
21     }
22   }
23   namespace javax
24   {
25     namespace crypto
26     {
27         class SecretKey;
28         class SecretKeyFactory;
29         class SecretKeyFactorySpi;
30     }
31   }
32 }
33
34 class javax::crypto::SecretKeyFactory : public ::java::lang::Object
35 {
36
37 public: // actually protected
38   SecretKeyFactory(::javax::crypto::SecretKeyFactorySpi *, ::java::security::Provider *, ::java::lang::String *);
39 public:
40   static ::javax::crypto::SecretKeyFactory * getInstance(::java::lang::String *);
41   static ::javax::crypto::SecretKeyFactory * getInstance(::java::lang::String *, ::java::lang::String *);
42   static ::javax::crypto::SecretKeyFactory * getInstance(::java::lang::String *, ::java::security::Provider *);
43   virtual ::javax::crypto::SecretKey * generateSecret(::java::security::spec::KeySpec *);
44   virtual ::java::lang::String * getAlgorithm();
45   virtual ::java::security::spec::KeySpec * getKeySpec(::javax::crypto::SecretKey *, ::java::lang::Class *);
46   virtual ::java::security::Provider * getProvider();
47   virtual ::javax::crypto::SecretKey * translateKey(::javax::crypto::SecretKey *);
48 private:
49   static ::java::lang::String * SERVICE;
50   ::javax::crypto::SecretKeyFactorySpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) skfSpi;
51   ::java::security::Provider * provider;
52   ::java::lang::String * algorithm;
53 public:
54   static ::java::lang::Class class$;
55 };
56
57 #endif // __javax_crypto_SecretKeyFactory__