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/org/ietf/jgss | |
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/org/ietf/jgss')
-rw-r--r-- | libjava/org/ietf/jgss/ChannelBinding.h | 52 | ||||
-rw-r--r-- | libjava/org/ietf/jgss/GSSContext.h | 80 | ||||
-rw-r--r-- | libjava/org/ietf/jgss/GSSCredential.h | 52 | ||||
-rw-r--r-- | libjava/org/ietf/jgss/GSSException.h | 72 | ||||
-rw-r--r-- | libjava/org/ietf/jgss/GSSManager.h | 61 | ||||
-rw-r--r-- | libjava/org/ietf/jgss/GSSName.h | 49 | ||||
-rw-r--r-- | libjava/org/ietf/jgss/MessageProp.h | 54 | ||||
-rw-r--r-- | libjava/org/ietf/jgss/Oid.h | 53 |
8 files changed, 473 insertions, 0 deletions
diff --git a/libjava/org/ietf/jgss/ChannelBinding.h b/libjava/org/ietf/jgss/ChannelBinding.h new file mode 100644 index 000000000..a83c6f296 --- /dev/null +++ b/libjava/org/ietf/jgss/ChannelBinding.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_ChannelBinding__ +#define __org_ietf_jgss_ChannelBinding__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace net + { + class InetAddress; + } + } + namespace org + { + namespace ietf + { + namespace jgss + { + class ChannelBinding; + } + } + } +} + +class org::ietf::jgss::ChannelBinding : public ::java::lang::Object +{ + +public: + ChannelBinding(::java::net::InetAddress *, ::java::net::InetAddress *, JArray< jbyte > *); + ChannelBinding(JArray< jbyte > *); + virtual ::java::net::InetAddress * getInitiatorAddress(); + virtual ::java::net::InetAddress * getAcceptorAddress(); + virtual JArray< jbyte > * getApplicationData(); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); +private: + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) appData; + ::java::net::InetAddress * initAddr; + ::java::net::InetAddress * acceptAddr; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_ietf_jgss_ChannelBinding__ diff --git a/libjava/org/ietf/jgss/GSSContext.h b/libjava/org/ietf/jgss/GSSContext.h new file mode 100644 index 000000000..04b322c2d --- /dev/null +++ b/libjava/org/ietf/jgss/GSSContext.h @@ -0,0 +1,80 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_GSSContext__ +#define __org_ietf_jgss_GSSContext__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace ietf + { + namespace jgss + { + class ChannelBinding; + class GSSContext; + class GSSCredential; + class GSSName; + class MessageProp; + class Oid; + } + } + } +} + +class org::ietf::jgss::GSSContext : public ::java::lang::Object +{ + +public: + virtual JArray< jbyte > * initSecContext(JArray< jbyte > *, jint, jint) = 0; + virtual jint initSecContext(::java::io::InputStream *, ::java::io::OutputStream *) = 0; + virtual JArray< jbyte > * acceptSecContext(JArray< jbyte > *, jint, jint) = 0; + virtual void acceptSecContext(::java::io::InputStream *, ::java::io::OutputStream *) = 0; + virtual jboolean isEstablished() = 0; + virtual void dispose() = 0; + virtual jint getWrapSizeLimit(jint, jboolean, jint) = 0; + virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0; + virtual void wrap(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0; + virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0; + virtual void unwrap(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0; + virtual JArray< jbyte > * getMIC(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0; + virtual void getMIC(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0; + virtual void verifyMIC(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0; + virtual void verifyMIC(::java::io::InputStream *, ::java::io::InputStream *, ::org::ietf::jgss::MessageProp *) = 0; + virtual JArray< jbyte > * export$() = 0; + virtual void requestMutualAuth(jboolean) = 0; + virtual void requestReplayDet(jboolean) = 0; + virtual void requestSequenceDet(jboolean) = 0; + virtual void requestCredDeleg(jboolean) = 0; + virtual void requestAnonymity(jboolean) = 0; + virtual void requestConf(jboolean) = 0; + virtual void requestInteg(jboolean) = 0; + virtual void requestLifetime(jint) = 0; + virtual void setChannelBinding(::org::ietf::jgss::ChannelBinding *) = 0; + virtual jboolean getCredDelegState() = 0; + virtual jboolean getMutualAuthState() = 0; + virtual jboolean getReplayDetState() = 0; + virtual jboolean getSequenceDetState() = 0; + virtual jboolean getAnonymityState() = 0; + virtual jboolean isTransferable() = 0; + virtual jboolean isProtReady() = 0; + virtual jboolean getConfState() = 0; + virtual jboolean getIntegState() = 0; + virtual jint getLifetime() = 0; + virtual ::org::ietf::jgss::GSSName * getSrcName() = 0; + virtual ::org::ietf::jgss::GSSName * getTargName() = 0; + virtual ::org::ietf::jgss::Oid * getMech() = 0; + virtual ::org::ietf::jgss::GSSCredential * getDelegCred() = 0; + virtual jboolean isInitiator() = 0; + static const jint DEFAULT_LIFETIME = 0; + static const jint INDEFINITE_LIFETIME = 2147483647; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __org_ietf_jgss_GSSContext__ diff --git a/libjava/org/ietf/jgss/GSSCredential.h b/libjava/org/ietf/jgss/GSSCredential.h new file mode 100644 index 000000000..57560c474 --- /dev/null +++ b/libjava/org/ietf/jgss/GSSCredential.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_GSSCredential__ +#define __org_ietf_jgss_GSSCredential__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace ietf + { + namespace jgss + { + class GSSCredential; + class GSSName; + class Oid; + } + } + } +} + +class org::ietf::jgss::GSSCredential : public ::java::lang::Object +{ + +public: + virtual void dispose() = 0; + virtual ::org::ietf::jgss::GSSName * getName() = 0; + virtual ::org::ietf::jgss::GSSName * getName(::org::ietf::jgss::Oid *) = 0; + virtual jint getRemainingLifetime() = 0; + virtual jint getRemainingInitLifetime(::org::ietf::jgss::Oid *) = 0; + virtual jint getRemainingAcceptLifetime(::org::ietf::jgss::Oid *) = 0; + virtual jint getUsage() = 0; + virtual jint getUsage(::org::ietf::jgss::Oid *) = 0; + virtual JArray< ::org::ietf::jgss::Oid * > * getMechs() = 0; + virtual void add(::org::ietf::jgss::GSSName *, jint, jint, ::org::ietf::jgss::Oid *, jint) = 0; + virtual jboolean equals(::java::lang::Object *) = 0; + virtual jint hashCode() = 0; + static const jint INITIATE_AND_ACCEPT = 0; + static const jint INITIATE_ONLY = 1; + static const jint ACCEPT_ONLY = 2; + static const jint DEFAULT_LIFETIME = 0; + static const jint INDEFINITE_LIFETIME = 2147483647; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __org_ietf_jgss_GSSCredential__ diff --git a/libjava/org/ietf/jgss/GSSException.h b/libjava/org/ietf/jgss/GSSException.h new file mode 100644 index 000000000..b703521de --- /dev/null +++ b/libjava/org/ietf/jgss/GSSException.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_GSSException__ +#define __org_ietf_jgss_GSSException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace org + { + namespace ietf + { + namespace jgss + { + class GSSException; + } + } + } +} + +class org::ietf::jgss::GSSException : public ::java::lang::Exception +{ + +public: + GSSException(jint); + GSSException(jint, jint, ::java::lang::String *); + virtual jint getMajor(); + virtual jint getMinor(); + virtual ::java::lang::String * getMajorString(); + virtual ::java::lang::String * getMinorString(); + virtual void setMinor(jint, ::java::lang::String *); + virtual ::java::lang::String * toString(); + virtual ::java::lang::String * getMessage(); +private: + ::java::lang::String * getMsg(::java::lang::String *, ::java::lang::String *); + static const jlong serialVersionUID = -2706218945227726672LL; +public: + static const jint BAD_BINDINGS = 1; + static const jint BAD_MECH = 2; + static const jint BAD_NAME = 3; + static const jint BAD_NAMETYPE = 4; + static const jint BAD_STATUS = 5; + static const jint BAD_MIC = 6; + static const jint CONTEXT_EXPIRED = 7; + static const jint CREDENTIALS_EXPIRED = 8; + static const jint DEFECTIVE_CREDENTIAL = 9; + static const jint DEFECTIVE_TOKEN = 10; + static const jint FAILURE = 11; + static const jint NO_CONTEXT = 12; + static const jint NO_CRED = 13; + static const jint BAD_QOP = 14; + static const jint UNAUTHORIZED = 15; + static const jint UNAVAILABLE = 16; + static const jint DUPLICATE_ELEMENT = 17; + static const jint NAME_NOT_MN = 18; + static const jint DUPLICATE_TOKEN = 19; + static const jint OLD_TOKEN = 20; + static const jint UNSEQ_TOKEN = 21; + static const jint GAP_TOKEN = 22; +private: + jint __attribute__((aligned(__alignof__( ::java::lang::Exception)))) major; + jint minor; + ::java::lang::String * minorString; + ::java::util::ResourceBundle * messages; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_ietf_jgss_GSSException__ diff --git a/libjava/org/ietf/jgss/GSSManager.h b/libjava/org/ietf/jgss/GSSManager.h new file mode 100644 index 000000000..c33a2bc5a --- /dev/null +++ b/libjava/org/ietf/jgss/GSSManager.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_GSSManager__ +#define __org_ietf_jgss_GSSManager__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace security + { + class Provider; + } + } + namespace org + { + namespace ietf + { + namespace jgss + { + class GSSContext; + class GSSCredential; + class GSSManager; + class GSSName; + class Oid; + } + } + } +} + +class org::ietf::jgss::GSSManager : public ::java::lang::Object +{ + +public: + GSSManager(); + static ::org::ietf::jgss::GSSManager * getInstance(); + virtual void addProviderAtEnd(::java::security::Provider *, ::org::ietf::jgss::Oid *) = 0; + virtual void addProviderAtFront(::java::security::Provider *, ::org::ietf::jgss::Oid *) = 0; + virtual ::org::ietf::jgss::GSSContext * createContext(JArray< jbyte > *) = 0; + virtual ::org::ietf::jgss::GSSContext * createContext(::org::ietf::jgss::GSSCredential *) = 0; + virtual ::org::ietf::jgss::GSSContext * createContext(::org::ietf::jgss::GSSName *, ::org::ietf::jgss::Oid *, ::org::ietf::jgss::GSSCredential *, jint) = 0; + virtual ::org::ietf::jgss::GSSCredential * createCredential(jint) = 0; + virtual ::org::ietf::jgss::GSSCredential * createCredential(::org::ietf::jgss::GSSName *, jint, ::org::ietf::jgss::Oid *, jint) = 0; + virtual ::org::ietf::jgss::GSSCredential * createCredential(::org::ietf::jgss::GSSName *, jint, JArray< ::org::ietf::jgss::Oid * > *, jint) = 0; + virtual ::org::ietf::jgss::GSSName * createName(JArray< jbyte > *, ::org::ietf::jgss::Oid *) = 0; + virtual ::org::ietf::jgss::GSSName * createName(JArray< jbyte > *, ::org::ietf::jgss::Oid *, ::org::ietf::jgss::Oid *) = 0; + virtual ::org::ietf::jgss::GSSName * createName(::java::lang::String *, ::org::ietf::jgss::Oid *) = 0; + virtual ::org::ietf::jgss::GSSName * createName(::java::lang::String *, ::org::ietf::jgss::Oid *, ::org::ietf::jgss::Oid *) = 0; + virtual JArray< ::org::ietf::jgss::Oid * > * getMechs() = 0; + virtual JArray< ::org::ietf::jgss::Oid * > * getMechsForName(::org::ietf::jgss::Oid *) = 0; + virtual JArray< ::org::ietf::jgss::Oid * > * getNamesForMech(::org::ietf::jgss::Oid *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __org_ietf_jgss_GSSManager__ diff --git a/libjava/org/ietf/jgss/GSSName.h b/libjava/org/ietf/jgss/GSSName.h new file mode 100644 index 000000000..28db6a46e --- /dev/null +++ b/libjava/org/ietf/jgss/GSSName.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_GSSName__ +#define __org_ietf_jgss_GSSName__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace ietf + { + namespace jgss + { + class GSSName; + class Oid; + } + } + } +} + +class org::ietf::jgss::GSSName : public ::java::lang::Object +{ + +public: + virtual jboolean equals(::org::ietf::jgss::GSSName *) = 0; + virtual jboolean equals(::java::lang::Object *) = 0; + virtual jint hashCode() = 0; + virtual ::org::ietf::jgss::GSSName * canonicalize(::org::ietf::jgss::Oid *) = 0; + virtual JArray< jbyte > * export$() = 0; + virtual ::java::lang::String * toString() = 0; + virtual ::org::ietf::jgss::Oid * getStringNameType() = 0; + virtual jboolean isAnonymous() = 0; + virtual jboolean isMN() = 0; + static ::org::ietf::jgss::Oid * NT_ANONYMOUS; + static ::org::ietf::jgss::Oid * NT_EXPORT_NAME; + static ::org::ietf::jgss::Oid * NT_HOSTBASED_SERVICE; + static ::org::ietf::jgss::Oid * NT_MACHINE_UID_NAME; + static ::org::ietf::jgss::Oid * NT_STRING_UID_NAME; + static ::org::ietf::jgss::Oid * NT_USER_NAME; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __org_ietf_jgss_GSSName__ diff --git a/libjava/org/ietf/jgss/MessageProp.h b/libjava/org/ietf/jgss/MessageProp.h new file mode 100644 index 000000000..6cf362383 --- /dev/null +++ b/libjava/org/ietf/jgss/MessageProp.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_MessageProp__ +#define __org_ietf_jgss_MessageProp__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace org + { + namespace ietf + { + namespace jgss + { + class MessageProp; + } + } + } +} + +class org::ietf::jgss::MessageProp : public ::java::lang::Object +{ + +public: + MessageProp(jboolean); + MessageProp(jint, jboolean); + virtual jint getQOP(); + virtual jboolean getPrivacy(); + virtual jint getMinorStatus(); + virtual ::java::lang::String * getMinorString(); + virtual void setQOP(jint); + virtual void setPrivacy(jboolean); + virtual jboolean isDuplicateToken(); + virtual jboolean isOldToken(); + virtual jboolean isUnseqToken(); + virtual jboolean isGapToken(); + virtual void setSupplementaryStates(jboolean, jboolean, jboolean, jboolean, jint, ::java::lang::String *); +private: + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) qopVal; + jboolean privState; + jboolean duplicate; + jboolean old; + jboolean unseq; + jboolean gap; + jint minorStatus; + ::java::lang::String * minorString; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_ietf_jgss_MessageProp__ diff --git a/libjava/org/ietf/jgss/Oid.h b/libjava/org/ietf/jgss/Oid.h new file mode 100644 index 000000000..6c8c0cc27 --- /dev/null +++ b/libjava/org/ietf/jgss/Oid.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __org_ietf_jgss_Oid__ +#define __org_ietf_jgss_Oid__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace org + { + namespace ietf + { + namespace jgss + { + class Oid; + } + } + } +} + +class org::ietf::jgss::Oid : public ::java::lang::Object +{ + +public: + Oid(::java::lang::String *); + Oid(::java::io::InputStream *); + Oid(JArray< jbyte > *); +public: // actually package-private + Oid(JArray< jint > *); +public: + virtual ::java::lang::String * toString(); + virtual JArray< jbyte > * getDER(); + virtual jboolean containedIn(JArray< ::org::ietf::jgss::Oid * > *); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); +private: + static void encodeSubId(::java::io::OutputStream *, jint); + static const jint OBJECT_IDENTIFIER = 6; + static const jint RELATIVE_OID = 13; + JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components; + JArray< jbyte > * derOid; + ::java::lang::String * strOid; + jboolean relative; +public: + static ::java::lang::Class class$; +}; + +#endif // __org_ietf_jgss_Oid__ |