Udostępnij za pośrednictwem


SSLContextSpi.EngineInit(IKeyManager[], ITrustManager[], SecureRandom) Method

Definition

Initializes this context.

[Android.Runtime.Register("engineInit", "([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V", "GetEngineInit_arrayLjavax_net_ssl_KeyManager_arrayLjavax_net_ssl_TrustManager_Ljava_security_SecureRandom_Handler")]
protected abstract void EngineInit (Javax.Net.Ssl.IKeyManager[]? km, Javax.Net.Ssl.ITrustManager[]? tm, Java.Security.SecureRandom? sr);
[<Android.Runtime.Register("engineInit", "([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V", "GetEngineInit_arrayLjavax_net_ssl_KeyManager_arrayLjavax_net_ssl_TrustManager_Ljava_security_SecureRandom_Handler")>]
abstract member EngineInit : Javax.Net.Ssl.IKeyManager[] * Javax.Net.Ssl.ITrustManager[] * Java.Security.SecureRandom -> unit

Parameters

km
IKeyManager[]

the sources of authentication keys

tm
ITrustManager[]

the sources of peer authentication trust decisions

sr
SecureRandom

the source of randomness

Attributes

Exceptions

if initializing this instance fails.

Remarks

Initializes this context.

Java documentation for javax.net.ssl.SSLContextSpi.engineInit(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], java.security.SecureRandom).

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