Java.Security.KeyStore Members

The members of Java.Security.KeyStore are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.
Constructs a new instance of KeyStore with the given arguments.

Public Properties

[read-only]
static
DefaultTypestring. Returns the default type for KeyStore instances.
[read-only]
ProviderProvider. Returns the provider associated with this KeyStore.
[read-only]
Typestring. Returns the type of this KeyStore.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Aliases() : Java.Util.IEnumeration
Returns an Enumeration over all alias names stored in this KeyStore.
ContainsAlias(string) : bool
Indicates whether the given alias is present in this KeyStore.
DeleteEntry(string)
Deletes the entry identified with the given alias from this KeyStore.
EntryInstanceOf(string, Java.Lang.Class) : bool
Documentation for this section has not yet been entered.
GetCertificate(string) : Java.Security.Cert.Certificate
Returns the trusted certificate for the entry with the given alias.
GetCertificateAlias(Java.Security.Cert.Certificate) : string
Returns the alias associated with the first entry whose certificate matches the specified certificate.
GetCertificateChain(string) : Java.Security.Cert.Certificate[]
Returns the certificate chain for the entry with the given alias.
GetCreationDate(string) : Java.Util.Date
Returns the creation date of the entry with the given alias.
GetEntry(string, KeyStore.IProtectionParameter) : KeyStore.IEntry
Returns the Entry with the given alias, using the specified ProtectionParameter.
static
GetInstance(string) : KeyStore
Returns a new instance of KeyStore with the specified type.
static
GetInstance(string, Provider) : KeyStore
Returns a new instance of KeyStore from the specified provider with the given type.
static
GetInstance(string, string) : KeyStore
Returns a new instance of KeyStore from the specified provider with the given type.
GetKey(string, char[]) : IKey
Returns the key with the given alias, using the password to recover the key from the store.
IsCertificateEntry(string) : bool
Indicates whether the specified alias is associated with a NoType:java/security/KeyStore$TrustedCertificateEntry;Href=../../../reference/java/security/KeyStore.TrustedCertificateEntry.html.
IsKeyEntry(string) : bool
Indicates whether the specified alias is associated with either a NoType:java/security/KeyStore$PrivateKeyEntry;Href=../../../reference/java/security/KeyStore.PrivateKeyEntry.html or a NoType:java/security/KeyStore$SecretKeyEntry;Href=../../../reference/java/security/KeyStore.SecretKeyEntry.html.
Load(KeyStore.ILoadStoreParameter)
Loads this KeyStore using the specified LoadStoreParameter.
Load(System.IO.Stream, char[])
Initializes this KeyStore from the provided InputStream.
SetCertificateEntry(string, Java.Security.Cert.Certificate)
Associates the given alias with a certificate.
SetEntry(string, KeyStore.IEntry, KeyStore.IProtectionParameter)
Stores the given Entry in this KeyStore and associates the entry with the given alias.
SetKeyEntry(string, byte[], Java.Security.Cert.Certificate[])
Associates the given alias with a key and a certificate chain.
SetKeyEntry(string, IKey, char[], Java.Security.Cert.Certificate[])
Associates the given alias with the key, password and certificate chain.
Size() : int
Returns the number of entries stored in this KeyStore.
Store(KeyStore.ILoadStoreParameter)
Stores this KeyStore using the specified LoadStoreParameter.
Store(System.IO.Stream, char[])
Writes this KeyStore to the specified OutputStream.