Table of Contents

Class KeyFactory

Namespace
Java.Security
Assembly
MASES.JNet.dll
public class KeyFactory : JVMBridgeBase<KeyFactory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<KeyFactory>
KeyFactory
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<KeyFactory>.IsAssignableFrom(IJavaType)
JVMBridgeBase<KeyFactory>.IsAssignableFrom<T>()
JVMBridgeBase<KeyFactory>.Execute<T>(params T[])
JVMBridgeBase<KeyFactory>.DynBridgeClazz
JVMBridgeBase<KeyFactory>.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

KeyFactory()

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

public KeyFactory()

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

Parameters

args object[]

Properties

Algorithm

public String Algorithm { get; }

Property Value

String

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

Provider

public Provider Provider { get; }

Property Value

Provider

Methods

GeneratePrivate(KeySpec)

public PrivateKey GeneratePrivate(KeySpec arg0)

Parameters

arg0 KeySpec

KeySpec

Returns

PrivateKey

PrivateKey

Exceptions

InvalidKeySpecException

GeneratePublic(KeySpec)

public PublicKey GeneratePublic(KeySpec arg0)

Parameters

arg0 KeySpec

KeySpec

Returns

PublicKey

PublicKey

Exceptions

InvalidKeySpecException

GetInstance(String)

public static KeyFactory GetInstance(String arg0)

Parameters

arg0 String

String

Returns

KeyFactory

KeyFactory

Exceptions

NoSuchAlgorithmException

GetInstance(String, String)

public static KeyFactory GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

KeyFactory

KeyFactory

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, Provider)

public static KeyFactory GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

KeyFactory

KeyFactory

Exceptions

NoSuchAlgorithmException

GetKeySpec<T>(Key, Class)

public T GetKeySpec<T>(Key arg0, Class arg1) where T : IKeySpec, new()

Parameters

arg0 Key

Key

arg1 Class

Class

Returns

T

T

Type Parameters

T

IKeySpec

Exceptions

InvalidKeySpecException

TranslateKey(Key)

public Key TranslateKey(Key arg0)

Parameters

arg0 Key

Key

Returns

Key

Key

Exceptions

InvalidKeyException