summaryrefslogtreecommitdiff
path: root/libjava/java/security/Security.h
blob: 201c9957dedc90a7c247e792fd4f44460d2f8894 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_Security__
#define __java_security_Security__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace security
    {
        class Provider;
        class Security;
    }
  }
}

class java::security::Security : public ::java::lang::Object
{

  Security();
  static jboolean loadProviders(::java::lang::String *, ::java::lang::String *);
public:
  static ::java::lang::String * getAlgorithmProperty(::java::lang::String *, ::java::lang::String *);
  static jint insertProviderAt(::java::security::Provider *, jint);
  static jint addProvider(::java::security::Provider *);
  static void removeProvider(::java::lang::String *);
  static JArray< ::java::security::Provider * > * getProviders();
  static ::java::security::Provider * getProvider(::java::lang::String *);
  static ::java::lang::String * getProperty(::java::lang::String *);
  static void setProperty(::java::lang::String *, ::java::lang::String *);
  static ::java::util::Set * getAlgorithms(::java::lang::String *);
  static JArray< ::java::security::Provider * > * getProviders(::java::lang::String *);
  static JArray< ::java::security::Provider * > * getProviders(::java::util::Map *);
private:
  static void selectProviders(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::LinkedHashSet *, ::java::util::LinkedHashSet *);
  static jboolean provides(::java::security::Provider *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  static ::java::lang::String * ALG_ALIAS;
  static ::java::util::Vector * providers;
  static ::java::util::Properties * secprops;
public:
  static ::java::lang::Class class$;
};

#endif // __java_security_Security__