KeyAgreementSpi.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_crypto_KeyAgreementSpi__
  3. #define __javax_crypto_KeyAgreementSpi__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace security
  12. {
  13. class Key;
  14. class SecureRandom;
  15. namespace spec
  16. {
  17. class AlgorithmParameterSpec;
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace crypto
  24. {
  25. class KeyAgreementSpi;
  26. class SecretKey;
  27. }
  28. }
  29. }
  30. class javax::crypto::KeyAgreementSpi : public ::java::lang::Object
  31. {
  32. public:
  33. KeyAgreementSpi();
  34. public: // actually protected
  35. virtual ::java::security::Key * engineDoPhase(::java::security::Key *, jboolean) = 0;
  36. virtual JArray< jbyte > * engineGenerateSecret() = 0;
  37. virtual jint engineGenerateSecret(JArray< jbyte > *, jint) = 0;
  38. virtual ::javax::crypto::SecretKey * engineGenerateSecret(::java::lang::String *) = 0;
  39. virtual void engineInit(::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
  40. virtual void engineInit(::java::security::Key *, ::java::security::SecureRandom *) = 0;
  41. public:
  42. static ::java::lang::Class class$;
  43. };
  44. #endif // __javax_crypto_KeyAgreementSpi__