public class BLSKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
SecureRandom input keying material via the
draft-irtf-cfrg-bls-signature sec. 2.3 KeyGen procedure
(HKDF-SHA256 with the spec's salt rotation), so a given random source
produces a uniform secret in [1, r - 1].| Constructor and Description |
|---|
BLSKeyPairGenerator() |
| Modifier and Type | Method and Description |
|---|---|
AsymmetricCipherKeyPair |
generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
|
void |
init(KeyGenerationParameters param)
intialise the key pair generator.
|
public void init(KeyGenerationParameters param)
AsymmetricCipherKeyPairGeneratorinit in interface AsymmetricCipherKeyPairGeneratorparam - the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
AsymmetricCipherKeyPairGeneratorgenerateKeyPair in interface AsymmetricCipherKeyPairGenerator