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/gnu/javax/crypto/sasl/crammd5 | |
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/gnu/javax/crypto/sasl/crammd5')
6 files changed, 292 insertions, 0 deletions
diff --git a/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.h b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.h new file mode 100644 index 000000000..3a5ae195c --- /dev/null +++ b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_sasl_crammd5_CramMD5AuthInfoProvider__ +#define __gnu_javax_crypto_sasl_crammd5_CramMD5AuthInfoProvider__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace sasl + { + namespace crammd5 + { + class CramMD5AuthInfoProvider; + class PasswordFile; + } + } + } + } + } +} + +class gnu::javax::crypto::sasl::crammd5::CramMD5AuthInfoProvider : public ::java::lang::Object +{ + +public: + CramMD5AuthInfoProvider(); + virtual void activate(::java::util::Map *); + virtual void passivate(); + virtual jboolean contains(::java::lang::String *); + virtual ::java::util::Map * lookup(::java::util::Map *); + virtual void update(::java::util::Map *); + virtual ::java::util::Map * getConfiguration(::java::lang::String *); +private: + ::gnu::javax::crypto::sasl::crammd5::PasswordFile * __attribute__((aligned(__alignof__( ::java::lang::Object)))) passwordFile; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_sasl_crammd5_CramMD5AuthInfoProvider__ diff --git a/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Client.h b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Client.h new file mode 100644 index 000000000..b524a65a5 --- /dev/null +++ b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Client.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_sasl_crammd5_CramMD5Client__ +#define __gnu_javax_crypto_sasl_crammd5_CramMD5Client__ + +#pragma interface + +#include <gnu/javax/crypto/sasl/ClientMechanism.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace sasl + { + namespace crammd5 + { + class CramMD5Client; + } + } + } + } + } +} + +class gnu::javax::crypto::sasl::crammd5::CramMD5Client : public ::gnu::javax::crypto::sasl::ClientMechanism +{ + +public: + CramMD5Client(); +public: // actually protected + virtual void initMechanism(); + virtual void resetMechanism(); +public: + virtual jboolean hasInitialResponse(); + virtual JArray< jbyte > * evaluateChallenge(JArray< jbyte > *); +public: // actually protected + virtual ::java::lang::String * getNegotiatedQOP(); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_sasl_crammd5_CramMD5Client__ diff --git a/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Registry.h b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Registry.h new file mode 100644 index 000000000..2858e0521 --- /dev/null +++ b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Registry.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_sasl_crammd5_CramMD5Registry__ +#define __gnu_javax_crypto_sasl_crammd5_CramMD5Registry__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace sasl + { + namespace crammd5 + { + class CramMD5Registry; + } + } + } + } + } +} + +class gnu::javax::crypto::sasl::crammd5::CramMD5Registry : public ::java::lang::Object +{ + +public: + static ::java::lang::String * PASSWORD_FILE; + static ::java::lang::String * DEFAULT_PASSWORD_FILE; + static ::java::lang::String * UID_FIELD; + static ::java::lang::String * GID_FIELD; + static ::java::lang::String * GECOS_FIELD; + static ::java::lang::String * DIR_FIELD; + static ::java::lang::String * SHELL_FIELD; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __gnu_javax_crypto_sasl_crammd5_CramMD5Registry__ diff --git a/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Server.h b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Server.h new file mode 100644 index 000000000..b6712fd89 --- /dev/null +++ b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Server.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_sasl_crammd5_CramMD5Server__ +#define __gnu_javax_crypto_sasl_crammd5_CramMD5Server__ + +#pragma interface + +#include <gnu/javax/crypto/sasl/ServerMechanism.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace sasl + { + namespace crammd5 + { + class CramMD5Server; + } + } + } + } + } +} + +class gnu::javax::crypto::sasl::crammd5::CramMD5Server : public ::gnu::javax::crypto::sasl::ServerMechanism +{ + +public: + CramMD5Server(); +public: // actually protected + virtual void initMechanism(); + virtual void resetMechanism(); +public: + virtual JArray< jbyte > * evaluateResponse(JArray< jbyte > *); + virtual jboolean isComplete(); +public: // actually protected + virtual ::java::lang::String * getNegotiatedQOP(); +private: + JArray< jchar > * lookupPassword(::java::lang::String *); + JArray< jbyte > * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::sasl::ServerMechanism)))) msgID; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_sasl_crammd5_CramMD5Server__ diff --git a/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Util.h b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Util.h new file mode 100644 index 000000000..4e3387195 --- /dev/null +++ b/libjava/gnu/javax/crypto/sasl/crammd5/CramMD5Util.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_sasl_crammd5_CramMD5Util__ +#define __gnu_javax_crypto_sasl_crammd5_CramMD5Util__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace sasl + { + namespace crammd5 + { + class CramMD5Util; + } + } + } + } + } +} + +class gnu::javax::crypto::sasl::crammd5::CramMD5Util : public ::java::lang::Object +{ + + CramMD5Util(); +public: // actually package-private + static JArray< jbyte > * createMsgID(); + static JArray< jbyte > * createHMac(JArray< jchar > *, JArray< jbyte > *); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_sasl_crammd5_CramMD5Util__ diff --git a/libjava/gnu/javax/crypto/sasl/crammd5/PasswordFile.h b/libjava/gnu/javax/crypto/sasl/crammd5/PasswordFile.h new file mode 100644 index 000000000..cb97b2fb9 --- /dev/null +++ b/libjava/gnu/javax/crypto/sasl/crammd5/PasswordFile.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_crypto_sasl_crammd5_PasswordFile__ +#define __gnu_javax_crypto_sasl_crammd5_PasswordFile__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace crypto + { + namespace sasl + { + namespace crammd5 + { + class PasswordFile; + } + } + } + } + } +} + +class gnu::javax::crypto::sasl::crammd5::PasswordFile : public ::java::lang::Object +{ + +public: + PasswordFile(); + PasswordFile(::java::io::File *); + PasswordFile(::java::lang::String *); + virtual void add(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *); + virtual void changePasswd(::java::lang::String *, ::java::lang::String *); + virtual JArray< ::java::lang::String * > * lookup(::java::lang::String *); + virtual jboolean contains(::java::lang::String *); +private: + void update(); + void checkCurrent(); + void readPasswd(::java::io::InputStream *); + void savePasswd(); + static ::java::lang::String * DEFAULT_FILE; + ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) entries; + ::java::io::File * passwdFile; + jlong lastmod; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_crypto_sasl_crammd5_PasswordFile__ |