KeyStore.Store Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Store(KeyStore+ILoadStoreParameter) |
Stores this keystore to the given output stream, and protects its integrity with the given password. |
Store(Stream, Char[]) |
Stores this keystore to the given output stream, and protects its integrity with the given password. |
Stores this keystore to the given output stream, and protects its integrity with the given password.
[Android.Runtime.Register("store", "(Ljava/security/KeyStore$LoadStoreParameter;)V", "")]
public void Store (Java.Security.KeyStore.ILoadStoreParameter? param);
[<Android.Runtime.Register("store", "(Ljava/security/KeyStore$LoadStoreParameter;)V", "")>]
member this.Store : Java.Security.KeyStore.ILoadStoreParameter -> unit
Parameters
the LoadStoreParameter
that specifies how to store
this KeyStore
, maybe null
.
- Attributes
Exceptions
if this KeyStore
is not initialized.
if a problem occurred while writing to the stream.
if the required algorithm is not available.
if an exception occurred while storing the certificates of
this KeyStore
.
if the given KeyStore.ILoadStoreParameter is not recognized.
Remarks
Java documentation for java.security.KeyStore.store(java.io.OutputStream, 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
Stores this keystore to the given output stream, and protects its integrity with the given password.
[Android.Runtime.Register("store", "(Ljava/io/OutputStream;[C)V", "")]
public void Store (System.IO.Stream? stream, char[]? password);
[<Android.Runtime.Register("store", "(Ljava/io/OutputStream;[C)V", "")>]
member this.Store : System.IO.Stream * char[] -> unit
Parameters
- stream
- Stream
the output stream to which this keystore is written.
- password
- Char[]
the password to generate the keystore integrity check
- Attributes
Exceptions
if this KeyStore
is not initialized.
if a problem occurred while writing to the stream.
if the required algorithm is not available.
if an exception occurred while storing the certificates of
this KeyStore
.
Remarks
Stores this keystore to the given output stream, and protects its integrity with the given password.
Java documentation for java.security.KeyStore.store(java.io.OutputStream, 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.