Table of Contents

Class KeyPairGenerator

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

KeyPairGenerator()

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

[Obsolete("KeyPairGenerator 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 KeyPairGenerator()

KeyPairGenerator(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("KeyPairGenerator 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 KeyPairGenerator(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

GenKeyPair()

public KeyPair GenKeyPair()

Returns

KeyPair

KeyPair

GetInstance(String)

public static KeyPairGenerator GetInstance(String arg0)

Parameters

arg0 String

String

Returns

KeyPairGenerator

KeyPairGenerator

Exceptions

NoSuchAlgorithmException

GetInstance(String, String)

public static KeyPairGenerator GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

KeyPairGenerator

KeyPairGenerator

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, Provider)

public static KeyPairGenerator GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

KeyPairGenerator

KeyPairGenerator

Exceptions

NoSuchAlgorithmException

Initialize(AlgorithmParameterSpec)

public void Initialize(AlgorithmParameterSpec arg0)

Parameters

arg0 AlgorithmParameterSpec

AlgorithmParameterSpec

Exceptions

InvalidAlgorithmParameterException

Initialize(int)

public void Initialize(int arg0)

Parameters

arg0 int

int