2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_security_Identity__
5 #define __java_security_Identity__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
26 class java::security::Identity
: public ::java::lang::Object
29 public: // actually protected
32 Identity(::java::lang::String
*, ::java::security::IdentityScope
*);
33 Identity(::java::lang::String
*);
34 virtual ::java::lang::String
* getName();
35 virtual ::java::security::IdentityScope
* getScope();
36 virtual ::java::security::PublicKey
* getPublicKey();
37 virtual void setPublicKey(::java::security::PublicKey
*);
38 virtual void setInfo(::java::lang::String
*);
39 virtual ::java::lang::String
* getInfo();
40 virtual void addCertificate(::java::security::Certificate
*);
41 virtual void removeCertificate(::java::security::Certificate
*);
42 virtual JArray
< ::java::security::Certificate
* > * certificates();
43 virtual jboolean
equals(::java::lang::Object
*);
44 public: // actually protected
45 virtual jboolean
identityEquals(::java::security::Identity
*);
47 virtual ::java::lang::String
* toString();
48 virtual ::java::lang::String
* toString(jboolean
);
49 virtual jint
hashCode();
51 static const jlong serialVersionUID
= 3609922007826600659LL;
52 ::java::lang::String
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) name
;
53 ::java::security::IdentityScope
* scope
;
54 ::java::security::PublicKey
* publicKey
;
55 ::java::lang::String
* info
;
56 ::java::util::Vector
* certificates__
;
58 static ::java::lang::Class
class$
;
61 #endif // __java_security_Identity__