다음을 통해 공유


KeyStore.Builder.GetProtectionParameter(String) Method

Definition

Returns the ProtectionParameter to be used when a Entry with the specified alias is requested.

[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

Parameters

alias
String

the alias for the entry.

Returns

Attributes

Exceptions

if an error occurred during the lookup for the protection parameter.

if KeyStore is not called prior the invocation of this method.

if alias is null.

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