KeyStore.SetEntry Método

Definición

Guarda un almacén Entry de claves en el alias especificado.

[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

Parámetros

alias
String

guarde el almacén de claves Entry en este alias.

entry
KeyStore.IEntry

que Entry se va a guardar

protParam
KeyStore.IProtectionParameter

ProtectionParameter que se usa para proteger , Entryque puede sernull

Atributos

Excepciones

KeyStore si no se inicializa.

si alias es null o entry es null.

Comentarios

Java documentación para java.security.KeyStore.setEntry(java.lang.String, java.security.Entry, java.security.ProtectionParameter).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a