summaryrefslogtreecommitdiff
path: root/libjava/javax/net/ssl/HttpsURLConnection.h
blob: 3f016541938e3af2c420a9a62163fcb525864242 (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_HttpsURLConnection__
#define __javax_net_ssl_HttpsURLConnection__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace net
    {
        class URL;
    }
    namespace security
    {
        class Principal;
      namespace cert
      {
          class Certificate;
      }
    }
  }
  namespace javax
  {
    namespace net
    {
      namespace ssl
      {
          class HostnameVerifier;
          class HttpsURLConnection;
          class SSLSocketFactory;
      }
    }
  }
}

class javax::net::ssl::HttpsURLConnection : public ::java::net::HttpURLConnection
{

public: // actually protected
  HttpsURLConnection(::java::net::URL *);
public:
  static ::javax::net::ssl::HostnameVerifier * getDefaultHostnameVerifier();
  static void setDefaultHostnameVerifier(::javax::net::ssl::HostnameVerifier *);
  static ::javax::net::ssl::SSLSocketFactory * getDefaultSSLSocketFactory();
  static void setDefaultSSLSocketFactory(::javax::net::ssl::SSLSocketFactory *);
  virtual ::javax::net::ssl::HostnameVerifier * getHostnameVerifier();
  virtual void setHostnameVerifier(::javax::net::ssl::HostnameVerifier *);
  virtual ::javax::net::ssl::SSLSocketFactory * getSSLSocketFactory();
  virtual void setSSLSocketFactory(::javax::net::ssl::SSLSocketFactory *);
  virtual ::java::security::Principal * getLocalPrincipal();
  virtual ::java::security::Principal * getPeerPrincipal();
  virtual ::java::lang::String * getCipherSuite() = 0;
  virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates() = 0;
  virtual JArray< ::java::security::cert::Certificate * > * getServerCertificates() = 0;
private:
  static ::javax::net::ssl::HostnameVerifier * defaultVerifier;
  static ::javax::net::ssl::SSLSocketFactory * defaultFactory;
public: // actually protected
  ::javax::net::ssl::HostnameVerifier * __attribute__((aligned(__alignof__( ::java::net::HttpURLConnection)))) hostnameVerifier;
private:
  ::javax::net::ssl::SSLSocketFactory * factory;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_net_ssl_HttpsURLConnection__