diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/security | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/javax/security')
65 files changed, 2992 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/AuthPermission.h b/libjava/javax/security/auth/AuthPermission.h new file mode 100644 index 000000000..7be18bde9 --- /dev/null +++ b/libjava/javax/security/auth/AuthPermission.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_AuthPermission__ +#define __javax_security_auth_AuthPermission__ + +#pragma interface + +#include <java/security/BasicPermission.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class AuthPermission; + } + } + } +} + +class javax::security::auth::AuthPermission : public ::java::security::BasicPermission +{ + +public: + AuthPermission(::java::lang::String *); + AuthPermission(::java::lang::String *, ::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_AuthPermission__ diff --git a/libjava/javax/security/auth/DestroyFailedException.h b/libjava/javax/security/auth/DestroyFailedException.h new file mode 100644 index 000000000..7ee0fb6a2 --- /dev/null +++ b/libjava/javax/security/auth/DestroyFailedException.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_DestroyFailedException__ +#define __javax_security_auth_DestroyFailedException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class DestroyFailedException; + } + } + } +} + +class javax::security::auth::DestroyFailedException : public ::java::lang::Exception +{ + +public: + DestroyFailedException(); + DestroyFailedException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_DestroyFailedException__ diff --git a/libjava/javax/security/auth/Destroyable.h b/libjava/javax/security/auth/Destroyable.h new file mode 100644 index 000000000..3afdb762f --- /dev/null +++ b/libjava/javax/security/auth/Destroyable.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_Destroyable__ +#define __javax_security_auth_Destroyable__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class Destroyable; + } + } + } +} + +class javax::security::auth::Destroyable : public ::java::lang::Object +{ + +public: + virtual void destroy() = 0; + virtual jboolean isDestroyed() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_auth_Destroyable__ diff --git a/libjava/javax/security/auth/Policy.h b/libjava/javax/security/auth/Policy.h new file mode 100644 index 000000000..394a870d6 --- /dev/null +++ b/libjava/javax/security/auth/Policy.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_Policy__ +#define __javax_security_auth_Policy__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class CodeSource; + class PermissionCollection; + } + } + namespace javax + { + namespace security + { + namespace auth + { + class Policy; + class Subject; + } + } + } +} + +class javax::security::auth::Policy : public ::java::lang::Object +{ + +public: // actually protected + Policy(); +public: + static ::javax::security::auth::Policy * getPolicy(); + static void setPolicy(::javax::security::auth::Policy *); + virtual ::java::security::PermissionCollection * getPermissions(::javax::security::auth::Subject *, ::java::security::CodeSource *) = 0; + virtual void refresh() = 0; +private: + static ::javax::security::auth::Policy * policy; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_Policy__ diff --git a/libjava/javax/security/auth/PrivateCredentialPermission$CredOwner.h b/libjava/javax/security/auth/PrivateCredentialPermission$CredOwner.h new file mode 100644 index 000000000..c877eddd1 --- /dev/null +++ b/libjava/javax/security/auth/PrivateCredentialPermission$CredOwner.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_PrivateCredentialPermission$CredOwner__ +#define __javax_security_auth_PrivateCredentialPermission$CredOwner__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class PrivateCredentialPermission$CredOwner; + } + } + } +} + +class javax::security::auth::PrivateCredentialPermission$CredOwner : public ::java::lang::Object +{ + +public: // actually package-private + PrivateCredentialPermission$CredOwner(::java::lang::String *, ::java::lang::String *); +public: + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual ::java::lang::String * getPrincipalClass(); + virtual ::java::lang::String * getPrincipalName(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) principalClass; + ::java::lang::String * principalName; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_PrivateCredentialPermission$CredOwner__ diff --git a/libjava/javax/security/auth/PrivateCredentialPermission.h b/libjava/javax/security/auth/PrivateCredentialPermission.h new file mode 100644 index 000000000..157c1df79 --- /dev/null +++ b/libjava/javax/security/auth/PrivateCredentialPermission.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_PrivateCredentialPermission__ +#define __javax_security_auth_PrivateCredentialPermission__ + +#pragma interface + +#include <java/security/Permission.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + class Permission; + class PermissionCollection; + } + } + namespace javax + { + namespace security + { + namespace auth + { + class PrivateCredentialPermission; + } + } + } +} + +class javax::security::auth::PrivateCredentialPermission : public ::java::security::Permission +{ + +public: + PrivateCredentialPermission(::java::lang::String *, ::java::lang::String *); + jboolean equals(::java::lang::Object *); + ::java::lang::String * getActions(); + ::java::lang::String * getCredentialClass(); + JArray< JArray< ::java::lang::String * > * > * getPrincipals(); + jint hashCode(); + jboolean implies(::java::security::Permission *); + ::java::security::PermissionCollection * newPermissionCollection(); +private: + static const jlong serialVersionUID = 5284372143517237068LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::security::Permission)))) credentialClass; + ::java::util::Set * principals; + jboolean testing; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_PrivateCredentialPermission__ diff --git a/libjava/javax/security/auth/RefreshFailedException.h b/libjava/javax/security/auth/RefreshFailedException.h new file mode 100644 index 000000000..c0fadb08d --- /dev/null +++ b/libjava/javax/security/auth/RefreshFailedException.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_RefreshFailedException__ +#define __javax_security_auth_RefreshFailedException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class RefreshFailedException; + } + } + } +} + +class javax::security::auth::RefreshFailedException : public ::java::lang::Exception +{ + +public: + RefreshFailedException(); + RefreshFailedException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_RefreshFailedException__ diff --git a/libjava/javax/security/auth/Refreshable.h b/libjava/javax/security/auth/Refreshable.h new file mode 100644 index 000000000..5c065c5aa --- /dev/null +++ b/libjava/javax/security/auth/Refreshable.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_Refreshable__ +#define __javax_security_auth_Refreshable__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class Refreshable; + } + } + } +} + +class javax::security::auth::Refreshable : public ::java::lang::Object +{ + +public: + virtual jboolean isCurrent() = 0; + virtual void refresh() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_auth_Refreshable__ diff --git a/libjava/javax/security/auth/Subject$SecureSet.h b/libjava/javax/security/auth/Subject$SecureSet.h new file mode 100644 index 000000000..854176ce9 --- /dev/null +++ b/libjava/javax/security/auth/Subject$SecureSet.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_Subject$SecureSet__ +#define __javax_security_auth_Subject$SecureSet__ + +#pragma interface + +#include <java/util/AbstractSet.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class Subject; + class Subject$SecureSet; + } + } + } +} + +class javax::security::auth::Subject$SecureSet : public ::java::util::AbstractSet +{ + +public: // actually package-private + Subject$SecureSet(::javax::security::auth::Subject *, jint, ::java::util::Collection *); + Subject$SecureSet(::javax::security::auth::Subject *, jint); +public: + virtual jint size(); + virtual ::java::util::Iterator * iterator(); + virtual jboolean add(::java::lang::Object *); + virtual jboolean remove(::java::lang::Object *); + virtual jboolean contains(::java::lang::Object *); + virtual jboolean removeAll(::java::util::Collection *); + virtual jboolean retainAll(::java::util::Collection *); + virtual void clear(); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); + static const jlong serialVersionUID = 7911754171111800359LL; +public: // actually package-private + static const jint PRINCIPALS = 0; + static const jint PUBLIC_CREDENTIALS = 1; + static const jint PRIVATE_CREDENTIALS = 2; +private: + ::javax::security::auth::Subject * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) subject; + ::java::util::LinkedList * elements; + jint type; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_Subject$SecureSet__ diff --git a/libjava/javax/security/auth/Subject.h b/libjava/javax/security/auth/Subject.h new file mode 100644 index 000000000..de9165199 --- /dev/null +++ b/libjava/javax/security/auth/Subject.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_Subject__ +#define __javax_security_auth_Subject__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class AccessControlContext; + class PrivilegedAction; + class PrivilegedExceptionAction; + } + } + namespace javax + { + namespace security + { + namespace auth + { + class Subject; + class Subject$SecureSet; + } + } + } +} + +class javax::security::auth::Subject : public ::java::lang::Object +{ + +public: + Subject(); + Subject(jboolean, ::java::util::Set *, ::java::util::Set *, ::java::util::Set *); + static ::javax::security::auth::Subject * getSubject(::java::security::AccessControlContext *); + static ::java::lang::Object * doAs(::javax::security::auth::Subject *, ::java::security::PrivilegedAction *); + static ::java::lang::Object * doAs(::javax::security::auth::Subject *, ::java::security::PrivilegedExceptionAction *); + static ::java::lang::Object * doAsPrivileged(::javax::security::auth::Subject *, ::java::security::PrivilegedAction *, ::java::security::AccessControlContext *); + static ::java::lang::Object * doAsPrivileged(::javax::security::auth::Subject *, ::java::security::PrivilegedExceptionAction *, ::java::security::AccessControlContext *); + jboolean equals(::java::lang::Object *); + ::java::util::Set * getPrincipals(); + ::java::util::Set * getPrincipals(::java::lang::Class *); + ::java::util::Set * getPrivateCredentials(); + ::java::util::Set * getPrivateCredentials(::java::lang::Class *); + ::java::util::Set * getPublicCredentials(); + ::java::util::Set * getPublicCredentials(::java::lang::Class *); + jint hashCode(); + jboolean isReadOnly(); + void setReadOnly(); + ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = -8308522755600156056LL; + ::java::util::Set * __attribute__((aligned(__alignof__( ::java::lang::Object)))) principals; + jboolean readOnly; + ::javax::security::auth::Subject$SecureSet * pubCred; + ::javax::security::auth::Subject$SecureSet * privCred; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_Subject__ diff --git a/libjava/javax/security/auth/SubjectDomainCombiner.h b/libjava/javax/security/auth/SubjectDomainCombiner.h new file mode 100644 index 000000000..bda871c92 --- /dev/null +++ b/libjava/javax/security/auth/SubjectDomainCombiner.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_SubjectDomainCombiner__ +#define __javax_security_auth_SubjectDomainCombiner__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + class ProtectionDomain; + } + } + namespace javax + { + namespace security + { + namespace auth + { + class Subject; + class SubjectDomainCombiner; + } + } + } +} + +class javax::security::auth::SubjectDomainCombiner : public ::java::lang::Object +{ + +public: + SubjectDomainCombiner(::javax::security::auth::Subject *); + virtual JArray< ::java::security::ProtectionDomain * > * combine(JArray< ::java::security::ProtectionDomain * > *, JArray< ::java::security::ProtectionDomain * > *); + virtual ::javax::security::auth::Subject * getSubject(); +private: + ::javax::security::auth::Subject * __attribute__((aligned(__alignof__( ::java::lang::Object)))) subject; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_SubjectDomainCombiner__ diff --git a/libjava/javax/security/auth/callback/Callback.h b/libjava/javax/security/auth/callback/Callback.h new file mode 100644 index 000000000..ef069f633 --- /dev/null +++ b/libjava/javax/security/auth/callback/Callback.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_Callback__ +#define __javax_security_auth_callback_Callback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class Callback; + } + } + } + } +} + +class javax::security::auth::callback::Callback : public ::java::lang::Object +{ + +public: + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_auth_callback_Callback__ diff --git a/libjava/javax/security/auth/callback/CallbackHandler.h b/libjava/javax/security/auth/callback/CallbackHandler.h new file mode 100644 index 000000000..63f4bfb41 --- /dev/null +++ b/libjava/javax/security/auth/callback/CallbackHandler.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_CallbackHandler__ +#define __javax_security_auth_callback_CallbackHandler__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class Callback; + class CallbackHandler; + } + } + } + } +} + +class javax::security::auth::callback::CallbackHandler : public ::java::lang::Object +{ + +public: + virtual void handle(JArray< ::javax::security::auth::callback::Callback * > *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_auth_callback_CallbackHandler__ diff --git a/libjava/javax/security/auth/callback/ChoiceCallback.h b/libjava/javax/security/auth/callback/ChoiceCallback.h new file mode 100644 index 000000000..80f4ccf28 --- /dev/null +++ b/libjava/javax/security/auth/callback/ChoiceCallback.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_ChoiceCallback__ +#define __javax_security_auth_callback_ChoiceCallback__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ChoiceCallback; + } + } + } + } +} + +class javax::security::auth::callback::ChoiceCallback : public ::java::lang::Object +{ + +public: + ChoiceCallback(::java::lang::String *, JArray< ::java::lang::String * > *, jint, jboolean); + virtual ::java::lang::String * getPrompt(); + virtual JArray< ::java::lang::String * > * getChoices(); + virtual jint getDefaultChoice(); + virtual jboolean allowMultipleSelections(); + virtual void setSelectedIndex(jint); + virtual void setSelectedIndexes(JArray< jint > *); + virtual JArray< jint > * getSelectedIndexes(); +private: + void setPrompt(::java::lang::String *); + void setChoices(JArray< ::java::lang::String * > *); + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt; + JArray< ::java::lang::String * > * choices; + jint defaultChoice; + jboolean multipleSelectionsAllowed; + JArray< jint > * selections; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_ChoiceCallback__ diff --git a/libjava/javax/security/auth/callback/ConfirmationCallback.h b/libjava/javax/security/auth/callback/ConfirmationCallback.h new file mode 100644 index 000000000..4e7443832 --- /dev/null +++ b/libjava/javax/security/auth/callback/ConfirmationCallback.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_ConfirmationCallback__ +#define __javax_security_auth_callback_ConfirmationCallback__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ConfirmationCallback; + } + } + } + } +} + +class javax::security::auth::callback::ConfirmationCallback : public ::java::lang::Object +{ + +public: + ConfirmationCallback(jint, jint, jint); + ConfirmationCallback(jint, JArray< ::java::lang::String * > *, jint); + ConfirmationCallback(::java::lang::String *, jint, jint, jint); + ConfirmationCallback(::java::lang::String *, jint, JArray< ::java::lang::String * > *, jint); + virtual ::java::lang::String * getPrompt(); + virtual jint getMessageType(); + virtual jint getOptionType(); + virtual JArray< ::java::lang::String * > * getOptions(); + virtual jint getDefaultOption(); + virtual void setSelectedIndex(jint); + virtual jint getSelectedIndex(); +private: + void setMessageType(jint); + void setOptionType(jint, jint); + void setOptions(JArray< ::java::lang::String * > *, jint); + void setPrompt(::java::lang::String *); +public: + static const jint UNSPECIFIED_OPTION = -1; + static const jint YES_NO_OPTION = 0; + static const jint YES_NO_CANCEL_OPTION = 1; + static const jint OK_CANCEL_OPTION = 2; + static const jint YES = 0; + static const jint NO = 1; + static const jint CANCEL = 2; + static const jint OK = 3; + static const jint INFORMATION = 0; + static const jint WARNING = 1; + static const jint ERROR = 2; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt; + jint messageType; + jint optionType; + jint defaultOption; + JArray< ::java::lang::String * > * options; + jint selection; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_ConfirmationCallback__ diff --git a/libjava/javax/security/auth/callback/LanguageCallback.h b/libjava/javax/security/auth/callback/LanguageCallback.h new file mode 100644 index 000000000..8580fa7a8 --- /dev/null +++ b/libjava/javax/security/auth/callback/LanguageCallback.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_LanguageCallback__ +#define __javax_security_auth_callback_LanguageCallback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class LanguageCallback; + } + } + } + } +} + +class javax::security::auth::callback::LanguageCallback : public ::java::lang::Object +{ + +public: + LanguageCallback(); + virtual void setLocale(::java::util::Locale *); + virtual ::java::util::Locale * getLocale(); +private: + ::java::util::Locale * __attribute__((aligned(__alignof__( ::java::lang::Object)))) locale; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_LanguageCallback__ diff --git a/libjava/javax/security/auth/callback/NameCallback.h b/libjava/javax/security/auth/callback/NameCallback.h new file mode 100644 index 000000000..89e3ffdbc --- /dev/null +++ b/libjava/javax/security/auth/callback/NameCallback.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_NameCallback__ +#define __javax_security_auth_callback_NameCallback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class NameCallback; + } + } + } + } +} + +class javax::security::auth::callback::NameCallback : public ::java::lang::Object +{ + +public: + NameCallback(::java::lang::String *); + NameCallback(::java::lang::String *, ::java::lang::String *); + virtual ::java::lang::String * getPrompt(); + virtual ::java::lang::String * getDefaultName(); + virtual void setName(::java::lang::String *); + virtual ::java::lang::String * getName(); +private: + void setPrompt(::java::lang::String *); + void setDefaultName(::java::lang::String *); + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt; + ::java::lang::String * defaultName; + ::java::lang::String * inputName; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_NameCallback__ diff --git a/libjava/javax/security/auth/callback/PasswordCallback.h b/libjava/javax/security/auth/callback/PasswordCallback.h new file mode 100644 index 000000000..2055b7cc6 --- /dev/null +++ b/libjava/javax/security/auth/callback/PasswordCallback.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_PasswordCallback__ +#define __javax_security_auth_callback_PasswordCallback__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class PasswordCallback; + } + } + } + } +} + +class javax::security::auth::callback::PasswordCallback : public ::java::lang::Object +{ + +public: + PasswordCallback(::java::lang::String *, jboolean); + virtual ::java::lang::String * getPrompt(); + virtual jboolean isEchoOn(); + virtual void setPassword(JArray< jchar > *); + virtual JArray< jchar > * getPassword(); + virtual void clearPassword(); +private: + void setPrompt(::java::lang::String *); + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt; + jboolean echoOn; + JArray< jchar > * inputPassword; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_PasswordCallback__ diff --git a/libjava/javax/security/auth/callback/TextInputCallback.h b/libjava/javax/security/auth/callback/TextInputCallback.h new file mode 100644 index 000000000..bf85c3544 --- /dev/null +++ b/libjava/javax/security/auth/callback/TextInputCallback.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_TextInputCallback__ +#define __javax_security_auth_callback_TextInputCallback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class TextInputCallback; + } + } + } + } +} + +class javax::security::auth::callback::TextInputCallback : public ::java::lang::Object +{ + +public: + TextInputCallback(::java::lang::String *); + TextInputCallback(::java::lang::String *, ::java::lang::String *); + virtual ::java::lang::String * getPrompt(); + virtual ::java::lang::String * getDefaultText(); + virtual void setText(::java::lang::String *); + virtual ::java::lang::String * getText(); +private: + void setPrompt(::java::lang::String *); + void setDefaultText(::java::lang::String *); + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt; + ::java::lang::String * defaultText; + ::java::lang::String * inputText; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_TextInputCallback__ diff --git a/libjava/javax/security/auth/callback/TextOutputCallback.h b/libjava/javax/security/auth/callback/TextOutputCallback.h new file mode 100644 index 000000000..048e8cf83 --- /dev/null +++ b/libjava/javax/security/auth/callback/TextOutputCallback.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_TextOutputCallback__ +#define __javax_security_auth_callback_TextOutputCallback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class TextOutputCallback; + } + } + } + } +} + +class javax::security::auth::callback::TextOutputCallback : public ::java::lang::Object +{ + +public: + TextOutputCallback(jint, ::java::lang::String *); + virtual jint getMessageType(); + virtual ::java::lang::String * getMessage(); +private: + void setMessage(::java::lang::String *); +public: + static const jint INFORMATION = 0; + static const jint WARNING = 1; + static const jint ERROR = 2; +private: + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) messageType; + ::java::lang::String * message; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_TextOutputCallback__ diff --git a/libjava/javax/security/auth/callback/UnsupportedCallbackException.h b/libjava/javax/security/auth/callback/UnsupportedCallbackException.h new file mode 100644 index 000000000..ec80fddcb --- /dev/null +++ b/libjava/javax/security/auth/callback/UnsupportedCallbackException.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_UnsupportedCallbackException__ +#define __javax_security_auth_callback_UnsupportedCallbackException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class Callback; + class UnsupportedCallbackException; + } + } + } + } +} + +class javax::security::auth::callback::UnsupportedCallbackException : public ::java::lang::Exception +{ + +public: + UnsupportedCallbackException(::javax::security::auth::callback::Callback *); + UnsupportedCallbackException(::javax::security::auth::callback::Callback *, ::java::lang::String *); + virtual ::javax::security::auth::callback::Callback * getCallback(); +private: + ::javax::security::auth::callback::Callback * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) callback; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_UnsupportedCallbackException__ 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__ diff --git a/libjava/javax/security/auth/login/AccountException.h b/libjava/javax/security/auth/login/AccountException.h new file mode 100644 index 000000000..1ee771869 --- /dev/null +++ b/libjava/javax/security/auth/login/AccountException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountException__ +#define __javax_security_auth_login_AccountException__ + +#pragma interface + +#include <javax/security/auth/login/LoginException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountException; + } + } + } + } +} + +class javax::security::auth::login::AccountException : public ::javax::security::auth::login::LoginException +{ + +public: + AccountException(); + AccountException(::java::lang::String *); +private: + static const jlong serialVersionUID = -2112878680072211787LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountException__ diff --git a/libjava/javax/security/auth/login/AccountExpiredException.h b/libjava/javax/security/auth/login/AccountExpiredException.h new file mode 100644 index 000000000..76c921442 --- /dev/null +++ b/libjava/javax/security/auth/login/AccountExpiredException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountExpiredException__ +#define __javax_security_auth_login_AccountExpiredException__ + +#pragma interface + +#include <javax/security/auth/login/AccountException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountExpiredException; + } + } + } + } +} + +class javax::security::auth::login::AccountExpiredException : public ::javax::security::auth::login::AccountException +{ + +public: + AccountExpiredException(); + AccountExpiredException(::java::lang::String *); +private: + static const jlong serialVersionUID = -6064064890162661560LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountExpiredException__ diff --git a/libjava/javax/security/auth/login/AccountLockedException.h b/libjava/javax/security/auth/login/AccountLockedException.h new file mode 100644 index 000000000..e2d8a53df --- /dev/null +++ b/libjava/javax/security/auth/login/AccountLockedException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountLockedException__ +#define __javax_security_auth_login_AccountLockedException__ + +#pragma interface + +#include <javax/security/auth/login/AccountException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountLockedException; + } + } + } + } +} + +class javax::security::auth::login::AccountLockedException : public ::javax::security::auth::login::AccountException +{ + +public: + AccountLockedException(); + AccountLockedException(::java::lang::String *); +private: + static const jlong serialVersionUID = 8280345554014066334LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountLockedException__ diff --git a/libjava/javax/security/auth/login/AccountNotFoundException.h b/libjava/javax/security/auth/login/AccountNotFoundException.h new file mode 100644 index 000000000..e258fa0ea --- /dev/null +++ b/libjava/javax/security/auth/login/AccountNotFoundException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AccountNotFoundException__ +#define __javax_security_auth_login_AccountNotFoundException__ + +#pragma interface + +#include <javax/security/auth/login/AccountException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AccountNotFoundException; + } + } + } + } +} + +class javax::security::auth::login::AccountNotFoundException : public ::javax::security::auth::login::AccountException +{ + +public: + AccountNotFoundException(); + AccountNotFoundException(::java::lang::String *); +private: + static const jlong serialVersionUID = 1498349563916294614LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AccountNotFoundException__ diff --git a/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h b/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h new file mode 100644 index 000000000..b5ddbece9 --- /dev/null +++ b/libjava/javax/security/auth/login/AppConfigurationEntry$LoginModuleControlFlag.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__ +#define __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry$LoginModuleControlFlag; + } + } + } + } +} + +class javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag : public ::java::lang::Object +{ + + AppConfigurationEntry$LoginModuleControlFlag(); +public: + virtual ::java::lang::String * toString(); + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * OPTIONAL; + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * REQUIRED; + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * REQUISITE; + static ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * SUFFICIENT; + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AppConfigurationEntry$LoginModuleControlFlag__ diff --git a/libjava/javax/security/auth/login/AppConfigurationEntry.h b/libjava/javax/security/auth/login/AppConfigurationEntry.h new file mode 100644 index 000000000..8ca23b3e3 --- /dev/null +++ b/libjava/javax/security/auth/login/AppConfigurationEntry.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_AppConfigurationEntry__ +#define __javax_security_auth_login_AppConfigurationEntry__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry; + class AppConfigurationEntry$LoginModuleControlFlag; + } + } + } + } +} + +class javax::security::auth::login::AppConfigurationEntry : public ::java::lang::Object +{ + +public: + AppConfigurationEntry(::java::lang::String *, ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag *, ::java::util::Map *); + virtual ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * getControlFlag(); + virtual ::java::lang::String * getLoginModuleName(); + virtual ::java::util::Map * getOptions(); + virtual ::java::lang::String * toString(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) loginModuleName; + ::javax::security::auth::login::AppConfigurationEntry$LoginModuleControlFlag * controlFlag; + ::java::util::Map * options; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_AppConfigurationEntry__ diff --git a/libjava/javax/security/auth/login/Configuration$1.h b/libjava/javax/security/auth/login/Configuration$1.h new file mode 100644 index 000000000..e1ace01d4 --- /dev/null +++ b/libjava/javax/security/auth/login/Configuration$1.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_Configuration$1__ +#define __javax_security_auth_login_Configuration$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class Configuration$1; + } + } + } + } +} + +class javax::security::auth::login::Configuration$1 : public ::java::lang::Object +{ + +public: // actually package-private + Configuration$1(); +public: + virtual ::java::lang::Object * run(); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_Configuration$1__ diff --git a/libjava/javax/security/auth/login/Configuration.h b/libjava/javax/security/auth/login/Configuration.h new file mode 100644 index 000000000..1da5bf713 --- /dev/null +++ b/libjava/javax/security/auth/login/Configuration.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_Configuration__ +#define __javax_security_auth_login_Configuration__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry; + class Configuration; + } + } + } + } +} + +class javax::security::auth::login::Configuration : public ::java::lang::Object +{ + +public: // actually protected + Configuration(); +public: + static ::javax::security::auth::login::Configuration * getConfiguration(); + static void setConfiguration(::javax::security::auth::login::Configuration *); + virtual JArray< ::javax::security::auth::login::AppConfigurationEntry * > * getAppConfigurationEntry(::java::lang::String *) = 0; + virtual void refresh() = 0; +public: // actually package-private + static ::javax::security::auth::login::Configuration * getConfig(); +private: + static ::javax::security::auth::login::Configuration * config; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_Configuration__ diff --git a/libjava/javax/security/auth/login/CredentialException.h b/libjava/javax/security/auth/login/CredentialException.h new file mode 100644 index 000000000..87b0c0683 --- /dev/null +++ b/libjava/javax/security/auth/login/CredentialException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_CredentialException__ +#define __javax_security_auth_login_CredentialException__ + +#pragma interface + +#include <javax/security/auth/login/LoginException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class CredentialException; + } + } + } + } +} + +class javax::security::auth::login::CredentialException : public ::javax::security::auth::login::LoginException +{ + +public: + CredentialException(); + CredentialException(::java::lang::String *); +private: + static const jlong serialVersionUID = -4772893876810601859LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_CredentialException__ diff --git a/libjava/javax/security/auth/login/CredentialExpiredException.h b/libjava/javax/security/auth/login/CredentialExpiredException.h new file mode 100644 index 000000000..a10aefa13 --- /dev/null +++ b/libjava/javax/security/auth/login/CredentialExpiredException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_CredentialExpiredException__ +#define __javax_security_auth_login_CredentialExpiredException__ + +#pragma interface + +#include <javax/security/auth/login/CredentialException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class CredentialExpiredException; + } + } + } + } +} + +class javax::security::auth::login::CredentialExpiredException : public ::javax::security::auth::login::CredentialException +{ + +public: + CredentialExpiredException(); + CredentialExpiredException(::java::lang::String *); +private: + static const jlong serialVersionUID = -5344739593859737937LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_CredentialExpiredException__ diff --git a/libjava/javax/security/auth/login/CredentialNotFoundException.h b/libjava/javax/security/auth/login/CredentialNotFoundException.h new file mode 100644 index 000000000..c60f3db8d --- /dev/null +++ b/libjava/javax/security/auth/login/CredentialNotFoundException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_CredentialNotFoundException__ +#define __javax_security_auth_login_CredentialNotFoundException__ + +#pragma interface + +#include <javax/security/auth/login/CredentialException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class CredentialNotFoundException; + } + } + } + } +} + +class javax::security::auth::login::CredentialNotFoundException : public ::javax::security::auth::login::CredentialException +{ + +public: + CredentialNotFoundException(); + CredentialNotFoundException(::java::lang::String *); +private: + static const jlong serialVersionUID = -7779934467214319475LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_CredentialNotFoundException__ diff --git a/libjava/javax/security/auth/login/FailedLoginException.h b/libjava/javax/security/auth/login/FailedLoginException.h new file mode 100644 index 000000000..014a472c6 --- /dev/null +++ b/libjava/javax/security/auth/login/FailedLoginException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_FailedLoginException__ +#define __javax_security_auth_login_FailedLoginException__ + +#pragma interface + +#include <javax/security/auth/login/LoginException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class FailedLoginException; + } + } + } + } +} + +class javax::security::auth::login::FailedLoginException : public ::javax::security::auth::login::LoginException +{ + +public: + FailedLoginException(); + FailedLoginException(::java::lang::String *); +private: + static const jlong serialVersionUID = 802556922354616286LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_FailedLoginException__ diff --git a/libjava/javax/security/auth/login/LoginContext.h b/libjava/javax/security/auth/login/LoginContext.h new file mode 100644 index 000000000..b6d39cd50 --- /dev/null +++ b/libjava/javax/security/auth/login/LoginContext.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_LoginContext__ +#define __javax_security_auth_login_LoginContext__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class Subject; + namespace callback + { + class CallbackHandler; + } + namespace login + { + class AppConfigurationEntry; + class Configuration; + class LoginContext; + } + namespace spi + { + class LoginModule; + } + } + } + } +} + +class javax::security::auth::login::LoginContext : public ::java::lang::Object +{ + +public: + LoginContext(::java::lang::String *); + LoginContext(::java::lang::String *, ::javax::security::auth::callback::CallbackHandler *); + LoginContext(::java::lang::String *, ::javax::security::auth::Subject *); + LoginContext(::java::lang::String *, ::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *); + LoginContext(::java::lang::String *, ::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *, ::javax::security::auth::login::Configuration *); + virtual ::javax::security::auth::Subject * getSubject(); + virtual void login(); + virtual void logout(); +private: + static ::javax::security::auth::callback::CallbackHandler * defaultHandler(); + ::javax::security::auth::spi::LoginModule * lookupModule(::javax::security::auth::login::AppConfigurationEntry *, ::javax::security::auth::Subject *, ::java::util::Map *); + static ::java::lang::String * OTHER; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + ::javax::security::auth::callback::CallbackHandler * cbHandler; + ::javax::security::auth::Subject * subject; + JArray< ::javax::security::auth::login::AppConfigurationEntry * > * entries; + JArray< ::javax::security::auth::spi::LoginModule * > * modules; + ::java::util::Map * sharedState; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_LoginContext__ diff --git a/libjava/javax/security/auth/login/LoginException.h b/libjava/javax/security/auth/login/LoginException.h new file mode 100644 index 000000000..e68060db7 --- /dev/null +++ b/libjava/javax/security/auth/login/LoginException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_LoginException__ +#define __javax_security_auth_login_LoginException__ + +#pragma interface + +#include <java/security/GeneralSecurityException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class LoginException; + } + } + } + } +} + +class javax::security::auth::login::LoginException : public ::java::security::GeneralSecurityException +{ + +public: + LoginException(); + LoginException(::java::lang::String *); +private: + static const jlong serialVersionUID = -4679091624035232488LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_LoginException__ diff --git a/libjava/javax/security/auth/login/NullConfiguration.h b/libjava/javax/security/auth/login/NullConfiguration.h new file mode 100644 index 000000000..5d73d7ff3 --- /dev/null +++ b/libjava/javax/security/auth/login/NullConfiguration.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_login_NullConfiguration__ +#define __javax_security_auth_login_NullConfiguration__ + +#pragma interface + +#include <javax/security/auth/login/Configuration.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace login + { + class AppConfigurationEntry; + class NullConfiguration; + } + } + } + } +} + +class javax::security::auth::login::NullConfiguration : public ::javax::security::auth::login::Configuration +{ + +public: // actually package-private + NullConfiguration(); +public: + JArray< ::javax::security::auth::login::AppConfigurationEntry * > * getAppConfigurationEntry(::java::lang::String *); + void refresh(); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_login_NullConfiguration__ diff --git a/libjava/javax/security/auth/spi/LoginModule.h b/libjava/javax/security/auth/spi/LoginModule.h new file mode 100644 index 000000000..413c684f0 --- /dev/null +++ b/libjava/javax/security/auth/spi/LoginModule.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_spi_LoginModule__ +#define __javax_security_auth_spi_LoginModule__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + class Subject; + namespace callback + { + class CallbackHandler; + } + namespace spi + { + class LoginModule; + } + } + } + } +} + +class javax::security::auth::spi::LoginModule : public ::java::lang::Object +{ + +public: + virtual jboolean abort() = 0; + virtual jboolean commit() = 0; + virtual void initialize(::javax::security::auth::Subject *, ::javax::security::auth::callback::CallbackHandler *, ::java::util::Map *, ::java::util::Map *) = 0; + virtual jboolean login() = 0; + virtual jboolean logout() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_auth_spi_LoginModule__ diff --git a/libjava/javax/security/auth/x500/X500Principal.h b/libjava/javax/security/auth/x500/X500Principal.h new file mode 100644 index 000000000..75cdb05e7 --- /dev/null +++ b/libjava/javax/security/auth/x500/X500Principal.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_x500_X500Principal__ +#define __javax_security_auth_x500_X500Principal__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace security + { + class OID; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace x500 + { + class X500Principal; + } + } + } + } +} + +class javax::security::auth::x500::X500Principal : public ::java::lang::Object +{ + + X500Principal(); +public: + X500Principal(::java::lang::String *); + X500Principal(JArray< jbyte > *); + X500Principal(::java::io::InputStream *); + jint hashCode(); + jboolean equals(::java::lang::Object *); + JArray< jbyte > * getEncoded(); + ::java::lang::String * getName(); + ::java::lang::String * getName(::java::lang::String *); + ::java::lang::String * toString(); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); + jint size(); + ::java::lang::String * getComponent(::gnu::java::security::OID *, jint); + void encodeDer(); + void parseString(::java::lang::String *); + ::java::lang::String * readAttributeType(::java::io::Reader *); + ::java::lang::String * readAttributeValue(::java::io::Reader *); + void parseDer(::java::io::InputStream *); + void newRelativeDistinguishedName(); + void putComponent(::gnu::java::security::OID *, ::java::lang::String *); + void putComponent(::java::lang::String *, ::java::lang::String *); + static ::java::lang::String * compressWS(::java::lang::String *); + static JArray< jbyte > * toByteArray(::java::lang::String *); + static const jlong serialVersionUID = -500463348111345721LL; +public: + static ::java::lang::String * CANONICAL; + static ::java::lang::String * RFC1779; + static ::java::lang::String * RFC2253; +private: + static ::gnu::java::security::OID * CN; + static ::gnu::java::security::OID * C; + static ::gnu::java::security::OID * L; + static ::gnu::java::security::OID * ST; + static ::gnu::java::security::OID * STREET; + static ::gnu::java::security::OID * O; + static ::gnu::java::security::OID * OU; + static ::gnu::java::security::OID * DC; + static ::gnu::java::security::OID * UID; + ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components; + ::java::util::Map * currentRdn; + jboolean fixed; + JArray< jbyte > * encoded; + jint sep; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_x500_X500Principal__ diff --git a/libjava/javax/security/auth/x500/X500PrivateCredential.h b/libjava/javax/security/auth/x500/X500PrivateCredential.h new file mode 100644 index 000000000..27ee30e4a --- /dev/null +++ b/libjava/javax/security/auth/x500/X500PrivateCredential.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_x500_X500PrivateCredential__ +#define __javax_security_auth_x500_X500PrivateCredential__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace security + { + class PrivateKey; + namespace cert + { + class X509Certificate; + } + } + } + namespace javax + { + namespace security + { + namespace auth + { + namespace x500 + { + class X500PrivateCredential; + } + } + } + } +} + +class javax::security::auth::x500::X500PrivateCredential : public ::java::lang::Object +{ + +public: + X500PrivateCredential(::java::security::cert::X509Certificate *, ::java::security::PrivateKey *); + X500PrivateCredential(::java::security::cert::X509Certificate *, ::java::security::PrivateKey *, ::java::lang::String *); + ::java::security::cert::X509Certificate * getCertificate(); + ::java::security::PrivateKey * getPrivateKey(); + ::java::lang::String * getAlias(); + void destroy(); + jboolean isDestroyed(); +private: + ::java::security::PrivateKey * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key; + ::java::security::cert::X509Certificate * certificate; + ::java::lang::String * alias; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_x500_X500PrivateCredential__ diff --git a/libjava/javax/security/cert/Certificate.h b/libjava/javax/security/cert/Certificate.h new file mode 100644 index 000000000..1417a9ae2 --- /dev/null +++ b/libjava/javax/security/cert/Certificate.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_Certificate__ +#define __javax_security_cert_Certificate__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + class PublicKey; + } + } + namespace javax + { + namespace security + { + namespace cert + { + class Certificate; + } + } + } +} + +class javax::security::cert::Certificate : public ::java::lang::Object +{ + +public: + Certificate(); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual JArray< jbyte > * getEncoded() = 0; + virtual void verify(::java::security::PublicKey *) = 0; + virtual void verify(::java::security::PublicKey *, ::java::lang::String *) = 0; + virtual ::java::lang::String * toString() = 0; + virtual ::java::security::PublicKey * getPublicKey() = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_Certificate__ diff --git a/libjava/javax/security/cert/CertificateEncodingException.h b/libjava/javax/security/cert/CertificateEncodingException.h new file mode 100644 index 000000000..d9f102e63 --- /dev/null +++ b/libjava/javax/security/cert/CertificateEncodingException.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_CertificateEncodingException__ +#define __javax_security_cert_CertificateEncodingException__ + +#pragma interface + +#include <javax/security/cert/CertificateException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace cert + { + class CertificateEncodingException; + } + } + } +} + +class javax::security::cert::CertificateEncodingException : public ::javax::security::cert::CertificateException +{ + +public: + CertificateEncodingException(); + CertificateEncodingException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_CertificateEncodingException__ diff --git a/libjava/javax/security/cert/CertificateException.h b/libjava/javax/security/cert/CertificateException.h new file mode 100644 index 000000000..259c5fb0f --- /dev/null +++ b/libjava/javax/security/cert/CertificateException.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_CertificateException__ +#define __javax_security_cert_CertificateException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace cert + { + class CertificateException; + } + } + } +} + +class javax::security::cert::CertificateException : public ::java::lang::Exception +{ + +public: + CertificateException(); + CertificateException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_CertificateException__ diff --git a/libjava/javax/security/cert/CertificateExpiredException.h b/libjava/javax/security/cert/CertificateExpiredException.h new file mode 100644 index 000000000..c8260988d --- /dev/null +++ b/libjava/javax/security/cert/CertificateExpiredException.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_CertificateExpiredException__ +#define __javax_security_cert_CertificateExpiredException__ + +#pragma interface + +#include <javax/security/cert/CertificateException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace cert + { + class CertificateExpiredException; + } + } + } +} + +class javax::security::cert::CertificateExpiredException : public ::javax::security::cert::CertificateException +{ + +public: + CertificateExpiredException(); + CertificateExpiredException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_CertificateExpiredException__ diff --git a/libjava/javax/security/cert/CertificateNotYetValidException.h b/libjava/javax/security/cert/CertificateNotYetValidException.h new file mode 100644 index 000000000..6b840c51e --- /dev/null +++ b/libjava/javax/security/cert/CertificateNotYetValidException.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_CertificateNotYetValidException__ +#define __javax_security_cert_CertificateNotYetValidException__ + +#pragma interface + +#include <javax/security/cert/CertificateException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace cert + { + class CertificateNotYetValidException; + } + } + } +} + +class javax::security::cert::CertificateNotYetValidException : public ::javax::security::cert::CertificateException +{ + +public: + CertificateNotYetValidException(); + CertificateNotYetValidException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_CertificateNotYetValidException__ diff --git a/libjava/javax/security/cert/CertificateParsingException.h b/libjava/javax/security/cert/CertificateParsingException.h new file mode 100644 index 000000000..e55a28405 --- /dev/null +++ b/libjava/javax/security/cert/CertificateParsingException.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_CertificateParsingException__ +#define __javax_security_cert_CertificateParsingException__ + +#pragma interface + +#include <javax/security/cert/CertificateException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace cert + { + class CertificateParsingException; + } + } + } +} + +class javax::security::cert::CertificateParsingException : public ::javax::security::cert::CertificateException +{ + +public: + CertificateParsingException(); + CertificateParsingException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_CertificateParsingException__ diff --git a/libjava/javax/security/cert/X509CertBridge.h b/libjava/javax/security/cert/X509CertBridge.h new file mode 100644 index 000000000..be6a18f15 --- /dev/null +++ b/libjava/javax/security/cert/X509CertBridge.h @@ -0,0 +1,70 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_X509CertBridge__ +#define __javax_security_cert_X509CertBridge__ + +#pragma interface + +#include <javax/security/cert/X509Certificate.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + class Principal; + class PublicKey; + namespace cert + { + class X509Certificate; + } + } + } + namespace javax + { + namespace security + { + namespace cert + { + class X509CertBridge; + } + } + } +} + +class javax::security::cert::X509CertBridge : public ::javax::security::cert::X509Certificate +{ + +public: // actually package-private + X509CertBridge(::java::security::cert::X509Certificate *); +public: + JArray< jbyte > * getEncoded(); + void verify(::java::security::PublicKey *); + void verify(::java::security::PublicKey *, ::java::lang::String *); + ::java::lang::String * toString(); + ::java::security::PublicKey * getPublicKey(); + void checkValidity(); + void checkValidity(::java::util::Date *); + jint getVersion(); + ::java::math::BigInteger * getSerialNumber(); + ::java::security::Principal * getIssuerDN(); + ::java::security::Principal * getSubjectDN(); + ::java::util::Date * getNotBefore(); + ::java::util::Date * getNotAfter(); + ::java::lang::String * getSigAlgName(); + ::java::lang::String * getSigAlgOID(); + JArray< jbyte > * getSigAlgParams(); +private: + ::java::security::cert::X509Certificate * __attribute__((aligned(__alignof__( ::javax::security::cert::X509Certificate)))) cert; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_X509CertBridge__ diff --git a/libjava/javax/security/cert/X509Certificate.h b/libjava/javax/security/cert/X509Certificate.h new file mode 100644 index 000000000..8d1cda6c6 --- /dev/null +++ b/libjava/javax/security/cert/X509Certificate.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_cert_X509Certificate__ +#define __javax_security_cert_X509Certificate__ + +#pragma interface + +#include <javax/security/cert/Certificate.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace math + { + class BigInteger; + } + namespace security + { + class Principal; + } + } + namespace javax + { + namespace security + { + namespace cert + { + class X509Certificate; + } + } + } +} + +class javax::security::cert::X509Certificate : public ::javax::security::cert::Certificate +{ + +public: + X509Certificate(); + static ::javax::security::cert::X509Certificate * getInstance(JArray< jbyte > *); + static ::javax::security::cert::X509Certificate * getInstance(::java::io::InputStream *); + virtual void checkValidity() = 0; + virtual void checkValidity(::java::util::Date *) = 0; + virtual jint getVersion() = 0; + virtual ::java::math::BigInteger * getSerialNumber() = 0; + virtual ::java::security::Principal * getIssuerDN() = 0; + virtual ::java::security::Principal * getSubjectDN() = 0; + virtual ::java::util::Date * getNotBefore() = 0; + virtual ::java::util::Date * getNotAfter() = 0; + virtual ::java::lang::String * getSigAlgName() = 0; + virtual ::java::lang::String * getSigAlgOID() = 0; + virtual JArray< jbyte > * getSigAlgParams() = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_security_cert_X509Certificate__ diff --git a/libjava/javax/security/sasl/AuthenticationException.h b/libjava/javax/security/sasl/AuthenticationException.h new file mode 100644 index 000000000..1ab4491ac --- /dev/null +++ b/libjava/javax/security/sasl/AuthenticationException.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_AuthenticationException__ +#define __javax_security_sasl_AuthenticationException__ + +#pragma interface + +#include <javax/security/sasl/SaslException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class AuthenticationException; + } + } + } +} + +class javax::security::sasl::AuthenticationException : public ::javax::security::sasl::SaslException +{ + +public: + AuthenticationException(); + AuthenticationException(::java::lang::String *); + AuthenticationException(::java::lang::String *, ::java::lang::Throwable *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_AuthenticationException__ diff --git a/libjava/javax/security/sasl/AuthorizeCallback.h b/libjava/javax/security/sasl/AuthorizeCallback.h new file mode 100644 index 000000000..3ae14bdb4 --- /dev/null +++ b/libjava/javax/security/sasl/AuthorizeCallback.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_AuthorizeCallback__ +#define __javax_security_sasl_AuthorizeCallback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class AuthorizeCallback; + } + } + } +} + +class javax::security::sasl::AuthorizeCallback : public ::java::lang::Object +{ + +public: + AuthorizeCallback(::java::lang::String *, ::java::lang::String *); + virtual ::java::lang::String * getAuthenticationID(); + virtual ::java::lang::String * getAuthorizationID(); + virtual jboolean isAuthorized(); + virtual void setAuthorized(jboolean); + virtual ::java::lang::String * getAuthorizedID(); + virtual void setAuthorizedID(::java::lang::String *); +private: + static const jlong serialVersionUID = -2353344186490470805LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) authenticationID; + ::java::lang::String * authorizationID; + ::java::lang::String * authorizedID; + jboolean authorized; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_AuthorizeCallback__ diff --git a/libjava/javax/security/sasl/RealmCallback.h b/libjava/javax/security/sasl/RealmCallback.h new file mode 100644 index 000000000..17dff3290 --- /dev/null +++ b/libjava/javax/security/sasl/RealmCallback.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_RealmCallback__ +#define __javax_security_sasl_RealmCallback__ + +#pragma interface + +#include <javax/security/auth/callback/TextInputCallback.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class RealmCallback; + } + } + } +} + +class javax::security::sasl::RealmCallback : public ::javax::security::auth::callback::TextInputCallback +{ + +public: + RealmCallback(::java::lang::String *); + RealmCallback(::java::lang::String *, ::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_RealmCallback__ diff --git a/libjava/javax/security/sasl/RealmChoiceCallback.h b/libjava/javax/security/sasl/RealmChoiceCallback.h new file mode 100644 index 000000000..c1ec2a20e --- /dev/null +++ b/libjava/javax/security/sasl/RealmChoiceCallback.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_RealmChoiceCallback__ +#define __javax_security_sasl_RealmChoiceCallback__ + +#pragma interface + +#include <javax/security/auth/callback/ChoiceCallback.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class RealmChoiceCallback; + } + } + } +} + +class javax::security::sasl::RealmChoiceCallback : public ::javax::security::auth::callback::ChoiceCallback +{ + +public: + RealmChoiceCallback(::java::lang::String *, JArray< ::java::lang::String * > *, jint, jboolean); + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_RealmChoiceCallback__ diff --git a/libjava/javax/security/sasl/Sasl.h b/libjava/javax/security/sasl/Sasl.h new file mode 100644 index 000000000..16a0cf23d --- /dev/null +++ b/libjava/javax/security/sasl/Sasl.h @@ -0,0 +1,64 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_Sasl__ +#define __javax_security_sasl_Sasl__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class CallbackHandler; + } + } + namespace sasl + { + class Sasl; + class SaslClient; + class SaslServer; + } + } + } +} + +class javax::security::sasl::Sasl : public ::java::lang::Object +{ + + Sasl(); +public: + static ::javax::security::sasl::SaslClient * createSaslClient(JArray< ::java::lang::String * > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *); + static ::java::util::Enumeration * getSaslClientFactories(); + static ::javax::security::sasl::SaslServer * createSaslServer(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *); + static ::java::util::Enumeration * getSaslServerFactories(); + static ::java::lang::String * QOP; + static ::java::lang::String * STRENGTH; + static ::java::lang::String * SERVER_AUTH; + static ::java::lang::String * MAX_BUFFER; + static ::java::lang::String * RAW_SEND_SIZE; + static ::java::lang::String * POLICY_NOPLAINTEXT; + static ::java::lang::String * POLICY_NOACTIVE; + static ::java::lang::String * POLICY_NODICTIONARY; + static ::java::lang::String * POLICY_NOANONYMOUS; + static ::java::lang::String * POLICY_FORWARD_SECRECY; + static ::java::lang::String * POLICY_PASS_CREDENTIALS; + static ::java::lang::String * REUSE; +private: + static ::java::lang::String * CLIENT_FACTORY_SVC; + static ::java::lang::String * SERVER_FACTORY_SVC; + static ::java::lang::String * ALIAS; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_Sasl__ diff --git a/libjava/javax/security/sasl/SaslClient.h b/libjava/javax/security/sasl/SaslClient.h new file mode 100644 index 000000000..cad1cdaa8 --- /dev/null +++ b/libjava/javax/security/sasl/SaslClient.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslClient__ +#define __javax_security_sasl_SaslClient__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class SaslClient; + } + } + } +} + +class javax::security::sasl::SaslClient : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * getMechanismName() = 0; + virtual jboolean hasInitialResponse() = 0; + virtual JArray< jbyte > * evaluateChallenge(JArray< jbyte > *) = 0; + virtual jboolean isComplete() = 0; + virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint) = 0; + virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint) = 0; + virtual ::java::lang::Object * getNegotiatedProperty(::java::lang::String *) = 0; + virtual void dispose() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslClient__ diff --git a/libjava/javax/security/sasl/SaslClientFactory.h b/libjava/javax/security/sasl/SaslClientFactory.h new file mode 100644 index 000000000..ab603a104 --- /dev/null +++ b/libjava/javax/security/sasl/SaslClientFactory.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslClientFactory__ +#define __javax_security_sasl_SaslClientFactory__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class CallbackHandler; + } + } + namespace sasl + { + class SaslClient; + class SaslClientFactory; + } + } + } +} + +class javax::security::sasl::SaslClientFactory : public ::java::lang::Object +{ + +public: + virtual ::javax::security::sasl::SaslClient * createSaslClient(JArray< ::java::lang::String * > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *) = 0; + virtual JArray< ::java::lang::String * > * getMechanismNames(::java::util::Map *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslClientFactory__ diff --git a/libjava/javax/security/sasl/SaslException.h b/libjava/javax/security/sasl/SaslException.h new file mode 100644 index 000000000..9cfd9fce3 --- /dev/null +++ b/libjava/javax/security/sasl/SaslException.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslException__ +#define __javax_security_sasl_SaslException__ + +#pragma interface + +#include <java/io/IOException.h> +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class SaslException; + } + } + } +} + +class javax::security::sasl::SaslException : public ::java::io::IOException +{ + +public: + SaslException(); + SaslException(::java::lang::String *); + SaslException(::java::lang::String *, ::java::lang::Throwable *); + virtual ::java::lang::Throwable * getCause(); + virtual void printStackTrace(); + virtual void printStackTrace(::java::io::PrintStream *); + virtual void printStackTrace(::java::io::PrintWriter *); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = 4579784287983423626LL; + ::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::io::IOException)))) _exception; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_sasl_SaslException__ diff --git a/libjava/javax/security/sasl/SaslServer.h b/libjava/javax/security/sasl/SaslServer.h new file mode 100644 index 000000000..d1f6a89c6 --- /dev/null +++ b/libjava/javax/security/sasl/SaslServer.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslServer__ +#define __javax_security_sasl_SaslServer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace sasl + { + class SaslServer; + } + } + } +} + +class javax::security::sasl::SaslServer : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * getMechanismName() = 0; + virtual JArray< jbyte > * evaluateResponse(JArray< jbyte > *) = 0; + virtual jboolean isComplete() = 0; + virtual ::java::lang::String * getAuthorizationID() = 0; + virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint) = 0; + virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint) = 0; + virtual ::java::lang::Object * getNegotiatedProperty(::java::lang::String *) = 0; + virtual void dispose() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslServer__ diff --git a/libjava/javax/security/sasl/SaslServerFactory.h b/libjava/javax/security/sasl/SaslServerFactory.h new file mode 100644 index 000000000..ceaf0016e --- /dev/null +++ b/libjava/javax/security/sasl/SaslServerFactory.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_sasl_SaslServerFactory__ +#define __javax_security_sasl_SaslServerFactory__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class CallbackHandler; + } + } + namespace sasl + { + class SaslServer; + class SaslServerFactory; + } + } + } +} + +class javax::security::sasl::SaslServerFactory : public ::java::lang::Object +{ + +public: + virtual ::javax::security::sasl::SaslServer * createSaslServer(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::util::Map *, ::javax::security::auth::callback::CallbackHandler *) = 0; + virtual JArray< ::java::lang::String * > * getMechanismNames(::java::util::Map *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_security_sasl_SaslServerFactory__ |