KeyStore.Builder.GetProtectionParameter(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當ProtectionParameter請求指定別名時,會回傳 Entry to to 使用的 。
[Android.Runtime.Register("getProtectionParameter", "(Ljava/lang/String;)Ljava/security/KeyStore$ProtectionParameter;", "GetGetProtectionParameter_Ljava_lang_String_Handler")]
public abstract Java.Security.KeyStore.IProtectionParameter GetProtectionParameter(string alias);
[<Android.Runtime.Register("getProtectionParameter", "(Ljava/lang/String;)Ljava/security/KeyStore$ProtectionParameter;", "GetGetProtectionParameter_Ljava_lang_String_Handler")>]
abstract member GetProtectionParameter : string -> Java.Security.KeyStore.IProtectionParameter
參數
- alias
- String
那是條目筆下的化名。
傳回
保護參數(ProtectionParameter)應該用來取得該別名的條目。
- 屬性
例外狀況
如果在查找保護參數時發生錯誤。
如果 KeyStore 在呼叫此方法之前未被呼叫。
若 alias 是 null。
備註
回傳 ProtectionParameter 應該用來取得該別名的條目。 必須先呼叫 getKeyStore 方法,才能呼叫此方法。
Java 參考 java.security.KeyStore.Builder.getProtectionParameter。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。