public final class MaskedPasswordAlgorithmSpec extends Object implements AlgorithmParameterSpec
Constructor and Description |
---|
MaskedPasswordAlgorithmSpec(char[] initialKeyMaterial,
int iterationCount,
byte[] salt)
Construct a new instance.
|
MaskedPasswordAlgorithmSpec(char[] initialKeyMaterial,
int iterationCount,
byte[] salt,
byte[] initializationVector)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
byte[] |
getInitializationVector()
Get the initialization vector.
|
char[] |
getInitialKeyMaterial()
Get the initial key material.
|
int |
getIterationCount()
Get the iteration count.
|
byte[] |
getSalt()
Get the salt bytes.
|
int |
hashCode() |
public MaskedPasswordAlgorithmSpec(char[] initialKeyMaterial, int iterationCount, byte[] salt)
initialKeyMaterial
- the initial key material (must not be null
)iterationCount
- the iteration countsalt
- the salt bytes (must not be null
)public MaskedPasswordAlgorithmSpec(char[] initialKeyMaterial, int iterationCount, byte[] salt, byte[] initializationVector)
initialKeyMaterial
- the initial key material (must not be null
)iterationCount
- the iteration countsalt
- the salt bytes (must not be null
)initializationVector
- the initialization vector (can be null
)public char[] getInitialKeyMaterial()
null
)public int getIterationCount()
public byte[] getSalt()
null
)public byte[] getInitializationVector()
null
)Copyright © 2021 JBoss by Red Hat. All rights reserved.