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 javax.crypto.SecretKey
From interface java.security.Key
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.