summaryrefslogtreecommitdiff
path: root/libjava/javax/crypto/spec/DESKeySpec.h
blob: 3c860452bb3a6a38d68b1a74f20cbf0831decd4b (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_crypto_spec_DESKeySpec__
#define __javax_crypto_spec_DESKeySpec__

#pragma interface

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

extern "Java"
{
  namespace javax
  {
    namespace crypto
    {
      namespace spec
      {
          class DESKeySpec;
      }
    }
  }
}

class javax::crypto::spec::DESKeySpec : public ::java::lang::Object
{

public:
  DESKeySpec(JArray< jbyte > *);
  DESKeySpec(JArray< jbyte > *, jint);
  static jboolean isParityAdjusted(JArray< jbyte > *, jint);
  static jboolean isWeak(JArray< jbyte > *, jint);
private:
  static jboolean equalsOrComplementEquals(JArray< jbyte > *, jint, JArray< jbyte > *);
public:
  virtual JArray< jbyte > * getKey();
  static const jint DES_KEY_LEN = 8;
private:
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
  static JArray< JArray< jbyte > * > * WEAK_KEYS;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_crypto_spec_DESKeySpec__