1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __java_security_KeyFactorySpi__ 5 #define __java_security_KeyFactorySpi__ 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 Key; 17 class KeyFactorySpi; 18 class PrivateKey; 19 class PublicKey; 20 namespace spec 21 { 22 class KeySpec; 23 } 24 } 25 } 26 } 27 28 class java::security::KeyFactorySpi : public ::java::lang::Object 29 { 30 31 public: 32 KeyFactorySpi(); 33 public: // actually protected 34 virtual ::java::security::PublicKey * engineGeneratePublic(::java::security::spec::KeySpec *) = 0; 35 virtual ::java::security::PrivateKey * engineGeneratePrivate(::java::security::spec::KeySpec *) = 0; 36 virtual ::java::security::spec::KeySpec * engineGetKeySpec(::java::security::Key *, ::java::lang::Class *) = 0; 37 virtual ::java::security::Key * engineTranslateKey(::java::security::Key *) = 0; 38 public: 39 static ::java::lang::Class class$; 40 }; 41 42 #endif // __java_security_KeyFactorySpi__ 43