OutputSecurityParameters.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_OutputSecurityParameters__
  3. #define __gnu_javax_net_ssl_provider_OutputSecurityParameters__
  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 javax
  19. {
  20. namespace net
  21. {
  22. namespace ssl
  23. {
  24. namespace provider
  25. {
  26. class CipherSuite;
  27. class ContentType;
  28. class OutputSecurityParameters;
  29. class SessionImpl;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. namespace java
  36. {
  37. namespace nio
  38. {
  39. class ByteBuffer;
  40. }
  41. }
  42. namespace javax
  43. {
  44. namespace crypto
  45. {
  46. class Cipher;
  47. class Mac;
  48. }
  49. }
  50. }
  51. class gnu::javax::net::ssl::provider::OutputSecurityParameters : public ::java::lang::Object
  52. {
  53. public:
  54. OutputSecurityParameters(::javax::crypto::Cipher *, ::javax::crypto::Mac *, ::java::util::zip::Deflater *, ::gnu::javax::net::ssl::provider::SessionImpl *, ::gnu::javax::net::ssl::provider::CipherSuite *);
  55. virtual JArray< jint > * encrypt(JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::gnu::javax::net::ssl::provider::ContentType *, ::java::nio::ByteBuffer *);
  56. public: // actually package-private
  57. virtual ::gnu::javax::net::ssl::provider::CipherSuite * suite();
  58. virtual jboolean needToSplitPayload();
  59. private:
  60. static ::gnu::classpath::debug::SystemLogger * logger;
  61. ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
  62. ::javax::crypto::Mac * mac;
  63. ::java::util::zip::Deflater * deflater;
  64. ::gnu::javax::net::ssl::provider::SessionImpl * session;
  65. ::gnu::javax::net::ssl::provider::CipherSuite * suite__;
  66. jlong sequence;
  67. public: // actually package-private
  68. static jboolean enableCBCProtection;
  69. public:
  70. static ::java::lang::Class class$;
  71. };
  72. #endif // __gnu_javax_net_ssl_provider_OutputSecurityParameters__