SRP.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_sasl_srp_SRP__
  3. #define __gnu_javax_crypto_sasl_srp_SRP__
  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 hash
  16. {
  17. class IMessageDigest;
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace crypto
  24. {
  25. namespace sasl
  26. {
  27. namespace srp
  28. {
  29. class SRP;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. namespace java
  36. {
  37. namespace math
  38. {
  39. class BigInteger;
  40. }
  41. }
  42. }
  43. class gnu::javax::crypto::sasl::srp::SRP : public ::java::lang::Object
  44. {
  45. SRP(::gnu::java::security::hash::IMessageDigest *);
  46. public:
  47. static ::gnu::javax::crypto::sasl::srp::SRP * instance(::java::lang::String *);
  48. private:
  49. static JArray< jbyte > * xor$(JArray< jbyte > *, JArray< jbyte > *, jint);
  50. public:
  51. ::java::lang::String * getAlgorithm();
  52. ::gnu::java::security::hash::IMessageDigest * newDigest();
  53. JArray< jbyte > * digest(JArray< jbyte > *);
  54. JArray< jbyte > * digest(::java::lang::String *);
  55. JArray< jbyte > * xor$(JArray< jbyte > *, JArray< jbyte > *);
  56. JArray< jbyte > * generateM1(::java::math::BigInteger *, ::java::math::BigInteger *, ::java::lang::String *, JArray< jbyte > *, ::java::math::BigInteger *, ::java::math::BigInteger *, JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *, JArray< jbyte > *, JArray< jbyte > *);
  57. JArray< jbyte > * generateM2(::java::math::BigInteger *, JArray< jbyte > *, JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, JArray< jbyte > *, jint, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
  58. JArray< jbyte > * generateKn(JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
  59. JArray< jbyte > * computeX(JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *);
  60. JArray< jbyte > * computeX(JArray< jbyte > *, ::java::lang::String *, JArray< jbyte > *);
  61. private:
  62. JArray< jbyte > * computeX(JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *);
  63. static ::java::util::HashMap * algorithms;
  64. static const jbyte COLON = 58;
  65. ::gnu::java::security::hash::IMessageDigest * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mda;
  66. public:
  67. static ::java::lang::Class class$;
  68. };
  69. #endif // __gnu_javax_crypto_sasl_srp_SRP__