KeyStore.SetEntry Method
Definition
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.
Saves a keystore Entry
under the specified alias.
[Android.Runtime.Register("setEntry", "(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V", "")]
public void SetEntry (string? alias, Java.Security.KeyStore.IEntry? entry, Java.Security.KeyStore.IProtectionParameter? protParam);
[<Android.Runtime.Register("setEntry", "(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V", "")>]
member this.SetEntry : string * Java.Security.KeyStore.IEntry * Java.Security.KeyStore.IProtectionParameter -> unit
Parameters
- alias
- String
save the keystore Entry
under this alias
- entry
- KeyStore.IEntry
the Entry
to save
- protParam
- KeyStore.IProtectionParameter
the ProtectionParameter
used to protect the Entry
,
which may be null
- Attributes
Exceptions
if this KeyStore
is not initialized.
if alias
is null
or entry
is null
.
Remarks
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.