to top
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

Since: API Level 1

The serial version identifier.

Constant Value: -1430015993304333921 (0xec279007d7f7c19f)

Public Methods

public abstract int getIterationCount ()

Since: API Level 1

Returns the iteration count, 0 if not specified.

Returns
  • the iteration count, 0 if not specified.

public abstract char[] getPassword ()

Since: API Level 1

Returns a copy to the password.

Returns
  • a copy to the password.

public abstract byte[] getSalt ()

Since: 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.