Android Guides | Samples

Java.Security.KeyStore.PrivateKeyEntry Class

PrivateKeyEntry represents a KeyStore entry that holds a private key.

See Also: KeyStore+PrivateKeyEntry

Syntax

[Android.Runtime.Register("java/security/KeyStore$PrivateKeyEntry", DoNotGenerateAcw=true)]
public sealed class KeyStore.PrivateKeyEntry : Object, KeyStore+IEntry, IDisposable

Remarks

PrivateKeyEntry represents a KeyStore entry that holds a private key.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

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

See Also: Object

Public Constructors

Constructs a new instance of PrivateKeyEntry with the given PrivateKey and the provided certificate chain.

Public Properties

[read-only]
CertificateCertificate. Returns the certificate corresponding to the private key.
[read-only]
PrivateKeyIPrivateKey. Returns the private key.

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

GetCertificateChain() : Certificate[]
Returns the certificate chain.