Top Description Methods
org.bouncycastle.crypto.internal

public Interface AsymmetricCipherKeyPairGenerator

Known Direct Implementers
org.bouncycastle.crypto.fips.DhKeyPairGenerator, org.bouncycastle.crypto.fips.RsaKeyPairGenerator, org.bouncycastle.crypto.fips.DsaKeyPairGenerator, org.bouncycastle.crypto.fips.EcKeyPairGenerator, org.bouncycastle.crypto.general.DsaKeyPairGenerator, org.bouncycastle.crypto.general.Gost3410KeyPairGenerator, org.bouncycastle.crypto.general.EcKeyPairGenerator, org.bouncycastle.crypto.general.Ed25519KeyPairGenerator, org.bouncycastle.crypto.general.Ed448KeyPairGenerator, org.bouncycastle.crypto.general.X25519KeyPairGenerator, org.bouncycastle.crypto.general.X448KeyPairGenerator

interface that a public/private key pair generator should conform to.

Method Summary

Modifier and TypeMethod and Description
public AsymmetricCipherKeyPair

Returns:

an AsymmetricCipherKeyPair containing the generated keys.
generateKeyPair
()

return an AsymmetricCipherKeyPair containing the generated keys.

public void
init(KeyGenerationParameters
the parameters the key pair is to be initialised with.
param
)

intialise the key pair generator.

Method Detail

generateKeyPairback to summary
public AsymmetricCipherKeyPair generateKeyPair()

return an AsymmetricCipherKeyPair containing the generated keys.

Returns:AsymmetricCipherKeyPair

an AsymmetricCipherKeyPair containing the generated keys.

initback to summary
public void init(KeyGenerationParameters param)

intialise the key pair generator.

Parameters
param:KeyGenerationParameters

the parameters the key pair is to be initialised with.