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

#ifndef __javax_crypto_spec_SecretKeySpec__
#define __javax_crypto_spec_SecretKeySpec__

#pragma interface

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

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

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

public:
  SecretKeySpec(JArray< jbyte > *, ::java::lang::String *);
  SecretKeySpec(JArray< jbyte > *, jint, jint, ::java::lang::String *);
  virtual ::java::lang::String * getAlgorithm();
  virtual JArray< jbyte > * getEncoded();
  virtual ::java::lang::String * getFormat();
  virtual jboolean equals(::java::lang::Object *);
  virtual jint hashCode();
private:
  static const jlong serialVersionUID = 6577238317307289933LL;
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key;
  ::java::lang::String * algorithm;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_crypto_spec_SecretKeySpec__