public final class McElieceKeyPairGeneratorSpi extends KeyPairGeneratorSpi
| Constructor and Description |
|---|
McElieceKeyPairGeneratorSpi() |
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
generateKeyPair()
Generates a KeyPair consisting of a McEliecePrivateKey
and McEliecePublicKey depending on the initialization
of this object.
|
void |
initialize(AlgorithmParameterSpec params,
SecureRandom random)
Initializes the key pair generator using the specified parameter set
and source of randomness.
|
void |
initialize(int keysize,
SecureRandom random) |
public void initialize(int keysize,
SecureRandom random)
throws InvalidParameterException
initialize in class KeyPairGeneratorSpiInvalidParameterExceptionpublic void initialize(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException
initialize in class KeyPairGeneratorSpiparams - the parameter set used to generate the keys.random - a source of randomInvalidAlgorithmParameterException - if the given parameters are inappropriate for this key pair generator.public KeyPair generateKeyPair()
generateKeyPair in class KeyPairGeneratorSpiCopyright © 2020–2025 Stiftung SIC. All rights reserved.