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

#ifndef __gnu_javax_crypto_keyring_PasswordEncryptedEntry__
#define __gnu_javax_crypto_keyring_PasswordEncryptedEntry__

#pragma interface

#include <gnu/javax/crypto/keyring/MaskableEnvelopeEntry.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace keyring
        {
            class PasswordEncryptedEntry;
            class Properties;
        }
        namespace mode
        {
            class IMode;
        }
      }
    }
  }
}

class gnu::javax::crypto::keyring::PasswordEncryptedEntry : public ::gnu::javax::crypto::keyring::MaskableEnvelopeEntry
{

public:
  PasswordEncryptedEntry(::java::lang::String *, ::java::lang::String *, jint, ::gnu::javax::crypto::keyring::Properties *);
private:
  PasswordEncryptedEntry();
public:
  static ::gnu::javax::crypto::keyring::PasswordEncryptedEntry * decode(::java::io::DataInputStream *, JArray< jchar > *);
  static ::gnu::javax::crypto::keyring::PasswordEncryptedEntry * decode(::java::io::DataInputStream *);
  virtual void decrypt(JArray< jchar > *);
  virtual void encrypt(JArray< jchar > *);
  virtual void encode(::java::io::DataOutputStream *, JArray< jchar > *);
public: // actually protected
  virtual void encodePayload();
private:
  ::gnu::javax::crypto::mode::IMode * getMode(JArray< jchar > *, jint);
  static ::java::util::logging::Logger * log;
public:
  static const jint TYPE = 1;
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_crypto_keyring_PasswordEncryptedEntry__