ElGamalReceiver.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_key_dh_ElGamalReceiver__
  3. #define __gnu_javax_crypto_key_dh_ElGamalReceiver__
  4. #pragma interface
  5. #include <gnu/javax/crypto/key/dh/ElGamalKeyAgreement.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace javax
  11. {
  12. namespace crypto
  13. {
  14. namespace key
  15. {
  16. class IncomingMessage;
  17. class OutgoingMessage;
  18. namespace dh
  19. {
  20. class ElGamalReceiver;
  21. }
  22. }
  23. }
  24. }
  25. }
  26. namespace javax
  27. {
  28. namespace crypto
  29. {
  30. namespace interfaces
  31. {
  32. class DHPrivateKey;
  33. }
  34. }
  35. }
  36. }
  37. class gnu::javax::crypto::key::dh::ElGamalReceiver : public ::gnu::javax::crypto::key::dh::ElGamalKeyAgreement
  38. {
  39. public:
  40. ElGamalReceiver();
  41. public: // actually protected
  42. virtual void engineInit(::java::util::Map *);
  43. virtual ::gnu::javax::crypto::key::OutgoingMessage * engineProcessMessage(::gnu::javax::crypto::key::IncomingMessage *);
  44. private:
  45. ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *);
  46. ::javax::crypto::interfaces::DHPrivateKey * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::dh::ElGamalKeyAgreement)))) B;
  47. public:
  48. static ::java::lang::Class class$;
  49. };
  50. #endif // __gnu_javax_crypto_key_dh_ElGamalReceiver__