summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/net/ssl/Session.h
blob: 1061db2260fced120325e38c272621ef14930823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_net_ssl_Session__
#define __gnu_javax_net_ssl_Session__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace net
      {
        namespace ssl
        {
            class Session;
            class Session$ID;
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class Principal;
        class SecureRandom;
      namespace cert
      {
          class Certificate;
      }
    }
  }
  namespace javax
  {
    namespace crypto
    {
        class SealedObject;
    }
    namespace net
    {
      namespace ssl
      {
          class SSLSessionContext;
      }
    }
    namespace security
    {
      namespace cert
      {
          class X509Certificate;
      }
    }
  }
}

class gnu::javax::net::ssl::Session : public ::java::lang::Object
{

public: // actually protected
  Session();
public:
  virtual void access();
  virtual jint getApplicationBufferSize();
  virtual ::java::lang::String * getCipherSuite();
  virtual jlong getCreationTime();
  virtual JArray< jbyte > * getId();
  virtual ::gnu::javax::net::ssl::Session$ID * id();
  virtual jlong getLastAccessedTime();
  virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
  virtual ::java::security::Principal * getLocalPrincipal();
  virtual jint getPacketBufferSize();
  virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates();
  virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain();
  virtual ::java::lang::String * getPeerHost();
  virtual jint getPeerPort();
  virtual ::java::security::Principal * getPeerPrincipal();
  virtual ::javax::net::ssl::SSLSessionContext * getSessionContext();
  virtual JArray< ::java::lang::String * > * getValueNames();
  virtual ::java::lang::Object * getValue(::java::lang::String *);
  virtual void invalidate();
  virtual jboolean isValid();
  virtual void putValue(::java::lang::String *, ::java::lang::Object *);
  virtual void removeValue(::java::lang::String *);
  virtual jboolean isTruncatedMac();
  virtual void prepare(JArray< jchar > *) = 0;
  virtual void repair(JArray< jchar > *) = 0;
  virtual ::javax::crypto::SealedObject * privateData() = 0;
  virtual void setPrivateData(::javax::crypto::SealedObject *) = 0;
  virtual ::java::lang::String * getProtocol() = 0;
public: // actually protected
  jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) creationTime;
  jlong lastAccessedTime;
  jint applicationBufferSize;
  ::gnu::javax::net::ssl::Session$ID * sessionId;
  JArray< ::java::security::cert::Certificate * > * localCerts;
  JArray< ::java::security::cert::Certificate * > * peerCerts;
  JArray< ::javax::security::cert::X509Certificate * > * peerCertChain;
  ::java::lang::String * peerHost;
  jint peerPort;
  jboolean peerVerified;
  ::java::util::HashMap * values;
  jboolean valid;
  jboolean truncatedMac;
  ::java::security::SecureRandom * random;
  ::javax::net::ssl::SSLSessionContext * context;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_net_ssl_Session__