Top Description Methods
org.bouncycastle.crypto

public Interface AsymmetricCipherKeyPairGenerator

Known Direct Implementers
org.bouncycastle.crypto.generators.CramerShoupKeyPairGenerator, org.bouncycastle.crypto.generators.DHBasicKeyPairGenerator, org.bouncycastle.crypto.generators.DHKeyPairGenerator, org.bouncycastle.crypto.generators.DSAKeyPairGenerator, org.bouncycastle.crypto.generators.ECKeyPairGenerator, org.bouncycastle.crypto.generators.Ed25519KeyPairGenerator, org.bouncycastle.crypto.generators.Ed448KeyPairGenerator, org.bouncycastle.crypto.generators.ElGamalKeyPairGenerator, org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator, org.bouncycastle.crypto.generators.NaccacheSternKeyPairGenerator, org.bouncycastle.crypto.generators.RSAKeyPairGenerator, org.bouncycastle.crypto.generators.X25519KeyPairGenerator, org.bouncycastle.crypto.generators.X448KeyPairGenerator, org.bouncycastle.pqc.crypto.bike.BIKEKeyPairGenerator, org.bouncycastle.pqc.crypto.cmce.CMCEKeyPairGenerator, org.bouncycastle.pqc.crypto.crystals.dilithium.DilithiumKeyPairGenerator, org.bouncycastle.pqc.crypto.crystals.kyber.KyberKeyPairGenerator, org.bouncycastle.pqc.crypto.falcon.FalconKeyPairGenerator, org.bouncycastle.pqc.crypto.frodo.FrodoKeyPairGenerator, org.bouncycastle.pqc.crypto.gemss.GeMSSKeyPairGenerator, org.bouncycastle.pqc.crypto.hqc.HQCKeyPairGenerator, org.bouncycastle.pqc.crypto.lms.HSSKeyPairGenerator, org.bouncycastle.pqc.crypto.lms.LMSKeyPairGenerator, org.bouncycastle.pqc.crypto.newhope.NHKeyPairGenerator, org.bouncycastle.pqc.crypto.ntru.NTRUKeyPairGenerator, org.bouncycastle.pqc.crypto.ntruprime.NTRULPRimeKeyPairGenerator, org.bouncycastle.pqc.crypto.ntruprime.SNTRUPrimeKeyPairGenerator, org.bouncycastle.pqc.crypto.picnic.PicnicKeyPairGenerator, org.bouncycastle.pqc.crypto.rainbow.RainbowKeyPairGenerator, org.bouncycastle.pqc.crypto.saber.SABERKeyPairGenerator, org.bouncycastle.pqc.crypto.sphincs.SPHINCS256KeyPairGenerator, org.bouncycastle.pqc.crypto.sphincsplus.SPHINCSPlusKeyPairGenerator, org.bouncycastle.pqc.crypto.xmss.XMSSKeyPairGenerator, org.bouncycastle.pqc.crypto.xmss.XMSSMTKeyPairGenerator, org.bouncycastle.pqc.legacy.crypto.gmss.GMSSKeyPairGenerator, org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceCCA2KeyPairGenerator, org.bouncycastle.pqc.legacy.crypto.mceliece.McElieceKeyPairGenerator, org.bouncycastle.pqc.legacy.crypto.ntru.NTRUEncryptionKeyPairGenerator, org.bouncycastle.pqc.legacy.crypto.ntru.NTRUSigningKeyPairGenerator, org.bouncycastle.pqc.legacy.crypto.qtesla.QTESLAKeyPairGenerator, org.bouncycastle.pqc.legacy.crypto.rainbow.RainbowKeyPairGenerator

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.