Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / javax / net / ssl / SSLSession.h
blobade9a0e309d2233d28d1e536497e16bcd85f8c97
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_net_ssl_SSLSession__
5 #define __javax_net_ssl_SSLSession__
7 #pragma interface
9 #include <java/lang/Object.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 SSLSession;
32 class SSLSessionContext;
35 namespace security
37 namespace cert
39 class X509Certificate;
45 class javax::net::ssl::SSLSession : public ::java::lang::Object
48 public:
49 virtual jint getApplicationBufferSize() = 0;
50 virtual ::java::lang::String * getCipherSuite() = 0;
51 virtual jlong getCreationTime() = 0;
52 virtual JArray< jbyte > * getId() = 0;
53 virtual jlong getLastAccessedTime() = 0;
54 virtual JArray< ::java::security::cert::Certificate * > * getLocalCertificates() = 0;
55 virtual ::java::security::Principal * getLocalPrincipal() = 0;
56 virtual jint getPacketBufferSize() = 0;
57 virtual JArray< ::java::security::cert::Certificate * > * getPeerCertificates() = 0;
58 virtual JArray< ::javax::security::cert::X509Certificate * > * getPeerCertificateChain() = 0;
59 virtual ::java::lang::String * getPeerHost() = 0;
60 virtual jint getPeerPort() = 0;
61 virtual ::java::security::Principal * getPeerPrincipal() = 0;
62 virtual ::java::lang::String * getProtocol() = 0;
63 virtual ::javax::net::ssl::SSLSessionContext * getSessionContext() = 0;
64 virtual JArray< ::java::lang::String * > * getValueNames() = 0;
65 virtual ::java::lang::Object * getValue(::java::lang::String *) = 0;
66 virtual void invalidate() = 0;
67 virtual jboolean isValid() = 0;
68 virtual void putValue(::java::lang::String *, ::java::lang::Object *) = 0;
69 virtual void removeValue(::java::lang::String *) = 0;
70 static ::java::lang::Class class$;
71 } __attribute__ ((java_interface));
73 #endif // __javax_net_ssl_SSLSession__