| Modifier and Type | Field and Description |
|---|---|
| pack-priv McElieceKeyPairGenerator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | |
| public void | initialize(AlgorithmParameterSpec
the parameter set used to generate the keys. params, SecureRandom the source of randomness. random)Overrides java. Initializes the key pair generator with the given parameter set and source of randomness. |
| public void | initialize(int
the keysize. This is an
algorithm-specific metric, such as modulus length, specified in
number of bits. keySize, SecureRandom the source of randomness. random)Overrides java. Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set). |
| kpg | back to summary |
|---|---|
| pack-priv McElieceKeyPairGenerator kpg | |
| McElieceKeyPairGeneratorSpi | back to summary |
|---|---|
| public McElieceKeyPairGeneratorSpi() | |
| generateKeyPair | back to summary |
|---|---|
| public KeyPair generateKeyPair() Overrides java. Doc from java. Generates a key pair. If this This will generate a new key pair every time it is called. This method is functionally equivalent to
| |
| initialize | back to summary |
|---|---|
| public void initialize(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Overrides java. Doc from java. Initializes the key pair generator with the given parameter set and source of randomness. This concrete method has been added to this previously-defined
abstract class.
This method calls the KeyPairGeneratorSpi
| |
| initialize | back to summary |
|---|---|
| public void initialize(int keySize, SecureRandom random) Overrides java. Doc from java. Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set).
| |