- alias
- the alias for the certificate.
- cert
- the certificate.
Type Reason Java.Security.KeyStoreException if this KeyStore is not initialized, or an existing alias is not associated to an entry containing a trusted certificate, or this method fails for any other reason. Java.Lang.NullPointerException if alias is null.
Associates the given alias with a certificate.
If the specified alias already exists, it will be reassigned.