KeyStore.SetEntry 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將金鑰儲存 Entry 在指定的別名下。
[Android.Runtime.Register("setEntry", "(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V", "")]
public void SetEntry(string? alias, Java.Security.KeyStore.IEntry? entry, Java.Security.KeyStore.IProtectionParameter? protParam);
[<Android.Runtime.Register("setEntry", "(Ljava/lang/String;Ljava/security/KeyStore$Entry;Ljava/security/KeyStore$ProtectionParameter;)V", "")>]
member this.SetEntry : string * Java.Security.KeyStore.IEntry * Java.Security.KeyStore.IProtectionParameter -> unit
參數
- alias
- String
以此別名儲存 Keystore Entry
- entry
- KeyStore.IEntry
Entry拯救
- protParam
- KeyStore.IProtectionParameter
用來 ProtectionParameter 保護 Entry,這可能為 null
- 屬性
例外狀況
如果這 KeyStore 不是初始化的。
若 alias 或 nullentry 是 null。
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。