53 lines
1.3 KiB
C
53 lines
1.3 KiB
C
|
|
||
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||
|
|
||
|
#ifndef __javax_crypto_KeyAgreementSpi__
|
||
|
#define __javax_crypto_KeyAgreementSpi__
|
||
|
|
||
|
#pragma interface
|
||
|
|
||
|
#include <java/lang/Object.h>
|
||
|
#include <gcj/array.h>
|
||
|
|
||
|
extern "Java"
|
||
|
{
|
||
|
namespace java
|
||
|
{
|
||
|
namespace security
|
||
|
{
|
||
|
class Key;
|
||
|
class SecureRandom;
|
||
|
namespace spec
|
||
|
{
|
||
|
class AlgorithmParameterSpec;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
namespace javax
|
||
|
{
|
||
|
namespace crypto
|
||
|
{
|
||
|
class KeyAgreementSpi;
|
||
|
class SecretKey;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class javax::crypto::KeyAgreementSpi : public ::java::lang::Object
|
||
|
{
|
||
|
|
||
|
public:
|
||
|
KeyAgreementSpi();
|
||
|
public: // actually protected
|
||
|
virtual ::java::security::Key * engineDoPhase(::java::security::Key *, jboolean) = 0;
|
||
|
virtual JArray< jbyte > * engineGenerateSecret() = 0;
|
||
|
virtual jint engineGenerateSecret(JArray< jbyte > *, jint) = 0;
|
||
|
virtual ::javax::crypto::SecretKey * engineGenerateSecret(::java::lang::String *) = 0;
|
||
|
virtual void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
|
||
|
virtual void engineInit(::java::security::Key *, ::java::security::SecureRandom *) = 0;
|
||
|
public:
|
||
|
static ::java::lang::Class class$;
|
||
|
};
|
||
|
|
||
|
#endif // __javax_crypto_KeyAgreementSpi__
|