Udostępnij za pośrednictwem


KeyStoreSpi.EngineSetEntry Method

Definition

Saves a KeyStore.Entry under the specified alias.

[Android.Runtime.Register("engineSetEntry", "(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V", "GetEngineSetEntry_Ljava_lang_String_Ljava_security_KeyStore_Entry_Ljava_security_KeyStore_ProtectionParameter_Handler")]
public virtual void EngineSetEntry (string? alias, Java.Security.KeyStore.IEntry? entry, Java.Security.KeyStore.IProtectionParameter? protParam);
[<Android.Runtime.Register("engineSetEntry", "(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V", "GetEngineSetEntry_Ljava_lang_String_Ljava_security_KeyStore_Entry_Ljava_security_KeyStore_ProtectionParameter_Handler")>]
abstract member EngineSetEntry : string * Java.Security.KeyStore.IEntry * Java.Security.KeyStore.IProtectionParameter -> unit
override this.EngineSetEntry : 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 operation fails.

Remarks

Java documentation for java.security.KeyStoreSpi.engineSetEntry(java.lang.String, java.security.Entry, java.security.ProtectionParameter).

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