summaryrefslogtreecommitdiff
path: root/libjava/javax/net/ssl/SSLSession.h
blob: ade9a0e309d2233d28d1e536497e16bcd85f8c97 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_net_ssl_SSLSession__
#define __javax_net_ssl_SSLSession__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class Principal;
      namespace cert
      {
          class Certificate;
      }
    }
  }
  namespace javax
  {
    namespace net
    {
      namespace ssl
      {
          class SSLSession;
          class SSLSessionContext;
      }
    }
    namespace security
    {
      namespace cert
      {
          class X509Certificate;
      }
    }
  }
}

class javax::net::ssl::SSLSession : public ::java::lang::Object
{

public:
  virtual jint getApplicationBufferSize() = 0;
  virtual ::java::lang::String * getCipherSuite() = 0;
  virtual jlong getCreationTime() = 0;
  virtual JArray< jbyte > * getId() = 0;
  virtual jlong getLastAccessedTime() = 0;
  virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates() = 0;
  virtual ::java::security::Principal * getLocalPrincipal() = 0;
  virtual jint getPacketBufferSize() = 0;
  virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates() = 0;
  virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain() = 0;
  virtual ::java::lang::String * getPeerHost() = 0;
  virtual jint getPeerPort() = 0;
  virtual ::java::security::Principal * getPeerPrincipal() = 0;
  virtual ::java::lang::String * getProtocol() = 0;
  virtual ::javax::net::ssl::SSLSessionContext * getSessionContext() = 0;
  virtual JArray< ::java::lang::String * > * getValueNames() = 0;
  virtual ::java::lang::Object * getValue(::java::lang::String *) = 0;
  virtual void invalidate() = 0;
  virtual jboolean isValid() = 0;
  virtual void putValue(::java::lang::String *, ::java::lang::Object *) = 0;
  virtual void removeValue(::java::lang::String *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __javax_net_ssl_SSLSession__