gcc/libjava/java/security/KeyPairGenerator.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

56 lines
1.8 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_security_KeyPairGenerator__
#define __java_security_KeyPairGenerator__
#pragma interface
#include <java/security/KeyPairGeneratorSpi.h>
extern "Java"
{
namespace java
{
namespace security
{
class KeyPair;
class KeyPairGenerator;
class Provider;
class SecureRandom;
namespace spec
{
class AlgorithmParameterSpec;
}
}
}
}
class java::security::KeyPairGenerator : public ::java::security::KeyPairGeneratorSpi
{
public: // actually protected
KeyPairGenerator(::java::lang::String *);
public:
virtual ::java::lang::String * getAlgorithm();
static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *);
static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *, ::java::lang::String *);
static ::java::security::KeyPairGenerator * getInstance(::java::lang::String *, ::java::security::Provider *);
virtual ::java::security::Provider * getProvider();
virtual void initialize(jint);
virtual void initialize(jint, ::java::security::SecureRandom *);
virtual void initialize(::java::security::spec::AlgorithmParameterSpec *);
virtual void initialize(::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
virtual ::java::security::KeyPair * genKeyPair();
virtual ::java::security::KeyPair * generateKeyPair();
private:
static ::java::lang::String * KEY_PAIR_GENERATOR;
public: // actually package-private
::java::security::Provider * __attribute__((aligned(__alignof__( ::java::security::KeyPairGeneratorSpi)))) provider;
private:
::java::lang::String * algorithm;
public:
static ::java::lang::Class class$;
};
#endif // __java_security_KeyPairGenerator__