summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.h
blob: b4a539aed5093978d6f21515567264a779e1e78f (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_PasswordAuthenticatedEntry__
#define __gnu_javax_crypto_keyring_PasswordAuthenticatedEntry__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace keyring
        {
            class PasswordAuthenticatedEntry;
            class Properties;
        }
        namespace mac
        {
            class IMac;
        }
      }
    }
  }
}

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

public:
  PasswordAuthenticatedEntry(::java::lang::String *, jint, ::gnu::javax::crypto::keyring::Properties *);
private:
  PasswordAuthenticatedEntry();
public:
  static ::gnu::javax::crypto::keyring::PasswordAuthenticatedEntry * decode(::java::io::DataInputStream *, JArray< jchar > *);
  static ::gnu::javax::crypto::keyring::PasswordAuthenticatedEntry * decode(::java::io::DataInputStream *);
  void verify(JArray< jchar > *);
  void authenticate(JArray< jchar > *);
  void encode(::java::io::DataOutputStream *, JArray< jchar > *);
public: // actually protected
  void encodePayload(::java::io::DataOutputStream *);
private:
  ::gnu::javax::crypto::mac::IMac * getMac(JArray< jchar > *);
  static ::java::util::logging::Logger * log;
public:
  static const jint TYPE = 3;
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_crypto_keyring_PasswordAuthenticatedEntry__