2010-12-20 Yvan Roux <yvan.roux@st.com>
[official-gcc.git] / libjava / javax / net / ssl / HandshakeCompletedEvent.h
bloba9c15479aa184246f1382f524a35d6e39a0bbefa
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_net_ssl_HandshakeCompletedEvent__
5 #define __javax_net_ssl_HandshakeCompletedEvent__
7 #pragma interface
9 #include <java/util/EventObject.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace security
18 class Principal;
19 namespace cert
21 class Certificate;
25 namespace javax
27 namespace net
29 namespace ssl
31 class HandshakeCompletedEvent;
32 class SSLSession;
33 class SSLSocket;
36 namespace security
38 namespace cert
40 class X509Certificate;
46 class javax::net::ssl::HandshakeCompletedEvent : public ::java::util::EventObject
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$;
66 #endif // __javax_net_ssl_HandshakeCompletedEvent__