1 |
761 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __org_ietf_jgss_GSSContext__
|
5 |
|
|
#define __org_ietf_jgss_GSSContext__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace org
|
15 |
|
|
{
|
16 |
|
|
namespace ietf
|
17 |
|
|
{
|
18 |
|
|
namespace jgss
|
19 |
|
|
{
|
20 |
|
|
class ChannelBinding;
|
21 |
|
|
class GSSContext;
|
22 |
|
|
class GSSCredential;
|
23 |
|
|
class GSSName;
|
24 |
|
|
class MessageProp;
|
25 |
|
|
class Oid;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
|
31 |
|
|
class org::ietf::jgss::GSSContext : public ::java::lang::Object
|
32 |
|
|
{
|
33 |
|
|
|
34 |
|
|
public:
|
35 |
|
|
virtual JArray< jbyte > * initSecContext(JArray< jbyte > *, jint, jint) = 0;
|
36 |
|
|
virtual jint initSecContext(::java::io::InputStream *, ::java::io::OutputStream *) = 0;
|
37 |
|
|
virtual JArray< jbyte > * acceptSecContext(JArray< jbyte > *, jint, jint) = 0;
|
38 |
|
|
virtual void acceptSecContext(::java::io::InputStream *, ::java::io::OutputStream *) = 0;
|
39 |
|
|
virtual jboolean isEstablished() = 0;
|
40 |
|
|
virtual void dispose() = 0;
|
41 |
|
|
virtual jint getWrapSizeLimit(jint, jboolean, jint) = 0;
|
42 |
|
|
virtual JArray< jbyte > * wrap(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
|
43 |
|
|
virtual void wrap(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0;
|
44 |
|
|
virtual JArray< jbyte > * unwrap(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
|
45 |
|
|
virtual void unwrap(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0;
|
46 |
|
|
virtual JArray< jbyte > * getMIC(JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
|
47 |
|
|
virtual void getMIC(::java::io::InputStream *, ::java::io::OutputStream *, ::org::ietf::jgss::MessageProp *) = 0;
|
48 |
|
|
virtual void verifyMIC(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint, jint, ::org::ietf::jgss::MessageProp *) = 0;
|
49 |
|
|
virtual void verifyMIC(::java::io::InputStream *, ::java::io::InputStream *, ::org::ietf::jgss::MessageProp *) = 0;
|
50 |
|
|
virtual JArray< jbyte > * export$() = 0;
|
51 |
|
|
virtual void requestMutualAuth(jboolean) = 0;
|
52 |
|
|
virtual void requestReplayDet(jboolean) = 0;
|
53 |
|
|
virtual void requestSequenceDet(jboolean) = 0;
|
54 |
|
|
virtual void requestCredDeleg(jboolean) = 0;
|
55 |
|
|
virtual void requestAnonymity(jboolean) = 0;
|
56 |
|
|
virtual void requestConf(jboolean) = 0;
|
57 |
|
|
virtual void requestInteg(jboolean) = 0;
|
58 |
|
|
virtual void requestLifetime(jint) = 0;
|
59 |
|
|
virtual void setChannelBinding(::org::ietf::jgss::ChannelBinding *) = 0;
|
60 |
|
|
virtual jboolean getCredDelegState() = 0;
|
61 |
|
|
virtual jboolean getMutualAuthState() = 0;
|
62 |
|
|
virtual jboolean getReplayDetState() = 0;
|
63 |
|
|
virtual jboolean getSequenceDetState() = 0;
|
64 |
|
|
virtual jboolean getAnonymityState() = 0;
|
65 |
|
|
virtual jboolean isTransferable() = 0;
|
66 |
|
|
virtual jboolean isProtReady() = 0;
|
67 |
|
|
virtual jboolean getConfState() = 0;
|
68 |
|
|
virtual jboolean getIntegState() = 0;
|
69 |
|
|
virtual jint getLifetime() = 0;
|
70 |
|
|
virtual ::org::ietf::jgss::GSSName * getSrcName() = 0;
|
71 |
|
|
virtual ::org::ietf::jgss::GSSName * getTargName() = 0;
|
72 |
|
|
virtual ::org::ietf::jgss::Oid * getMech() = 0;
|
73 |
|
|
virtual ::org::ietf::jgss::GSSCredential * getDelegCred() = 0;
|
74 |
|
|
virtual jboolean isInitiator() = 0;
|
75 |
|
|
static const jint DEFAULT_LIFETIME = 0;
|
76 |
|
|
static const jint INDEFINITE_LIFETIME = 2147483647;
|
77 |
|
|
static ::java::lang::Class class$;
|
78 |
|
|
} __attribute__ ((java_interface));
|
79 |
|
|
|
80 |
|
|
#endif // __org_ietf_jgss_GSSContext__
|