Android Guides | Samples

Java.Security.KeyStore.PasswordProtection Class

PasswordProtection is a ProtectionParameter that protects a KeyStore using a password.

See Also: KeyStore+PasswordProtection

Syntax

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

Remarks

PasswordProtection is a ProtectionParameter that protects a KeyStore using a password.

[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.PasswordProtection are listed below.

See Also: Object

Public Constructors

Constructs a new instance of PasswordProtection with a password.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
IsDestroyedBoolean. Indicates whether the password is invalidated.

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

Destroy()
Destroys / invalidates the password.
GetPassword() : Char[]
Returns the password.