다음을 통해 공유


KeyStoreSpi.EngineGetEntry(String, KeyStore+IProtectionParameter) Method

Definition

Gets a KeyStore.Entry for the specified alias with the specified protection parameter.

[Android.Runtime.Register("engineGetEntry", "(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;", "GetEngineGetEntry_Ljava_lang_String_Ljava_security_KeyStore_ProtectionParameter_Handler")]
public virtual Java.Security.KeyStore.IEntry? EngineGetEntry (string? alias, Java.Security.KeyStore.IProtectionParameter? protParam);
[<Android.Runtime.Register("engineGetEntry", "(Ljava/lang/String;Ljava/security/KeyStore$ProtectionParameter;)Ljava/security/KeyStore$Entry;", "GetEngineGetEntry_Ljava_lang_String_Ljava_security_KeyStore_ProtectionParameter_Handler")>]
abstract member EngineGetEntry : string * Java.Security.KeyStore.IProtectionParameter -> Java.Security.KeyStore.IEntry
override this.EngineGetEntry : string * Java.Security.KeyStore.IProtectionParameter -> Java.Security.KeyStore.IEntry

Parameters

alias
String

get the KeyStore.Entry for this alias

protParam
KeyStore.IProtectionParameter

the ProtectionParameter used to protect the Entry, which may be null

Returns

the KeyStore.Entry for the specified alias, or null if there is no such entry

Attributes

Exceptions

if the required algorithm is not available.

if the entry can not be recovered.

if this operation fails

Remarks

Java documentation for java.security.KeyStoreSpi.engineGetEntry(java.lang.String, 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