Sdílet prostřednictvím


KeyManagerFactorySpi.EngineInit Method

Definition

Overloads

EngineInit(IManagerFactoryParameters)

Initializes this factory with a source of key material.

EngineInit(KeyStore, Char[])

Initializes this factory with a source of key material.

EngineInit(IManagerFactoryParameters)

Initializes this factory with a source of key material.

[Android.Runtime.Register("engineInit", "(Ljavax/net/ssl/ManagerFactoryParameters;)V", "GetEngineInit_Ljavax_net_ssl_ManagerFactoryParameters_Handler")]
protected abstract void EngineInit (Javax.Net.Ssl.IManagerFactoryParameters? spec);
[<Android.Runtime.Register("engineInit", "(Ljavax/net/ssl/ManagerFactoryParameters;)V", "GetEngineInit_Ljavax_net_ssl_ManagerFactoryParameters_Handler")>]
abstract member EngineInit : Javax.Net.Ssl.IManagerFactoryParameters -> unit

Parameters

spec
IManagerFactoryParameters

an implementation of a provider-specific parameter specification

Attributes

Exceptions

Remarks

Initializes this factory with a source of key material.

In some cases, initialization parameters other than a keystore and password may be needed by a provider. Users of that particular provider are expected to pass an implementation of the appropriate ManagerFactoryParameters as defined by the provider. The provider can then call the specified methods in the ManagerFactoryParameters implementation to obtain the needed information.

Java documentation for javax.net.ssl.KeyManagerFactorySpi.engineInit(javax.net.ssl.ManagerFactoryParameters).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

EngineInit(KeyStore, Char[])

Initializes this factory with a source of key material.

[Android.Runtime.Register("engineInit", "(Ljava/security/KeyStore;[C)V", "GetEngineInit_Ljava_security_KeyStore_arrayCHandler")]
protected abstract void EngineInit (Java.Security.KeyStore? ks, char[]? password);
[<Android.Runtime.Register("engineInit", "(Ljava/security/KeyStore;[C)V", "GetEngineInit_Ljava_security_KeyStore_arrayCHandler")>]
abstract member EngineInit : Java.Security.KeyStore * char[] -> unit

Parameters

ks
KeyStore

the key store or null

password
Char[]

the password for recovering keys

Attributes

Exceptions

if initializing this instance fails.

if a required algorithm is not available.

if a key cannot be recovered.

Remarks

Initializes this factory with a source of key material.

Java documentation for javax.net.ssl.KeyManagerFactorySpi.engineInit(java.security.KeyStore, char[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to