OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / javax / net / ssl / provider / JCESecurityParameters.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_javax_net_ssl_provider_JCESecurityParameters__
5 #define __gnu_javax_net_ssl_provider_JCESecurityParameters__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace javax
17     {
18       namespace net
19       {
20         namespace ssl
21         {
22           namespace provider
23           {
24               class ContentType;
25               class JCESecurityParameters;
26               class ProtocolVersion;
27           }
28         }
29       }
30     }
31   }
32   namespace javax
33   {
34     namespace crypto
35     {
36         class Cipher;
37         class Mac;
38     }
39   }
40 }
41
42 class gnu::javax::net::ssl::provider::JCESecurityParameters : public ::java::lang::Object
43 {
44
45 public: // actually package-private
46   JCESecurityParameters();
47 public:
48   virtual void reset();
49   virtual void setInCipher(::java::lang::Object *);
50   virtual void setOutCipher(::java::lang::Object *);
51   virtual void setInMac(::java::lang::Object *);
52   virtual void setOutMac(::java::lang::Object *);
53   virtual void setDeflating(jboolean);
54   virtual void setInflating(jboolean);
55   virtual jint getFragmentLength();
56   virtual void setFragmentLength(jint);
57   virtual ::gnu::javax::net::ssl::provider::ProtocolVersion * getVersion();
58   virtual void setVersion(::gnu::javax::net::ssl::provider::ProtocolVersion *);
59   virtual JArray< jbyte > * decrypt(JArray< jbyte > *, ::gnu::javax::net::ssl::provider::ProtocolVersion *, ::gnu::javax::net::ssl::provider::ContentType *);
60   virtual JArray< jbyte > * encrypt(JArray< jbyte > *, jint, jint, ::gnu::javax::net::ssl::provider::ContentType *);
61 private:
62   ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) inCipher;
63   ::javax::crypto::Cipher * outCipher;
64   ::javax::crypto::Mac * inMac;
65   ::javax::crypto::Mac * outMac;
66   ::java::util::zip::Inflater * inflater;
67   ::java::util::zip::Deflater * deflater;
68   jint fragmentLength;
69   jlong inSequence;
70   jlong outSequence;
71   ::gnu::javax::net::ssl::provider::ProtocolVersion * version;
72 public:
73   static ::java::lang::Class class$;
74 };
75
76 #endif // __gnu_javax_net_ssl_provider_JCESecurityParameters__