BaseKeyAgreementParty.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_key_BaseKeyAgreementParty__
  3. #define __gnu_javax_crypto_key_BaseKeyAgreementParty__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace java
  12. {
  13. namespace security
  14. {
  15. namespace prng
  16. {
  17. class IRandom;
  18. }
  19. namespace util
  20. {
  21. class PRNG;
  22. }
  23. }
  24. }
  25. namespace javax
  26. {
  27. namespace crypto
  28. {
  29. namespace key
  30. {
  31. class BaseKeyAgreementParty;
  32. class IncomingMessage;
  33. class OutgoingMessage;
  34. }
  35. }
  36. }
  37. }
  38. namespace java
  39. {
  40. namespace math
  41. {
  42. class BigInteger;
  43. }
  44. namespace security
  45. {
  46. class SecureRandom;
  47. }
  48. }
  49. }
  50. class gnu::javax::crypto::key::BaseKeyAgreementParty : public ::java::lang::Object
  51. {
  52. public: // actually protected
  53. BaseKeyAgreementParty(::java::lang::String *);
  54. public:
  55. virtual ::java::lang::String * name();
  56. virtual void init(::java::util::Map *);
  57. virtual ::gnu::javax::crypto::key::OutgoingMessage * processMessage(::gnu::javax::crypto::key::IncomingMessage *);
  58. virtual jboolean isComplete();
  59. virtual JArray< jbyte > * getSharedSecret();
  60. virtual void reset();
  61. public: // actually protected
  62. virtual void engineInit(::java::util::Map *) = 0;
  63. virtual ::gnu::javax::crypto::key::OutgoingMessage * engineProcessMessage(::gnu::javax::crypto::key::IncomingMessage *) = 0;
  64. virtual JArray< jbyte > * engineSharedSecret() = 0;
  65. virtual void engineReset() = 0;
  66. virtual void nextRandomBytes(JArray< jbyte > *);
  67. private:
  68. ::gnu::java::security::util::PRNG * getDefaultPRNG();
  69. public: // actually protected
  70. static ::java::math::BigInteger * TWO;
  71. ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name__;
  72. jboolean initialised;
  73. jint step;
  74. jboolean complete;
  75. ::java::security::SecureRandom * rnd;
  76. ::gnu::java::security::prng::IRandom * irnd;
  77. private:
  78. ::gnu::java::security::util::PRNG * prng;
  79. public:
  80. static ::java::lang::Class class$;
  81. };
  82. #endif // __gnu_javax_crypto_key_BaseKeyAgreementParty__