public final class EncryptablePasswordSpec extends Object implements PasswordSpec
Constructor and Description |
---|
EncryptablePasswordSpec(char[] password,
AlgorithmParameterSpec algorithmParameterSpec)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
AlgorithmParameterSpec |
getAlgorithmParameterSpec()
Get the algorithm parameter specification.
|
char[] |
getPassword()
Get the password characters.
|
int |
hashCode() |
public EncryptablePasswordSpec(char[] password, AlgorithmParameterSpec algorithmParameterSpec)
password
- the password to be encrypted or hashedalgorithmParameterSpec
- the parameters of the algorithm to be used for encryption or hashingpublic char[] getPassword()
public AlgorithmParameterSpec getAlgorithmParameterSpec()
Copyright © 2020 JBoss by Red Hat. All rights reserved.