InputSecurityParameters.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_InputSecurityParameters__
  3. #define __gnu_javax_net_ssl_provider_InputSecurityParameters__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace classpath
  12. {
  13. namespace debug
  14. {
  15. class SystemLogger;
  16. }
  17. }
  18. namespace java
  19. {
  20. namespace security
  21. {
  22. namespace util
  23. {
  24. class ByteBufferOutputStream;
  25. }
  26. }
  27. }
  28. namespace javax
  29. {
  30. namespace net
  31. {
  32. namespace ssl
  33. {
  34. namespace provider
  35. {
  36. class CipherSuite;
  37. class InputSecurityParameters;
  38. class Record;
  39. class SessionImpl;
  40. }
  41. }
  42. }
  43. }
  44. }
  45. namespace java
  46. {
  47. namespace nio
  48. {
  49. class ByteBuffer;
  50. }
  51. }
  52. namespace javax
  53. {
  54. namespace crypto
  55. {
  56. class Cipher;
  57. class Mac;
  58. }
  59. }
  60. }
  61. class gnu::javax::net::ssl::provider::InputSecurityParameters : public ::java::lang::Object
  62. {
  63. public:
  64. InputSecurityParameters(::javax::crypto::Cipher *, ::javax::crypto::Mac *, ::java::util::zip::Inflater *, ::gnu::javax::net::ssl::provider::SessionImpl *, ::gnu::javax::net::ssl::provider::CipherSuite *);
  65. virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint);
  66. virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, ::gnu::java::security::util::ByteBufferOutputStream *);
  67. private:
  68. jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::gnu::java::security::util::ByteBufferOutputStream *);
  69. public: // actually package-private
  70. virtual ::gnu::javax::net::ssl::provider::CipherSuite * cipherSuite();
  71. private:
  72. static ::gnu::classpath::debug::SystemLogger * logger;
  73. ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
  74. ::javax::crypto::Mac * mac;
  75. ::java::util::zip::Inflater * inflater;
  76. ::gnu::javax::net::ssl::provider::SessionImpl * session;
  77. ::gnu::javax::net::ssl::provider::CipherSuite * suite;
  78. jlong sequence;
  79. public:
  80. static ::java::lang::Class class$;
  81. };
  82. #endif // __gnu_javax_net_ssl_provider_InputSecurityParameters__