Java.Security.KeyStore.Load Method
Initializes this KeyStore from the provided InputStream.

Syntax

[Android.Runtime.Register("load", "(Ljava/io/InputStream;[C)V", "")]
public void Load (System.IO.Stream stream, char[] password)

Parameters

stream
the InputStream to load this KeyStore's data from or null.
password
the password to verify the stored data, maybe null.

Exceptions

TypeReason
Java.IO.IOExceptionif a problem occurred while reading from the stream.
Java.Security.NoSuchAlgorithmExceptionif the required algorithm is not available.
Java.Security.Cert.CertificateExceptionif an exception occurred while loading the certificates of this KeyStore.

Remarks

Initializes this KeyStore from the provided InputStream. Pass null as the stream argument to initialize an empty KeyStore or to initialize a KeyStore which does not rely on an InputStream. This KeyStore utilizes the given password to verify the stored data.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1