KeyStore.IsKeyEntry(String) Method
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 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
- alias
- String
the alias for the keystore entry to be checked
true if the entry identified by the given alias is a key-related entry, false otherwise.
- Attributes
if this KeyStore
is not initialized.
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.