Partager via


KeyPairGeneratorSpec.Builder.SetAlias(String) Method

Definition

Sets the alias to be used to retrieve the key later from a KeyStore instance using the AndroidKeyStore provider.

[Android.Runtime.Register("setAlias", "(Ljava/lang/String;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")]
public Android.Security.KeyPairGeneratorSpec.Builder SetAlias (string alias);
[<Android.Runtime.Register("setAlias", "(Ljava/lang/String;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")>]
member this.SetAlias : string -> Android.Security.KeyPairGeneratorSpec.Builder

Parameters

alias
String

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to