- stream
- the OutputStream to write the store's data to.
- password
- the password to protect the data.
Type Reason Java.Security.KeyStoreException if this KeyStore is not initialized. Java.IO.IOException if a problem occurred while writing to the stream. Java.Security.NoSuchAlgorithmException if the required algorithm is not available. Java.Security.Cert.CertificateException if an exception occurred while storing the certificates of this KeyStore.
Writes this KeyStore to the specified OutputStream. The data written to the OutputStream is protected by the specified password.