PBEKey
interface PBEKey : SecretKey
| javax.crypto.interfaces.PBEKey | 
The interface to a PBE key.
Summary
| Constants | |
|---|---|
| static Long | The class fingerprint that is set to indicate serialization compatibility since J2SE 1. | 
| Public methods | |
|---|---|
| abstract Int | Returns the iteration count or 0 if not specified. | 
| abstract CharArray! | Returns the password. | 
| abstract ByteArray! | getSalt()Returns the salt or null if not specified. | 
Constants
serialVersionUID
static val serialVersionUID: Long
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
Value: -1430015993304333921LPublic methods
getIterationCount
abstract fun getIterationCount(): Int
Returns the iteration count or 0 if not specified.
| Return | |
|---|---|
| Int | the iteration count. | 
getPassword
abstract fun getPassword(): CharArray!
Returns the password.
Note: this method should return a copy of the password. It is the caller's responsibility to zero out the password information after it is no longer needed.
| Return | |
|---|---|
| CharArray! | the password. | 
getSalt
abstract fun getSalt(): ByteArray!
Returns the salt or null if not specified.
Note: this method should return a copy of the salt. It is the caller's responsibility to zero out the salt information after it is no longer needed.
| Return | |
|---|---|
| ByteArray! | the salt. | 
