public class MulXSpec
extends java.lang.Object
implements java.security.Key
Constructor and Description |
---|
MulXSpec(java.security.Key sourceKey,
byte[] number)
Конструктор для умножения ключа и числа.
|
MulXSpec(java.security.Key sourceKey,
java.security.Key opKey)
Конструктор для умножения ключа и другого
ключа.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
byte[] |
getNumber()
Получение числа.
|
java.security.Key |
getOpKey()
Получение ключа для умножения/сложения/вычитания.
|
java.security.Key |
getSourceKey()
Получение умножаемого/слагаемого/вычитаемого ключа.
|
public MulXSpec(java.security.Key sourceKey, byte[] number)
sourceKey
- Ключ.number
- Число.public MulXSpec(java.security.Key sourceKey, java.security.Key opKey)
sourceKey
- Ключ.opKey
- Ключ.public java.security.Key getSourceKey()
public byte[] getNumber()
public java.security.Key getOpKey()
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key