gcc/
[official-gcc.git] / libjava / javax / crypto / SecretKeyFactory.h
blob2e10b769c636067a28002fbb42e6de2db1f8e539
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_crypto_SecretKeyFactory__
5 #define __javax_crypto_SecretKeyFactory__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace java
14 namespace security
16 class Provider;
17 namespace spec
19 class KeySpec;
23 namespace javax
25 namespace crypto
27 class SecretKey;
28 class SecretKeyFactory;
29 class SecretKeyFactorySpi;
34 class javax::crypto::SecretKeyFactory : public ::java::lang::Object
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$;
57 #endif // __javax_crypto_SecretKeyFactory__