KeyStore.Builder.GetProtectionParameter(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the ProtectionParameter that should be used to obtain the Entry with the given alias.
- 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
Returns the ProtectionParameter that should be used to obtain the Entry with the given alias. The getKeyStore method must be invoked before this method may be called.
Java reference for java.security.KeyStore.Builder.getProtectionParameter.
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.