KeyStore.PasswordProtection.GetPassword Method
Definition
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.
Gets the password.
[Android.Runtime.Register("getPassword", "()[C", "GetGetPasswordHandler")]
public virtual char[] GetPassword ();
[<Android.Runtime.Register("getPassword", "()[C", "GetGetPasswordHandler")>]
abstract member GetPassword : unit -> char[]
override this.GetPassword : unit -> char[]
Returns
the password, which may be null
- Attributes
Exceptions
if the password has been destroyed.
Remarks
Gets the password.
Note that this method returns a reference to the password. If a clone of the array is created it is the caller's responsibility to zero out the password information after it is no longer needed.
Java documentation for java.security.KeyStore.PasswordProtection.getPassword()
.
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.