public interface

AsymmetricCipherKeyPairGenerator

org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
abstract AsymmetricCipherKeyPair generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
abstract void init(KeyGenerationParameters param)
intialise the key pair generator.

Public Methods

public abstract AsymmetricCipherKeyPair generateKeyPair ()

return an AsymmetricCipherKeyPair containing the generated keys.

Returns
  • an AsymmetricCipherKeyPair containing the generated keys.

public abstract void init (KeyGenerationParameters param)

intialise the key pair generator.

Parameters
param the parameters the key pair is to be initialised with.