Table of Contents

Class GSSContext

Namespace
Org.Ietf.Jgss
Assembly
MASES.JNet.dll
public class GSSContext : JVMBridgeBase<GSSContext>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IGSSContext
Inheritance
JVMBridgeBase
JVMBridgeBase<GSSContext>
GSSContext
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<GSSContext>.IsAssignableFrom(IJavaType)
JVMBridgeBase<GSSContext>.IsAssignableFrom<T>()
JVMBridgeBase<GSSContext>.Execute<T>(params T[])
JVMBridgeBase<GSSContext>.DynBridgeClazz
JVMBridgeBase<GSSContext>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

GSSContext()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("GSSContext class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GSSContext()

GSSContext(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("GSSContext class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GSSContext(params object[] args)

Parameters

args object[]

Properties

AnonymityState

public bool AnonymityState { get; }

Property Value

bool

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ConfState

public bool ConfState { get; }

Property Value

bool

CredDelegState

public bool CredDelegState { get; }

Property Value

bool

DEFAULT_LIFETIME

public static int DEFAULT_LIFETIME { get; }

Property Value

int

DelegCred

public GSSCredential DelegCred { get; }

Property Value

GSSCredential

INDEFINITE_LIFETIME

public static int INDEFINITE_LIFETIME { get; }

Property Value

int

IntegState

public bool IntegState { get; }

Property Value

bool

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Lifetime

public int Lifetime { get; }

Property Value

int

Mech

public Oid Mech { get; }

Property Value

Oid

MutualAuthState

public bool MutualAuthState { get; }

Property Value

bool

ReplayDetState

public bool ReplayDetState { get; }

Property Value

bool

SequenceDetState

public bool SequenceDetState { get; }

Property Value

bool

SrcName

public GSSName SrcName { get; }

Property Value

GSSName

TargName

public GSSName TargName { get; }

Property Value

GSSName

Methods

AcceptSecContext(byte[], int, int)

public byte[] AcceptSecContext(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

byte[]

byte

Exceptions

GSSException

Dispose()

public void Dispose()

Exceptions

GSSException

Export()

public byte[] Export()

Returns

byte[]

byte

Exceptions

GSSException

GetMIC(byte[], int, int, MessageProp)

public byte[] GetMIC(byte[] arg0, int arg1, int arg2, MessageProp arg3)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

arg3 MessageProp

MessageProp

Returns

byte[]

byte

Exceptions

GSSException

GetWrapSizeLimit(int, bool, int)

public int GetWrapSizeLimit(int arg0, bool arg1, int arg2)

Parameters

arg0 int

int

arg1 bool

bool

arg2 int

int

Returns

int

int

Exceptions

GSSException

InitSecContext(byte[], int, int)

public byte[] InitSecContext(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

byte[]

byte

Exceptions

GSSException

IsEstablished()

public bool IsEstablished()

Returns

bool

bool

IsInitiator()

public bool IsInitiator()

Returns

bool

bool

Exceptions

GSSException

IsProtReady()

public bool IsProtReady()

Returns

bool

bool

IsTransferable()

public bool IsTransferable()

Returns

bool

bool

Exceptions

GSSException

RequestAnonymity(bool)

public void RequestAnonymity(bool arg0)

Parameters

arg0 bool

bool

Exceptions

GSSException

RequestConf(bool)

public void RequestConf(bool arg0)

Parameters

arg0 bool

bool

Exceptions

GSSException

RequestCredDeleg(bool)

public void RequestCredDeleg(bool arg0)

Parameters

arg0 bool

bool

Exceptions

GSSException

RequestInteg(bool)

public void RequestInteg(bool arg0)

Parameters

arg0 bool

bool

Exceptions

GSSException

RequestLifetime(int)

public void RequestLifetime(int arg0)

Parameters

arg0 int

int

Exceptions

GSSException

RequestMutualAuth(bool)

public void RequestMutualAuth(bool arg0)

Parameters

arg0 bool

bool

Exceptions

GSSException

RequestReplayDet(bool)

public void RequestReplayDet(bool arg0)

Parameters

arg0 bool

bool

Exceptions

GSSException

RequestSequenceDet(bool)

public void RequestSequenceDet(bool arg0)

Parameters

arg0 bool

bool

Exceptions

GSSException

SetChannelBinding(ChannelBinding)

public void SetChannelBinding(ChannelBinding arg0)

Parameters

arg0 ChannelBinding

ChannelBinding

Exceptions

GSSException

Unwrap(byte[], int, int, MessageProp)

public byte[] Unwrap(byte[] arg0, int arg1, int arg2, MessageProp arg3)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

arg3 MessageProp

MessageProp

Returns

byte[]

byte

Exceptions

GSSException

VerifyMIC(byte[], int, int, byte[], int, int, MessageProp)

public void VerifyMIC(byte[] arg0, int arg1, int arg2, byte[] arg3, int arg4, int arg5, MessageProp arg6)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

arg3 byte[]

byte

arg4 int

int

arg5 int

int

arg6 MessageProp

MessageProp

Exceptions

GSSException

Wrap(byte[], int, int, MessageProp)

public byte[] Wrap(byte[] arg0, int arg1, int arg2, MessageProp arg3)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

arg3 MessageProp

MessageProp

Returns

byte[]

byte

Exceptions

GSSException