Session.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_Session__
  3. #define __gnu_javax_net_ssl_Session__
  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. class Session;
  18. class Session$ID;
  19. }
  20. }
  21. }
  22. }
  23. namespace java
  24. {
  25. namespace security
  26. {
  27. class Principal;
  28. class SecureRandom;
  29. namespace cert
  30. {
  31. class Certificate;
  32. }
  33. }
  34. }
  35. namespace javax
  36. {
  37. namespace crypto
  38. {
  39. class SealedObject;
  40. }
  41. namespace net
  42. {
  43. namespace ssl
  44. {
  45. class SSLSessionContext;
  46. }
  47. }
  48. namespace security
  49. {
  50. namespace cert
  51. {
  52. class X509Certificate;
  53. }
  54. }
  55. }
  56. }
  57. class gnu::javax::net::ssl::Session : public ::java::lang::Object
  58. {
  59. public: // actually protected
  60. Session();
  61. public:
  62. virtual void access();
  63. virtual jint getApplicationBufferSize();
  64. virtual ::java::lang::String * getCipherSuite();
  65. virtual jlong getCreationTime();
  66. virtual JArray< jbyte > * getId();
  67. virtual ::gnu::javax::net::ssl::Session$ID * id();
  68. virtual jlong getLastAccessedTime();
  69. virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
  70. virtual ::java::security::Principal * getLocalPrincipal();
  71. virtual jint getPacketBufferSize();
  72. virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates();
  73. virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain();
  74. virtual ::java::lang::String * getPeerHost();
  75. virtual jint getPeerPort();
  76. virtual ::java::security::Principal * getPeerPrincipal();
  77. virtual ::javax::net::ssl::SSLSessionContext * getSessionContext();
  78. virtual JArray< ::java::lang::String * > * getValueNames();
  79. virtual ::java::lang::Object * getValue(::java::lang::String *);
  80. virtual void invalidate();
  81. virtual jboolean isValid();
  82. virtual void putValue(::java::lang::String *, ::java::lang::Object *);
  83. virtual void removeValue(::java::lang::String *);
  84. virtual jboolean isTruncatedMac();
  85. virtual void prepare(JArray< jchar > *) = 0;
  86. virtual void repair(JArray< jchar > *) = 0;
  87. virtual ::javax::crypto::SealedObject * privateData() = 0;
  88. virtual void setPrivateData(::javax::crypto::SealedObject *) = 0;
  89. virtual ::java::lang::String * getProtocol() = 0;
  90. public: // actually protected
  91. jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) creationTime;
  92. jlong lastAccessedTime;
  93. jint applicationBufferSize;
  94. ::gnu::javax::net::ssl::Session$ID * sessionId;
  95. JArray< ::java::security::cert::Certificate * > * localCerts;
  96. JArray< ::java::security::cert::Certificate * > * peerCerts;
  97. JArray< ::javax::security::cert::X509Certificate * > * peerCertChain;
  98. ::java::lang::String * peerHost;
  99. jint peerPort;
  100. jboolean peerVerified;
  101. ::java::util::HashMap * values;
  102. jboolean valid;
  103. jboolean truncatedMac;
  104. ::java::security::SecureRandom * random;
  105. ::javax::net::ssl::SSLSessionContext * context;
  106. public:
  107. static ::java::lang::Class class$;
  108. };
  109. #endif // __gnu_javax_net_ssl_Session__