Util.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_Util__
  3. #define __gnu_javax_net_ssl_provider_Util__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace net
  14. {
  15. namespace ssl
  16. {
  17. namespace provider
  18. {
  19. class Util;
  20. }
  21. }
  22. }
  23. }
  24. }
  25. namespace java
  26. {
  27. namespace math
  28. {
  29. class BigInteger;
  30. }
  31. namespace nio
  32. {
  33. class ByteBuffer;
  34. }
  35. }
  36. }
  37. class gnu::javax::net::ssl::provider::Util : public ::java::lang::Object
  38. {
  39. Util();
  40. public:
  41. static ::java::lang::Object * wrapBuffer(::java::nio::ByteBuffer *);
  42. static ::java::lang::Object * wrapBuffer(::java::nio::ByteBuffer *, ::java::lang::String *);
  43. static JArray< jbyte > * toByteArray(::java::lang::String *);
  44. static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint);
  45. static ::java::lang::String * toHexString(JArray< jbyte > *);
  46. static ::java::lang::String * toHexString(JArray< jbyte > *, jint, jint, jchar);
  47. static ::java::lang::String * toHexString(JArray< jbyte > *, jchar);
  48. static ::java::lang::String * hexDump(JArray< jbyte > *, jint, jint, ::java::lang::String *);
  49. static ::java::lang::String * hexDump(::java::nio::ByteBuffer *);
  50. static ::java::lang::String * hexDump(::java::nio::ByteBuffer *, ::java::lang::String *);
  51. static ::java::lang::String * hexDump(JArray< jbyte > *, jint, jint);
  52. static ::java::lang::String * hexDump(JArray< jbyte > *, ::java::lang::String *);
  53. static ::java::lang::String * hexDump(JArray< jbyte > *);
  54. static ::java::lang::String * formatInt(jint, jint, jint);
  55. static JArray< jbyte > * concat(JArray< jbyte > *, JArray< jbyte > *);
  56. static JArray< jbyte > * trim(JArray< jbyte > *, jint);
  57. static JArray< jbyte > * trim(JArray< jbyte > *, jint, jint);
  58. static JArray< jbyte > * trim(::java::math::BigInteger *);
  59. static jint unixTime();
  60. public: // actually package-private
  61. static JArray< ::java::lang::Object * > * transform(JArray< ::java::lang::Object * > *, ::java::lang::Class *, ::java::lang::String *, JArray< ::java::lang::Object * > *);
  62. static ::java::lang::String * getProperty(::java::lang::String *);
  63. static ::java::lang::String * getSecurityProperty(::java::lang::String *);
  64. static ::java::lang::String * HEX;
  65. public:
  66. static ::java::lang::Class class$;
  67. };
  68. #endif // __gnu_javax_net_ssl_provider_Util__