Table of Contents

Class ExemptionMechanism

Namespace
Javax.Crypto
Assembly
MASES.JNet.dll
public class ExemptionMechanism : JVMBridgeBase<ExemptionMechanism>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<ExemptionMechanism>
ExemptionMechanism
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ExemptionMechanism>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ExemptionMechanism>.IsAssignableFrom<T>()
JVMBridgeBase<ExemptionMechanism>.Execute<T>(params T[])
JVMBridgeBase<ExemptionMechanism>.DynBridgeClazz
JVMBridgeBase<ExemptionMechanism>.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.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ExemptionMechanism()

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

public ExemptionMechanism()

ExemptionMechanism(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

public ExemptionMechanism(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

Name

public String Name { get; }

Property Value

String

Provider

public Provider Provider { get; }

Property Value

Provider

Methods

GenExemptionBlob()

public byte[] GenExemptionBlob()

Returns

byte[]

byte

Exceptions

IllegalStateException
ExemptionMechanismException

GenExemptionBlob(byte[])

public int GenExemptionBlob(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

int

int

Exceptions

IllegalStateException
ShortBufferException
ExemptionMechanismException

GenExemptionBlob(byte[], int)

public int GenExemptionBlob(byte[] arg0, int arg1)

Parameters

arg0 byte[]

byte

arg1 int

int

Returns

int

int

Exceptions

IllegalStateException
ShortBufferException
ExemptionMechanismException

GetInstance(String)

public static ExemptionMechanism GetInstance(String arg0)

Parameters

arg0 String

String

Returns

ExemptionMechanism

ExemptionMechanism

Exceptions

NoSuchAlgorithmException

GetInstance(String, String)

public static ExemptionMechanism GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

ExemptionMechanism

ExemptionMechanism

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, Provider)

public static ExemptionMechanism GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

ExemptionMechanism

ExemptionMechanism

Exceptions

NoSuchAlgorithmException

GetOutputSize(int)

public int GetOutputSize(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

IllegalStateException

Init(Key)

public void Init(Key arg0)

Parameters

arg0 Key

Key

Exceptions

InvalidKeyException
ExemptionMechanismException

Init(Key, AlgorithmParameters)

public void Init(Key arg0, AlgorithmParameters arg1)

Parameters

arg0 Key

Key

arg1 AlgorithmParameters

AlgorithmParameters

Exceptions

InvalidKeyException
InvalidAlgorithmParameterException
ExemptionMechanismException

Init(Key, AlgorithmParameterSpec)

public void Init(Key arg0, AlgorithmParameterSpec arg1)

Parameters

arg0 Key

Key

arg1 AlgorithmParameterSpec

AlgorithmParameterSpec

Exceptions

InvalidKeyException
InvalidAlgorithmParameterException
ExemptionMechanismException

IsCryptoAllowed(Key)

public bool IsCryptoAllowed(Key arg0)

Parameters

arg0 Key

Key

Returns

bool

bool

Exceptions

ExemptionMechanismException