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

#ifndef __gnu_javax_crypto_keyring_GnuPublicKeyring__
#define __gnu_javax_crypto_keyring_GnuPublicKeyring__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace keyring
        {
            class GnuPublicKeyring;
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
      namespace cert
      {
          class Certificate;
      }
    }
  }
}

class gnu::javax::crypto::keyring::GnuPublicKeyring : public ::gnu::javax::crypto::keyring::BaseKeyring
{

public:
  GnuPublicKeyring(::java::lang::String *, jint);
  GnuPublicKeyring();
  virtual jboolean containsCertificate(::java::lang::String *);
  virtual ::java::security::cert::Certificate * getCertificate(::java::lang::String *);
  virtual void putCertificate(::java::lang::String *, ::java::security::cert::Certificate *);
public: // actually protected
  virtual void load(::java::io::InputStream *, JArray< jchar > *);
  virtual void store(::java::io::OutputStream *, JArray< jchar > *);
private:
  static ::java::util::logging::Logger * log;
public:
  static const jint USAGE = 4;
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_crypto_keyring_GnuPublicKeyring__