|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.pqc.crypto.aimer.AIMerSigner
Implementation of the AIMer digital signature scheme as specified in the AIMer documentation. This class provides low-level cryptographic operations for both signature generation and verification, including finite field arithmetic over GF(2^128), GF(2^192), and GF(2^256), matrix generation, MPC-based proofs, and the AIM2 block cipher.
AIMer is a selected algorithm in the Korean Post-Quantum Cryptography (KPQC) project.
References:
AIMer Official Website AIMer Specification Document AIMer Reference Implementation (unavailable right now)This engine supports three security levels (128, 192, and 256 bits), each with fast and small variants.
The field size is automatically selected based on the provided AIMerParameters.
| Constructor Summary | |
AIMerSigner()
|
|
| Method Summary | |
byte[] |
generateSignature(byte[] message)
sign the passed in message (usually the output of a hash function). |
void |
init(boolean forSigning,
CipherParameters param)
initialise the signer for signature generation or signature verification. |
boolean |
verifySignature(byte[] message,
byte[] signature)
verify the message message against the signature value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AIMerSigner()
| Method Detail |
public void init(boolean forSigning,
CipherParameters param)
MessageSigner
init in interface MessageSignerforSigning - true if we are generating a signature, false
otherwise.param - key parameters for signature generation.public byte[] generateSignature(byte[] message)
MessageSigner
generateSignature in interface MessageSignermessage - the message to be signed.
public boolean verifySignature(byte[] message,
byte[] signature)
MessageSigner
verifySignature in interface MessageSignermessage - the message that was supposed to have been signed.signature - the signature of the message
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||