summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/net/ssl/provider/InputSecurityParameters.h
blob: 2881a0f127571bbbcfd541b30c3f0e0834893ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_net_ssl_provider_InputSecurityParameters__
#define __gnu_javax_net_ssl_provider_InputSecurityParameters__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace classpath
    {
      namespace debug
      {
          class SystemLogger;
      }
    }
    namespace java
    {
      namespace security
      {
        namespace util
        {
            class ByteBufferOutputStream;
        }
      }
    }
    namespace javax
    {
      namespace net
      {
        namespace ssl
        {
          namespace provider
          {
              class CipherSuite;
              class InputSecurityParameters;
              class Record;
              class SessionImpl;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
    }
  }
  namespace javax
  {
    namespace crypto
    {
        class Cipher;
        class Mac;
    }
  }
}

class gnu::javax::net::ssl::provider::InputSecurityParameters : public ::java::lang::Object
{

public:
  InputSecurityParameters(::javax::crypto::Cipher *, ::javax::crypto::Mac *, ::java::util::zip::Inflater *, ::gnu::javax::net::ssl::provider::SessionImpl *, ::gnu::javax::net::ssl::provider::CipherSuite *);
  virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint);
  virtual jint decrypt(::gnu::javax::net::ssl::provider::Record *, ::gnu::java::security::util::ByteBufferOutputStream *);
private:
  jint decrypt(::gnu::javax::net::ssl::provider::Record *, JArray< ::java::nio::ByteBuffer * > *, jint, jint, ::gnu::java::security::util::ByteBufferOutputStream *);
public: // actually package-private
  virtual ::gnu::javax::net::ssl::provider::CipherSuite * cipherSuite();
private:
  static ::gnu::classpath::debug::SystemLogger * logger;
  ::javax::crypto::Cipher * __attribute__((aligned(__alignof__( ::java::lang::Object)))) cipher;
  ::javax::crypto::Mac * mac;
  ::java::util::zip::Inflater * inflater;
  ::gnu::javax::net::ssl::provider::SessionImpl * session;
  ::gnu::javax::net::ssl::provider::CipherSuite * suite;
  jlong sequence;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_net_ssl_provider_InputSecurityParameters__