Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / security / IdentityScope.h
blob90a4930312124fc9f8dcbe27439b3b943dd5bb74
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_security_IdentityScope__
5 #define __java_security_IdentityScope__
7 #pragma interface
9 #include <java/security/Identity.h>
10 extern "Java"
12 namespace java
14 namespace security
16 class Identity;
17 class IdentityScope;
18 class Principal;
19 class PublicKey;
24 class java::security::IdentityScope : public ::java::security::Identity
27 public: // actually protected
28 IdentityScope();
29 public:
30 IdentityScope(::java::lang::String *);
31 IdentityScope(::java::lang::String *, ::java::security::IdentityScope *);
32 static ::java::security::IdentityScope * getSystemScope();
33 public: // actually protected
34 static void setSystemScope(::java::security::IdentityScope *);
35 public:
36 virtual jint size() = 0;
37 virtual ::java::security::Identity * getIdentity(::java::lang::String *) = 0;
38 virtual ::java::security::Identity * getIdentity(::java::security::Principal *);
39 virtual ::java::security::Identity * getIdentity(::java::security::PublicKey *) = 0;
40 virtual void addIdentity(::java::security::Identity *) = 0;
41 virtual void removeIdentity(::java::security::Identity *) = 0;
42 virtual ::java::util::Enumeration * identities() = 0;
43 virtual ::java::lang::String * toString();
44 private:
45 static const jlong serialVersionUID = -2337346281189773310LL;
46 static ::java::security::IdentityScope * systemScope;
47 public:
48 static ::java::lang::Class class$;
51 #endif // __java_security_IdentityScope__