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

#ifndef __javax_net_ssl_SSLContextSpi__
#define __javax_net_ssl_SSLContextSpi__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class SecureRandom;
    }
  }
  namespace javax
  {
    namespace net
    {
      namespace ssl
      {
          class KeyManager;
          class SSLContextSpi;
          class SSLEngine;
          class SSLServerSocketFactory;
          class SSLSessionContext;
          class SSLSocketFactory;
          class TrustManager;
      }
    }
  }
}

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

public:
  SSLContextSpi();
public: // actually protected
  virtual ::javax::net::ssl::SSLEngine * engineCreateSSLEngine() = 0;
  virtual ::javax::net::ssl::SSLEngine * engineCreateSSLEngine(::java::lang::String *, jint) = 0;
  virtual ::javax::net::ssl::SSLSessionContext * engineGetClientSessionContext() = 0;
  virtual ::javax::net::ssl::SSLSessionContext * engineGetServerSessionContext() = 0;
  virtual ::javax::net::ssl::SSLServerSocketFactory * engineGetServerSocketFactory() = 0;
  virtual ::javax::net::ssl::SSLSocketFactory * engineGetSocketFactory() = 0;
  virtual void engineInit(JArray< ::javax::net::ssl::KeyManager * > *, JArray< ::javax::net::ssl::TrustManager * > *, ::java::security::SecureRandom *) = 0;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_net_ssl_SSLContextSpi__