Table of Contents

Class ExemptionMechanism

Namespace
Javax.Crypto
Assembly
MASES.Netdroid.dll
public class ExemptionMechanism : JVMBridgeBase<ExemptionMechanism>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
ExemptionMechanism
Implements
Extension Methods

Constructors

ExemptionMechanism(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ExemptionMechanism(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

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

GetName()

public String GetName()

Returns

String

String

GetOutputSize(int)

public int GetOutputSize(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

IllegalStateException

GetProvider()

public Provider GetProvider()

Returns

Provider

Provider

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