Sdílet prostřednictvím


TrustManagerFactorySpi.EngineInit Method

Definition

Overloads

EngineInit(KeyStore)

Initializes this factory with a source of certificate authorities and related trust material.

EngineInit(IManagerFactoryParameters)

Initializes this factory with a source of provider-specific key material.

EngineInit(KeyStore)

Initializes this factory with a source of certificate authorities and related trust material.

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

Parameters

ks
KeyStore

the key store or null

Attributes

Exceptions

if the initialization fails.

Remarks

Initializes this factory with a source of certificate authorities and related trust material.

Java documentation for javax.net.ssl.TrustManagerFactorySpi.engineInit(java.security.KeyStore).

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(IManagerFactoryParameters)

Initializes this factory with a source of provider-specific 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

if the initialization fails.

Remarks

Initializes this factory with a source of provider-specific key material.

In some cases, initialization parameters other than a keystore 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.TrustManagerFactorySpi.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