Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

PBEKey

implements SecretKey
javax.crypto.interfaces.PBEKey

Class Overview

The interface to a password-based-encryption key.

Summary

Constants
long serialVersionUID The serial version identifier.
[Expand]
Inherited Constants
From interface java.security.Key
From interface javax.crypto.SecretKey
Public Methods
abstract int getIterationCount ()
Returns the iteration count, 0 if not specified.
abstract char[] getPassword ()
Returns a copy to the password.
abstract byte[] getSalt ()
Returns a copy of the salt data or null if not specified.
[Expand]
Inherited Methods
From interface java.security.Key

Constants

public static final long serialVersionUID

Added in API level 1

The serial version identifier.

Constant Value: -1430015993304333921 (0xec279007d7f7c19f)

Public Methods

public abstract int getIterationCount ()

Added in API level 1

Returns the iteration count, 0 if not specified.

Returns
  • the iteration count, 0 if not specified.

public abstract char[] getPassword ()

Added in API level 1

Returns a copy to the password.

Returns
  • a copy to the password.

public abstract byte[] getSalt ()

Added in API level 1

Returns a copy of the salt data or null if not specified.

Returns
  • a copy of the salt data or null if not specified.