DiffieHellmanReceiver.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_key_dh_DiffieHellmanReceiver__
  3. #define __gnu_javax_crypto_key_dh_DiffieHellmanReceiver__
  4. #pragma interface
  5. #include <gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.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 DiffieHellmanReceiver;
  21. }
  22. }
  23. }
  24. }
  25. }
  26. namespace java
  27. {
  28. namespace math
  29. {
  30. class BigInteger;
  31. }
  32. }
  33. }
  34. class gnu::javax::crypto::key::dh::DiffieHellmanReceiver : public ::gnu::javax::crypto::key::dh::DiffieHellmanKeyAgreement
  35. {
  36. public:
  37. DiffieHellmanReceiver();
  38. public: // actually protected
  39. virtual void engineInit(::java::util::Map *);
  40. virtual ::gnu::javax::crypto::key::OutgoingMessage * engineProcessMessage(::gnu::javax::crypto::key::IncomingMessage *);
  41. private:
  42. ::gnu::javax::crypto::key::OutgoingMessage * computeSharedSecret(::gnu::javax::crypto::key::IncomingMessage *);
  43. ::java::math::BigInteger * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::key::dh::DiffieHellmanKeyAgreement)))) y;
  44. public:
  45. static ::java::lang::Class class$;
  46. };
  47. #endif // __gnu_javax_crypto_key_dh_DiffieHellmanReceiver__