1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __java_security_KeyPairGenerator__ 5 #define __java_security_KeyPairGenerator__ 6 7 #pragma interface 8 9 #include <java/security/KeyPairGeneratorSpi.h> 10 extern "Java" 11 { 12 namespace java 13 { 14 namespace security 15 { 16 class KeyPair; 17 class KeyPairGenerator; 18 class Provider; 19 class SecureRandom; 20 namespace spec 21 { 22 class AlgorithmParameterSpec; 23 } 24 } 25 } 26 } 27 28 class java::security::KeyPairGenerator : public ::java::security::KeyPairGeneratorSpi 29 { 30 31 public: // actually protected 32 KeyPairGenerator(::java::lang::String *); 33 public: 34 virtual ::java::lang::String * getAlgorithm(); 35 static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *); 36 static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *, ::java::lang::String *); 37 static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *, ::java::security::Provider *); 38 virtual ::java::security::Provider * getProvider(); 39 virtual void initialize(jint); 40 virtual void initialize(jint, ::java::security::SecureRandom *); 41 virtual void initialize(::java::security::spec::AlgorithmParameterSpec *); 42 virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *); 43 virtual ::java::security::KeyPair * genKeyPair(); 44 virtual ::java::security::KeyPair * generateKeyPair(); 45 private: 46 static ::java::lang::String * KEY_PAIR_GENERATOR; 47 public: // actually package-private 48 ::java::security::Provider * __attribute__((aligned(__alignof__( ::java::security::KeyPairGeneratorSpi)))) provider; 49 private: 50 ::java::lang::String * algorithm; 51 public: 52 static ::java::lang::Class class$; 53 }; 54 55 #endif // __java_security_KeyPairGenerator__ 56