public class KdfTreeDiversKeySpec
extends ru.CryptoPro.JCP.params.DiversKeyBase
KDF_TREE_GOSTR3411_2012_256
. Передается в secret
key factory.Modifier and Type | Field and Description |
---|---|
static int |
KDF_TREE_GOSTR3411_2012_256
Признак использования алгоритма диверсификации
KDF_TREE_GOSTR3411_2012_256.
|
Constructor and Description |
---|
KdfTreeDiversKeySpec(java.security.Key key,
byte[] label,
int iterationNumber,
byte[] seed,
int l,
int r)
Конструктор.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getAlgorithm() |
int |
getIterationNumber()
Получение номера результирующего ключа.
|
int |
getL()
Получение L.
|
byte[] |
getLabel()
Получение Label.
|
int |
getR()
Получение R.
|
byte[] |
getSeed()
Получение Seed.
|
int |
hashCode() |
getDiversType, getEncoded, getFormat, getKey
public static final int KDF_TREE_GOSTR3411_2012_256
public KdfTreeDiversKeySpec(java.security.Key key, byte[] label, int iterationNumber, byte[] seed, int l, int r)
key
- Диверсифицируемый ключ.label
- Значение Label.iterationNumber
- Номер результирующего ключа.seed
- Значение Seed.l
- Значение L.r
- Значение R.public byte[] getLabel()
public byte[] getSeed()
public int getIterationNumber()
public int getL()
public int getR()
public java.lang.String getAlgorithm()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object