|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.crypto.mayo.MayoKeyPairGenerator
Implementation of the MAYO asymmetric key pair generator following the MAYO signature scheme specifications.
This generator produces MayoPublicKeyParameters
and MayoPrivateKeyParameters
based on the
MAYO algorithm parameters. The implementation follows the specification defined in the official MAYO
documentation and reference implementation.
References:
MAYO Official Website MAYO Specification Document MAYO Reference Implementation (C)
Constructor Summary | |
MayoKeyPairGenerator()
|
Method Summary | |
AsymmetricCipherKeyPair |
generateKeyPair()
Generates a new asymmetric key pair following the MAYO algorithm specifications. |
void |
init(KeyGenerationParameters param)
intialise the key pair generator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MayoKeyPairGenerator()
Method Detail |
public void init(KeyGenerationParameters param)
AsymmetricCipherKeyPairGenerator
init
in interface AsymmetricCipherKeyPairGenerator
param
- the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
The key generation process follows these steps:
Initializes parameter dimensions fromMayoParameters
Generates secret key seed using a secure random generator
Derives public key seed using SHAKE-256
Expands matrix parameters P1 and P2
Performs GF(16) matrix operations for key material generation
Assembles and packages the public key components
Securely clears temporary buffers containing sensitive data
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |