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

#ifndef __javax_crypto_spec_PBEKeySpec__
#define __javax_crypto_spec_PBEKeySpec__

#pragma interface

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

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

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

public:
  PBEKeySpec(JArray< jchar > *);
  PBEKeySpec(JArray< jchar > *, JArray< jbyte > *, jint);
  PBEKeySpec(JArray< jchar > *, JArray< jbyte > *, jint, jint);
  virtual void clearPassword();
  virtual jint getIterationCount();
  virtual jint getKeyLength();
  virtual JArray< jchar > * getPassword();
  virtual JArray< jbyte > * getSalt();
private:
  void setPassword(JArray< jchar > *);
  void setSalt(JArray< jbyte > *);
  void setIterationCount(jint);
  void setKeyLength(jint);
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) iterationCount;
  jint keyLength;
  JArray< jchar > * password;
  JArray< jbyte > * salt;
  jboolean passwordValid;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_crypto_spec_PBEKeySpec__