summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/crypto/keyring/IPrivateKeyring.h
blob: 9f9cb25f607347730aa36c06fd933b7642c4e1a4 (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
60
61
62
63
64
65
66
67
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_crypto_keyring_IPrivateKeyring__
#define __gnu_javax_crypto_keyring_IPrivateKeyring__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace crypto
      {
        namespace keyring
        {
            class Entry;
            class IPrivateKeyring;
        }
      }
    }
  }
  namespace java
  {
    namespace security
    {
        class Key;
        class PublicKey;
      namespace cert
      {
          class Certificate;
      }
    }
  }
}

class gnu::javax::crypto::keyring::IPrivateKeyring : public ::java::lang::Object
{

public:
  virtual jboolean containsPrivateKey(::java::lang::String *) = 0;
  virtual ::java::security::Key * getPrivateKey(::java::lang::String *, JArray< jchar > *) = 0;
  virtual void putPrivateKey(::java::lang::String *, ::java::security::Key *, JArray< jchar > *) = 0;
  virtual jboolean containsPublicKey(::java::lang::String *) = 0;
  virtual ::java::security::PublicKey * getPublicKey(::java::lang::String *) = 0;
  virtual void putPublicKey(::java::lang::String *, ::java::security::PublicKey *) = 0;
  virtual jboolean containsCertPath(::java::lang::String *) = 0;
  virtual JArray< ::java::security::cert::Certificate * > * getCertPath(::java::lang::String *) = 0;
  virtual void putCertPath(::java::lang::String *, JArray< ::java::security::cert::Certificate * > *) = 0;
  virtual void load(::java::util::Map *) = 0;
  virtual void store(::java::util::Map *) = 0;
  virtual void reset() = 0;
  virtual jint size() = 0;
  virtual ::java::util::Enumeration * aliases() = 0;
  virtual jboolean containsAlias(::java::lang::String *) = 0;
  virtual ::java::util::List * get(::java::lang::String *) = 0;
  virtual void add(::gnu::javax::crypto::keyring::Entry *) = 0;
  virtual void remove(::java::lang::String *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __gnu_javax_crypto_keyring_IPrivateKeyring__