Udostępnij za pośrednictwem


KeyStoreSpi.EngineLoad Method

Definition

Overloads

EngineLoad(KeyStore+ILoadStoreParameter)

Loads the keystore from the given input stream.

EngineLoad(Stream, Char[])

Loads the keystore from the given input stream.

EngineLoad(KeyStore+ILoadStoreParameter)

Loads the keystore from the given input stream.

[Android.Runtime.Register("engineLoad", "(Ljava/security/KeyStore$LoadStoreParameter;)V", "GetEngineLoad_Ljava_security_KeyStore_LoadStoreParameter_Handler")]
public virtual void EngineLoad (Java.Security.KeyStore.ILoadStoreParameter? param);
[<Android.Runtime.Register("engineLoad", "(Ljava/security/KeyStore$LoadStoreParameter;)V", "GetEngineLoad_Ljava_security_KeyStore_LoadStoreParameter_Handler")>]
abstract member EngineLoad : Java.Security.KeyStore.ILoadStoreParameter -> unit
override this.EngineLoad : Java.Security.KeyStore.ILoadStoreParameter -> unit

Parameters

param
KeyStore.ILoadStoreParameter

the LoadStoreParameter that specifies how to load this KeyStoreSpi, maybe null.

Attributes

Exceptions

if a problem occurred while reading from the stream.

if the required algorithm is not available.

if the an exception occurred while loading the certificates of this code KeyStoreSpi.

if the given KeyStore.ILoadStoreParameter is not recognized.

Remarks

Java documentation for java.security.KeyStoreSpi.engineLoad(java.io.InputStream, 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

EngineLoad(Stream, Char[])

Loads the keystore from the given input stream.

[Android.Runtime.Register("engineLoad", "(Ljava/io/InputStream;[C)V", "GetEngineLoad_Ljava_io_InputStream_arrayCHandler")]
public abstract void EngineLoad (System.IO.Stream? stream, char[]? password);
[<Android.Runtime.Register("engineLoad", "(Ljava/io/InputStream;[C)V", "GetEngineLoad_Ljava_io_InputStream_arrayCHandler")>]
abstract member EngineLoad : System.IO.Stream * char[] -> unit

Parameters

stream
Stream

the input stream from which the keystore is loaded, or null

password
Char[]

the password used to check the integrity of the keystore, the password used to unlock the keystore, or null

Attributes

Exceptions

if a problem occurred while reading from the stream.

if the required algorithm is not available.

if the an exception occurred while loading the certificates of this code KeyStoreSpi.

Remarks

Loads the keystore from the given input stream.

A password may be given to unlock the keystore (e.g. the keystore resides on a hardware token device), or to check the integrity of the keystore data. If a password is not given for integrity checking, then integrity checking is not performed.

Java documentation for java.security.KeyStoreSpi.engineLoad(java.io.InputStream, 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