Java.Security.KeyStore.SetEntry Method
Stores the given Entry in this KeyStore and associates the entry with the given alias.

Syntax

[Android.Runtime.Register("setEntry", "(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V", "")]
public void SetEntry (string alias, KeyStore.IEntry entry, KeyStore.IProtectionParameter param)

Parameters

alias
the alias for the entry.
entry
the entry to store.
param
the ProtectionParameter to protect the entry.

Exceptions

TypeReason
Java.Security.KeyStoreExceptionif this KeyStore is not initialized.
Java.Lang.NullPointerExceptionif alias is null or entry is null.

Remarks

Stores the given Entry in this KeyStore and associates the entry with the given alias. The entry is protected by the specified ProtectionParameter.

If the specified alias already exists, it will be reassigned.

[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