다음을 통해 공유


KeyStore.IsKeyEntry(String) Method

Definition

Returns true if the entry identified by the given alias was created by a call to setKeyEntry, or created by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry.

[Android.Runtime.Register("isKeyEntry", "(Ljava/lang/String;)Z", "")]
public bool IsKeyEntry (string? alias);
[<Android.Runtime.Register("isKeyEntry", "(Ljava/lang/String;)Z", "")>]
member this.IsKeyEntry : string -> bool

Parameters

alias
String

the alias for the keystore entry to be checked

Returns

true if the entry identified by the given alias is a key-related entry, false otherwise.

Attributes

Exceptions

if this KeyStore is not initialized.

Remarks

Returns true if the entry identified by the given alias was created by a call to setKeyEntry, or created by a call to setEntry with a PrivateKeyEntry or a SecretKeyEntry.

Java documentation for java.security.KeyStore.isKeyEntry(java.lang.String).

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