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

#ifndef __javax_crypto_SealedObject__
#define __javax_crypto_SealedObject__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class Key;
    }
  }
  namespace javax
  {
    namespace crypto
    {
        class Cipher;
        class SealedObject;
    }
  }
}

class javax::crypto::SealedObject : public ::java::lang::Object
{

public:
  SealedObject(::java::io::Serializable *, ::javax::crypto::Cipher *);
public: // actually protected
  SealedObject(::javax::crypto::SealedObject *);
public:
  virtual ::java::lang::String * getAlgorithm();
  virtual ::java::lang::Object * getObject(::javax::crypto::Cipher *);
  virtual ::java::lang::Object * getObject(::java::security::Key *);
  virtual ::java::lang::Object * getObject(::java::security::Key *, ::java::lang::String *);
private:
  void readObject(::java::io::ObjectInputStream *);
  void writeObject(::java::io::ObjectOutputStream *);
  ::java::lang::Object * unseal();
public: // actually protected
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encodedParams;
private:
  JArray< jbyte > * encryptedContent;
  ::java::lang::String * sealAlg;
  ::java::lang::String * paramsAlg;
  ::javax::crypto::Cipher * sealCipher;
  static const jlong serialVersionUID = 4482838265551344752LL;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_crypto_SealedObject__