summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/sasl/srp/SecurityContext.h
blob: b4b4a222e8cef3387d980f8ffa11ffc55c371ad0 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_crypto_sasl_srp_SecurityContext__
#define __gnu_javax_crypto_sasl_srp_SecurityContext__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace sasl
        {
          namespace srp
          {
              class CALG;
              class IALG;
              class SecurityContext;
          }
        }
      }
    }
  }
}

class gnu::javax::crypto::sasl::srp::SecurityContext : public ::java::lang::Object
{

public: // actually package-private
  SecurityContext(::java::lang::String *, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, JArray< jbyte > *, jboolean, jint, jint, ::gnu::javax::crypto::sasl::srp::IALG *, ::gnu::javax::crypto::sasl::srp::IALG *, ::gnu::javax::crypto::sasl::srp::CALG *, ::gnu::javax::crypto::sasl::srp::CALG *);
  virtual ::java::lang::String * getMdName();
  virtual JArray< jbyte > * getSID();
  virtual JArray< jbyte > * getK();
  virtual JArray< jbyte > * getClientIV();
  virtual JArray< jbyte > * getServerIV();
  virtual jboolean hasReplayDetection();
  virtual jint getInCounter();
  virtual jint getOutCounter();
  virtual ::gnu::javax::crypto::sasl::srp::IALG * getInMac();
  virtual ::gnu::javax::crypto::sasl::srp::IALG * getOutMac();
  virtual ::gnu::javax::crypto::sasl::srp::CALG * getInCipher();
  virtual ::gnu::javax::crypto::sasl::srp::CALG * getOutCipher();
private:
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mdName;
  JArray< jbyte > * sid;
  JArray< jbyte > * K;
  JArray< jbyte > * cIV;
  JArray< jbyte > * sIV;
  jboolean replayDetection;
  jint inCounter;
  jint outCounter;
  ::gnu::javax::crypto::sasl::srp::IALG * inMac;
  ::gnu::javax::crypto::sasl::srp::IALG * outMac;
  ::gnu::javax::crypto::sasl::srp::CALG * inCipher;
  ::gnu::javax::crypto::sasl::srp::CALG * outCipher;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_crypto_sasl_srp_SecurityContext__