Table of Contents

Class AlgorithmParameters

Namespace
Java.Security
Assembly
MASES.JNet.dll
public class AlgorithmParameters : JVMBridgeBase<AlgorithmParameters>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
AlgorithmParameters
Implements
Inherited Members
Extension Methods

Constructors

AlgorithmParameters()

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

public AlgorithmParameters()

AlgorithmParameters(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 AlgorithmParameters(params object[] args)

Parameters

args object[]

Properties

Algorithm

public String Algorithm { get; }

Property Value

String

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

Encoded

public byte[] Encoded { get; }

Property Value

byte[]

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 Closeable

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

Provider

public Provider Provider { get; }

Property Value

Provider

Methods

GetEncoded(String)

public byte[] GetEncoded(String arg0)

Parameters

arg0 String

String

Returns

byte[]

byte

Exceptions

IOException

GetInstance(String)

public static AlgorithmParameters GetInstance(String arg0)

Parameters

arg0 String

String

Returns

AlgorithmParameters

AlgorithmParameters

Exceptions

NoSuchAlgorithmException

GetInstance(String, String)

public static AlgorithmParameters GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

AlgorithmParameters

AlgorithmParameters

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, Provider)

public static AlgorithmParameters GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

AlgorithmParameters

AlgorithmParameters

Exceptions

NoSuchAlgorithmException

GetParameterSpec<T>(Class)

public T GetParameterSpec<T>(Class arg0) where T : IAlgorithmParameterSpec, new()

Parameters

arg0 Class

Class

Returns

T

T

Type Parameters

T

IAlgorithmParameterSpec

Exceptions

InvalidParameterSpecException

Init(AlgorithmParameterSpec)

public void Init(AlgorithmParameterSpec arg0)

Parameters

arg0 AlgorithmParameterSpec

AlgorithmParameterSpec

Exceptions

InvalidParameterSpecException

Init(byte[])

public void Init(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

IOException

Init(byte[], String)

public void Init(byte[] arg0, String arg1)

Parameters

arg0 byte[]

byte

arg1 String

String

Exceptions

IOException