語言

KeyStoreSpi.EngineGetEntry(String, KeyStore+IProtectionParameter) 方法

定義

對於指定別名及指定保護參數,會得到 a KeyStore.Entry

[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

參數

alias
String

取得 KeyStore.Entry 這個別名

protParam
KeyStore.IProtectionParameter

用來 ProtectionParameter 保護 Entry,這可能為 null

傳回

該別名的 the KeyStore.Entry ,或 null 若不存在此類項目

屬性

例外狀況

若所需演算法無法取得。

如果無法恢復條目。

若此操作失敗

備註

Java 文件 java.security.KeyStoreSpi.engineGetEntry(java.lang.String, java.security.ProtectionParameter)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於