Top Description Methods
org.bouncycastle.crypto

public Interface AsymmetricKeyPairGenerator<T extends Parameters, P extends AsymmetricPublicKey, S extends AsymmetricPrivateKey>

Known Direct Implementers
org.bouncycastle.crypto.fips.FipsAsymmetricKeyPairGenerator, org.bouncycastle.crypto.general.GuardedAsymmetricKeyPairGenerator
Type Parameters
<T>
the generator's parameters type.
<P>
the type of the public key.
<S>
the type of the private key.
Imports
org.bouncycastle.crypto.asymmetric.AsymmetricKeyPair

Interface describing a key generator for public/private key pairs.

Method Summary

Modifier and TypeMethod and Description
public AsymmetricKeyPair<P, S>

Returns:

a new key pair.
generateKeyPair
()

Return a newly generated key pair.

public T

Returns:

the generator's parameters.
getParameters
()

Return the parameters being used by this generator.

Method Detail

generateKeyPairback to summary
public AsymmetricKeyPair<P, S> generateKeyPair()

Return a newly generated key pair.

Returns:AsymmetricKeyPair<P, S>

a new key pair.

getParametersback to summary
public T getParameters()

Return the parameters being used by this generator.

Returns:T

the generator's parameters.