P - the type of these PBE parameters.S - the type of the key strength.@ImplementationsShouldExtend(value=AbstractPbeParameters.class) public interface PbeParameters<P extends PbeParameters<P,S>,S extends KeyStrength> extends Key<P>
Implementations do not need to be safe for multi-threading.
| Modifier and Type | Method and Description |
|---|---|
S[] |
getAllKeyStrengths()
Returns a new non-empty array of all available cipher key strengths.
|
S |
getKeyStrength()
Returns the cipher key strength.
|
char[] |
getPassword()
Returns a protective copy of the password char array.
|
void |
setKeyStrength(S keyStrength)
Sets the cipher key strength.
|
void |
setPassword(char[] password)
Copies and stores the given password char array for deriving the cipher
key.
|
S[] getAllKeyStrengths()
@Nullable char[] getPassword()
void setKeyStrength(@Nullable S keyStrength)
keyStrength - the cipher key strength.void setPassword(@Nullable char[] password)
password - the password char array for deriving the cipher key.Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.