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

#ifndef __javax_net_ssl_SSLSocket__
#define __javax_net_ssl_SSLSocket__

#pragma interface

#include <java/net/Socket.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace net
    {
        class InetAddress;
    }
  }
  namespace javax
  {
    namespace net
    {
      namespace ssl
      {
          class HandshakeCompletedListener;
          class SSLSession;
          class SSLSocket;
      }
    }
  }
}

class javax::net::ssl::SSLSocket : public ::java::net::Socket
{

public: // actually protected
  SSLSocket();
  SSLSocket(::java::lang::String *, jint);
  SSLSocket(::java::net::InetAddress *, jint);
  SSLSocket(::java::lang::String *, jint, ::java::net::InetAddress *, jint);
  SSLSocket(::java::net::InetAddress *, jint, ::java::net::InetAddress *, jint);
public:
  virtual void addHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *) = 0;
  virtual void removeHandshakeCompletedListener(::javax::net::ssl::HandshakeCompletedListener *) = 0;
  virtual JArray< ::java::lang::String * > * getEnabledCipherSuites() = 0;
  virtual void setEnabledCipherSuites(JArray< ::java::lang::String * > *) = 0;
  virtual JArray< ::java::lang::String * > * getEnabledProtocols() = 0;
  virtual void setEnabledProtocols(JArray< ::java::lang::String * > *) = 0;
  virtual jboolean getEnableSessionCreation() = 0;
  virtual void setEnableSessionCreation(jboolean) = 0;
  virtual jboolean getNeedClientAuth() = 0;
  virtual void setNeedClientAuth(jboolean) = 0;
  virtual ::javax::net::ssl::SSLSession * getSession() = 0;
  virtual JArray< ::java::lang::String * > * getSupportedCipherSuites() = 0;
  virtual JArray< ::java::lang::String * > * getSupportedProtocols() = 0;
  virtual jboolean getUseClientMode() = 0;
  virtual void setUseClientMode(jboolean) = 0;
  virtual jboolean getWantClientAuth() = 0;
  virtual void setWantClientAuth(jboolean) = 0;
  virtual void startHandshake() = 0;
  static ::java::lang::Class class$;
};

#endif // __javax_net_ssl_SSLSocket__