2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_net_ssl_SSLSession__
5 #define __javax_net_ssl_SSLSession__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
32 class SSLSessionContext
;
39 class X509Certificate
;
45 class javax::net::ssl::SSLSession
: public ::java::lang::Object
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__