Java.Security.KeyStore.Store Method
Writes this KeyStore to the specified OutputStream.

Syntax

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

Parameters

stream
the OutputStream to write the store's data to.
password
the password to protect the data.

Exceptions

TypeReason
Java.Security.KeyStoreExceptionif this KeyStore is not initialized.
Java.IO.IOExceptionif a problem occurred while writing to the stream.
Java.Security.NoSuchAlgorithmExceptionif the required algorithm is not available.
Java.Security.Cert.CertificateExceptionif an exception occurred while storing the certificates of this KeyStore.

Remarks

Writes this KeyStore to the specified OutputStream. The data written to the OutputStream is protected by the specified password.

[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