diff options
Diffstat (limited to 'libjava/javax/security/auth/kerberos')
8 files changed, 463 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/kerberos/DelegationPermission$1.h b/libjava/javax/security/auth/kerberos/DelegationPermission$1.h new file mode 100644 index 000000000..5a378b08e --- /dev/null +++ b/libjava/javax/security/auth/kerberos/DelegationPermission$1.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_DelegationPermission$1__ +#define __javax_security_auth_kerberos_DelegationPermission$1__ + +#pragma interface + +#include <java/security/PermissionCollection.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Permission; + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class DelegationPermission; + class DelegationPermission$1; + } + } + } + } +} + +class javax::security::auth::kerberos::DelegationPermission$1 : public ::java::security::PermissionCollection +{ + +public: // actually package-private + DelegationPermission$1(::javax::security::auth::kerberos::DelegationPermission *); +public: + virtual void add(::java::security::Permission *); + virtual jboolean implies(::java::security::Permission *); + virtual ::java::util::Enumeration * elements(); +private: + ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) permissions; +public: // actually package-private + ::javax::security::auth::kerberos::DelegationPermission * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_DelegationPermission$1__ diff --git a/libjava/javax/security/auth/kerberos/DelegationPermission.h b/libjava/javax/security/auth/kerberos/DelegationPermission.h new file mode 100644 index 000000000..2b89ad700 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/DelegationPermission.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_DelegationPermission__ +#define __javax_security_auth_kerberos_DelegationPermission__ + +#pragma interface + +#include <java/security/BasicPermission.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Permission; + class PermissionCollection; + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class DelegationPermission; + } + } + } + } +} + +class javax::security::auth::kerberos::DelegationPermission : public ::java::security::BasicPermission +{ + +public: + DelegationPermission(::java::lang::String *); + DelegationPermission(::java::lang::String *, ::java::lang::String *); +private: + static void checkSyntax(::java::lang::String *); +public: + jboolean implies(::java::security::Permission *); + ::java::security::PermissionCollection * newPermissionCollection(); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_DelegationPermission__ diff --git a/libjava/javax/security/auth/kerberos/KerberosKey.h b/libjava/javax/security/auth/kerberos/KerberosKey.h new file mode 100644 index 000000000..ed0e93f29 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/KerberosKey.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_KerberosKey__ +#define __javax_security_auth_kerberos_KerberosKey__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class KerberosKey; + class KerberosPrincipal; + class KeyImpl; + } + } + } + } +} + +class javax::security::auth::kerberos::KerberosKey : public ::java::lang::Object +{ + +public: + KerberosKey(::javax::security::auth::kerberos::KerberosPrincipal *, JArray< jbyte > *, jint, jint); + KerberosKey(::javax::security::auth::kerberos::KerberosPrincipal *, JArray< jchar > *, ::java::lang::String *); + virtual ::java::lang::String * getAlgorithm(); + virtual ::java::lang::String * getFormat(); + virtual ::javax::security::auth::kerberos::KerberosPrincipal * getPrincipal(); + virtual jint getKeyType(); + virtual jint getVersionNumber(); + virtual JArray< jbyte > * getEncoded(); + virtual void destroy(); + virtual jboolean isDestroyed(); +private: + void checkDestroyed(); +public: + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = -4625402278148246993LL; + ::javax::security::auth::kerberos::KerberosPrincipal * __attribute__((aligned(__alignof__( ::java::lang::Object)))) principal; + jint versionNum; + ::javax::security::auth::kerberos::KeyImpl * key; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_KerberosKey__ diff --git a/libjava/javax/security/auth/kerberos/KerberosPrincipal.h b/libjava/javax/security/auth/kerberos/KerberosPrincipal.h new file mode 100644 index 000000000..c945a5620 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/KerberosPrincipal.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_KerberosPrincipal__ +#define __javax_security_auth_kerberos_KerberosPrincipal__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class KerberosPrincipal; + } + } + } + } +} + +class javax::security::auth::kerberos::KerberosPrincipal : public ::java::lang::Object +{ + +public: + KerberosPrincipal(::java::lang::String *); + KerberosPrincipal(::java::lang::String *, jint); +private: + ::java::lang::String * parseRealm(); +public: + ::java::lang::String * getName(); + ::java::lang::String * getRealm(); + jint getNameType(); + jint hashCode(); + jboolean equals(::java::lang::Object *); + ::java::lang::String * toString(); + static const jint KRB_NT_PRINCIPAL = 1; + static const jint KRB_NT_SRV_HST = 3; + static const jint KRB_NT_SRV_INST = 2; + static const jint KRB_NT_SRV_XHST = 4; + static const jint KRB_NT_UID = 5; + static const jint KRB_NT_UNKNOWN = 0; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + jint type; + ::java::lang::String * realm; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_KerberosPrincipal__ diff --git a/libjava/javax/security/auth/kerberos/KerberosTicket.h b/libjava/javax/security/auth/kerberos/KerberosTicket.h new file mode 100644 index 000000000..d92309354 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/KerberosTicket.h @@ -0,0 +1,97 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_KerberosTicket__ +#define __javax_security_auth_kerberos_KerberosTicket__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace net + { + class InetAddress; + } + } + namespace javax + { + namespace crypto + { + class SecretKey; + } + namespace security + { + namespace auth + { + namespace kerberos + { + class KerberosPrincipal; + class KerberosTicket; + class KeyImpl; + } + } + } + } +} + +class javax::security::auth::kerberos::KerberosTicket : public ::java::lang::Object +{ + +public: + KerberosTicket(JArray< jbyte > *, ::javax::security::auth::kerberos::KerberosPrincipal *, ::javax::security::auth::kerberos::KerberosPrincipal *, JArray< jbyte > *, jint, JArray< jboolean > *, ::java::util::Date *, ::java::util::Date *, ::java::util::Date *, ::java::util::Date *, JArray< ::java::net::InetAddress * > *); + virtual void destroy(); + virtual jboolean isDestroyed(); + virtual jboolean isCurrent(); + virtual void refresh(); + virtual ::javax::security::auth::kerberos::KerberosPrincipal * getClient(); + virtual ::javax::security::auth::kerberos::KerberosPrincipal * getServer(); + virtual jboolean isForwardable(); + virtual jboolean isForwarded(); + virtual jboolean isProxiable(); + virtual jboolean isProxy(); + virtual jboolean isPostdated(); + virtual jboolean isRenewable(); + virtual jboolean isInitial(); + virtual JArray< jboolean > * getFlags(); + virtual ::java::util::Date * getAuthTime(); + virtual ::java::util::Date * getStartTime(); + virtual ::java::util::Date * getEndTime(); + virtual ::java::util::Date * getRenewTill(); + virtual JArray< ::java::net::InetAddress * > * getClientAddresses(); + virtual JArray< jbyte > * getEncoded(); + virtual ::javax::crypto::SecretKey * getSessionKey(); +private: + void checkDestroyed(); +public: + virtual ::java::lang::String * toString(); + virtual jint getSessionKeyType(); +private: + static const jlong serialVersionUID = 7395334370157380539LL; + static const jint FORWARDABLE = 1; + static const jint FORWARDED = 2; + static const jint PROXIABLE = 3; + static const jint PROXY = 4; + static const jint POSTDATED = 6; + static const jint RENEWABLE = 8; + static const jint INITIAL = 9; + static const jint NUM_FLAGS = 12; + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) asn1Encoding; + ::javax::security::auth::kerberos::KeyImpl * sessionKey; + JArray< jboolean > * flags; + ::java::util::Date * authTime; + ::java::util::Date * startTime; + ::java::util::Date * endTime; + ::java::util::Date * renewTill; + ::javax::security::auth::kerberos::KerberosPrincipal * client; + ::javax::security::auth::kerberos::KerberosPrincipal * server; + JArray< ::java::net::InetAddress * > * clientAddresses; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_KerberosTicket__ diff --git a/libjava/javax/security/auth/kerberos/KeyImpl.h b/libjava/javax/security/auth/kerberos/KeyImpl.h new file mode 100644 index 000000000..4aa956313 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/KeyImpl.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_KeyImpl__ +#define __javax_security_auth_kerberos_KeyImpl__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class KeyImpl; + } + } + } + } +} + +class javax::security::auth::kerberos::KeyImpl : public ::java::lang::Object +{ + +public: + KeyImpl(JArray< jbyte > *, jint); + KeyImpl(JArray< jchar > *, ::java::lang::String *); + ::java::lang::String * getAlgorithm(); + JArray< jbyte > * getEncoded(); + ::java::lang::String * getFormat(); + ::java::lang::String * toString(); + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) algorithm; + jint type; + JArray< jbyte > * key; + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_KeyImpl__ diff --git a/libjava/javax/security/auth/kerberos/ServicePermission$1.h b/libjava/javax/security/auth/kerberos/ServicePermission$1.h new file mode 100644 index 000000000..2d420d562 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/ServicePermission$1.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_ServicePermission$1__ +#define __javax_security_auth_kerberos_ServicePermission$1__ + +#pragma interface + +#include <java/security/PermissionCollection.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Permission; + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class ServicePermission; + class ServicePermission$1; + } + } + } + } +} + +class javax::security::auth::kerberos::ServicePermission$1 : public ::java::security::PermissionCollection +{ + +public: // actually package-private + ServicePermission$1(::javax::security::auth::kerberos::ServicePermission *); +public: + virtual void add(::java::security::Permission *); + virtual jboolean implies(::java::security::Permission *); + virtual ::java::util::Enumeration * elements(); +private: + ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::security::PermissionCollection)))) permissions; +public: // actually package-private + ::javax::security::auth::kerberos::ServicePermission * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_ServicePermission$1__ diff --git a/libjava/javax/security/auth/kerberos/ServicePermission.h b/libjava/javax/security/auth/kerberos/ServicePermission.h new file mode 100644 index 000000000..0abca5189 --- /dev/null +++ b/libjava/javax/security/auth/kerberos/ServicePermission.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_kerberos_ServicePermission__ +#define __javax_security_auth_kerberos_ServicePermission__ + +#pragma interface + +#include <java/security/Permission.h> +extern "Java" +{ + namespace java + { + namespace security + { + class Permission; + class PermissionCollection; + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace kerberos + { + class ServicePermission; + } + } + } + } +} + +class javax::security::auth::kerberos::ServicePermission : public ::java::security::Permission +{ + +public: + ServicePermission(::java::lang::String *, ::java::lang::String *); + jboolean implies(::java::security::Permission *); + jboolean equals(::java::lang::Object *); + jint hashCode(); + ::java::lang::String * getActions(); + ::java::security::PermissionCollection * newPermissionCollection(); +private: + void parseActions(::java::lang::String *); + static const jint INITIATE = 1; + static const jint ACCEPT = 2; + jint __attribute__((aligned(__alignof__( ::java::security::Permission)))) flags; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_kerberos_ServicePermission__ |