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

#ifndef __gnu_javax_net_ssl_provider_SSLContextImpl__
#define __gnu_javax_net_ssl_provider_SSLContextImpl__

#pragma interface

#include <javax/net/ssl/SSLContextSpi.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace net
      {
        namespace ssl
        {
            class AbstractSessionContext;
            class PreSharedKeyManager;
            class SRPTrustManager;
          namespace provider
          {
              class SSLContextImpl;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class SecureRandom;
    }
  }
  namespace javax
  {
    namespace net
    {
      namespace ssl
      {
          class KeyManager;
          class SSLEngine;
          class SSLServerSocketFactory;
          class SSLSessionContext;
          class SSLSocketFactory;
          class TrustManager;
          class X509ExtendedKeyManager;
          class X509TrustManager;
      }
    }
  }
}

class gnu::javax::net::ssl::provider::SSLContextImpl : public ::javax::net::ssl::SSLContextSpi
{

public:
  SSLContextImpl();
public: // actually protected
  ::javax::net::ssl::SSLEngine * engineCreateSSLEngine();
  ::javax::net::ssl::SSLEngine * engineCreateSSLEngine(::java::lang::String *, jint);
  ::javax::net::ssl::SSLSessionContext * engineGetClientSessionContext();
  ::javax::net::ssl::SSLSessionContext * engineGetServerSessionContext();
  ::javax::net::ssl::SSLServerSocketFactory * engineGetServerSocketFactory();
  ::javax::net::ssl::SSLSocketFactory * engineGetSocketFactory();
  void engineInit(JArray< ::javax::net::ssl::KeyManager * > *, JArray< ::javax::net::ssl::TrustManager * > *, ::java::security::SecureRandom *);
private:
  ::javax::net::ssl::X509ExtendedKeyManager * defaultKeyManager();
  ::javax::net::ssl::X509TrustManager * defaultTrustManager();
  ::java::security::SecureRandom * defaultRandom();
public: // actually package-private
  ::gnu::javax::net::ssl::AbstractSessionContext * __attribute__((aligned(__alignof__( ::javax::net::ssl::SSLContextSpi)))) serverContext;
  ::gnu::javax::net::ssl::AbstractSessionContext * clientContext;
  ::gnu::javax::net::ssl::PreSharedKeyManager * pskManager;
  ::javax::net::ssl::X509ExtendedKeyManager * keyManager;
  ::javax::net::ssl::X509TrustManager * trustManager;
  ::gnu::javax::net::ssl::SRPTrustManager * srpTrustManager;
  ::java::security::SecureRandom * random;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_net_ssl_provider_SSLContextImpl__