Table of Contents

Class KeyStore

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

KeyStore()

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

public KeyStore()

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DefaultType

public static String DefaultType { 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

Type

public String Type { get; }

Property Value

String

Methods

Aliases()

public Enumeration<String> Aliases()

Returns

Enumeration<String>

Enumeration

Exceptions

KeyStoreException

ContainsAlias(String)

public bool ContainsAlias(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

KeyStoreException

DeleteEntry(String)

public void DeleteEntry(String arg0)

Parameters

arg0 String

String

Exceptions

KeyStoreException

EntryInstanceOf(String, Class)

public bool EntryInstanceOf(String arg0, Class arg1)

Parameters

arg0 String

String

arg1 Class

Class

Returns

bool

bool

Exceptions

KeyStoreException

GetCertificate(String)

public Certificate GetCertificate(String arg0)

Parameters

arg0 String

String

Returns

Certificate

Certificate

Exceptions

KeyStoreException

GetCertificateAlias(Certificate)

public String GetCertificateAlias(Certificate arg0)

Parameters

arg0 Certificate

Certificate

Returns

String

String

Exceptions

KeyStoreException

GetCertificateChain(String)

public Certificate[] GetCertificateChain(String arg0)

Parameters

arg0 String

String

Returns

Certificate[]

Certificate

Exceptions

KeyStoreException

GetCreationDate(String)

public Date GetCreationDate(String arg0)

Parameters

arg0 String

String

Returns

Date

Date

Exceptions

KeyStoreException

GetEntry(String, ProtectionParameter)

public KeyStore.Entry GetEntry(String arg0, KeyStore.ProtectionParameter arg1)

Parameters

arg0 String

String

arg1 KeyStore.ProtectionParameter

KeyStore.ProtectionParameter

Returns

KeyStore.Entry

KeyStore.Entry

Exceptions

NoSuchAlgorithmException
UnrecoverableEntryException
KeyStoreException

GetInstance(File, LoadStoreParameter)

public static KeyStore GetInstance(File arg0, KeyStore.LoadStoreParameter arg1)

Parameters

arg0 File

File

arg1 KeyStore.LoadStoreParameter

KeyStore.LoadStoreParameter

Returns

KeyStore

KeyStore

Exceptions

KeyStoreException
IOException
NoSuchAlgorithmException
CertificateException

GetInstance(File, char[])

public static KeyStore GetInstance(File arg0, char[] arg1)

Parameters

arg0 File

File

arg1 char[]

char

Returns

KeyStore

KeyStore

Exceptions

KeyStoreException
IOException
NoSuchAlgorithmException
CertificateException

GetInstance(String)

public static KeyStore GetInstance(String arg0)

Parameters

arg0 String

String

Returns

KeyStore

KeyStore

Exceptions

KeyStoreException

GetInstance(String, String)

public static KeyStore GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

KeyStore

KeyStore

Exceptions

KeyStoreException
NoSuchProviderException

GetInstance(String, Provider)

public static KeyStore GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

KeyStore

KeyStore

Exceptions

KeyStoreException

GetKey(String, char[])

public Key GetKey(String arg0, char[] arg1)

Parameters

arg0 String

String

arg1 char[]

char

Returns

Key

Key

Exceptions

KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException

IsCertificateEntry(String)

public bool IsCertificateEntry(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

KeyStoreException

IsKeyEntry(String)

public bool IsKeyEntry(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

KeyStoreException

Load(InputStream, char[])

public void Load(InputStream arg0, char[] arg1)

Parameters

arg0 InputStream

InputStream

arg1 char[]

char

Exceptions

IOException
NoSuchAlgorithmException
CertificateException

Load(LoadStoreParameter)

public void Load(KeyStore.LoadStoreParameter arg0)

Parameters

arg0 KeyStore.LoadStoreParameter

KeyStore.LoadStoreParameter

Exceptions

IOException
NoSuchAlgorithmException
CertificateException

SetCertificateEntry(String, Certificate)

public void SetCertificateEntry(String arg0, Certificate arg1)

Parameters

arg0 String

String

arg1 Certificate

Certificate

Exceptions

KeyStoreException

SetEntry(String, Entry, ProtectionParameter)

public void SetEntry(String arg0, KeyStore.Entry arg1, KeyStore.ProtectionParameter arg2)

Parameters

arg0 String

String

arg1 KeyStore.Entry

KeyStore.Entry

arg2 KeyStore.ProtectionParameter

KeyStore.ProtectionParameter

Exceptions

KeyStoreException

SetKeyEntry(String, Key, char[], Certificate[])

public void SetKeyEntry(String arg0, Key arg1, char[] arg2, Certificate[] arg3)

Parameters

arg0 String

String

arg1 Key

Key

arg2 char[]

char

arg3 Certificate[]

Certificate

Exceptions

KeyStoreException

SetKeyEntry(String, byte[], Certificate[])

public void SetKeyEntry(String arg0, byte[] arg1, Certificate[] arg2)

Parameters

arg0 String

String

arg1 byte[]

byte

arg2 Certificate[]

Certificate

Exceptions

KeyStoreException

Size()

public int Size()

Returns

int

int

Exceptions

KeyStoreException

Store(OutputStream, char[])

public void Store(OutputStream arg0, char[] arg1)

Parameters

arg0 OutputStream

OutputStream

arg1 char[]

char

Exceptions

KeyStoreException
IOException
NoSuchAlgorithmException
CertificateException

Store(LoadStoreParameter)

public void Store(KeyStore.LoadStoreParameter arg0)

Parameters

arg0 KeyStore.LoadStoreParameter

KeyStore.LoadStoreParameter

Exceptions

KeyStoreException
IOException
NoSuchAlgorithmException
CertificateException