summaryrefslogtreecommitdiff
path: root/libjava/javax/net/ssl/HandshakeCompletedEvent.h
blob: a9c15479aa184246f1382f524a35d6e39a0bbefa (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_HandshakeCompletedEvent__
#define __javax_net_ssl_HandshakeCompletedEvent__

#pragma interface

#include <java/util/EventObject.h>
#include <gcj/array.h>

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

class javax::net::ssl::HandshakeCompletedEvent : public ::java::util::EventObject
{

public:
  HandshakeCompletedEvent(::javax::net::ssl::SSLSocket *, ::javax::net::ssl::SSLSession *);
  virtual ::java::lang::String * getCipherSuite();
  virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
  virtual ::java::security::Principal * getLocalPrincipal();
  virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates();
  virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain();
  virtual ::java::security::Principal * getPeerPrincipal();
  virtual ::javax::net::ssl::SSLSession * getSession();
  virtual ::javax::net::ssl::SSLSocket * getSocket();
private:
  static const jlong serialVersionUID = 7914963744257769778LL;
  ::javax::net::ssl::SSLSession * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) session;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_net_ssl_HandshakeCompletedEvent__