Modifier and Type | Field and Description |
---|---|
private static boolean |
IS_DEBUG |
private GammaParameters |
keyParam |
Constructor and Description |
---|
ECGOST3410Signer() |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateSignature(byte[] message)
Формирование подписи
|
void |
init(boolean forSigning,
CipherParameters param)
Инициализация
|
boolean |
verifySignature(byte[] message,
byte[] sign)
Проверка подписи
|
private static final boolean IS_DEBUG
private GammaParameters keyParam
public void init(boolean forSigning, CipherParameters param)
public byte[] generateSignature(byte[] message)
generateSignature
in interface DSA
message
- The message to be signed.public boolean verifySignature(byte[] message, byte[] sign)
verifySignature
in interface DSA
message
- The message that was supposed to have been signed.sign
- SignatureCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.