OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / javax / net / ssl / HandshakeCompletedEvent.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __javax_net_ssl_HandshakeCompletedEvent__
5 #define __javax_net_ssl_HandshakeCompletedEvent__
6
7 #pragma interface
8
9 #include <java/util/EventObject.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace java
15   {
16     namespace security
17     {
18         class Principal;
19       namespace cert
20       {
21           class Certificate;
22       }
23     }
24   }
25   namespace javax
26   {
27     namespace net
28     {
29       namespace ssl
30       {
31           class HandshakeCompletedEvent;
32           class SSLSession;
33           class SSLSocket;
34       }
35     }
36     namespace security
37     {
38       namespace cert
39       {
40           class X509Certificate;
41       }
42     }
43   }
44 }
45
46 class javax::net::ssl::HandshakeCompletedEvent : public ::java::util::EventObject
47 {
48
49 public:
50   HandshakeCompletedEvent(::javax::net::ssl::SSLSocket *, ::javax::net::ssl::SSLSession *);
51   virtual ::java::lang::String * getCipherSuite();
52   virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates();
53   virtual ::java::security::Principal * getLocalPrincipal();
54   virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates();
55   virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain();
56   virtual ::java::security::Principal * getPeerPrincipal();
57   virtual ::javax::net::ssl::SSLSession * getSession();
58   virtual ::javax::net::ssl::SSLSocket * getSocket();
59 private:
60   static const jlong serialVersionUID = 7914963744257769778LL;
61   ::javax::net::ssl::SSLSession * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) session;
62 public:
63   static ::java::lang::Class class$;
64 };
65
66 #endif // __javax_net_ssl_HandshakeCompletedEvent__