語言

KeyStore.SetEntry 方法

定義

將金鑰儲存 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 不是初始化的。

aliasnullentrynull

備註

Java 文件 java.security.KeyStore.setEntry(java.lang.String, java.security.Entry, java.security.ProtectionParameter)

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

適用於