Top Description Methods
org.bouncycastle.openpgp.api

public Interface KeyPairGeneratorCallback

Annotations
@FunctionalInterface
Imports
org.bouncycastle.openpgp.PGPException, .PGPKeyPair, org.bouncycastle.openpgp.operator.PGPKeyPairGenerator

Callback to generate a PGPKeyPair from a PGPKeyPairGenerator instance.

Method Summary

Modifier and TypeMethod and Description
public PGPKeyPair

Returns:

generated key pair
generateFrom
(PGPKeyPairGenerator
PGPKeyPairGenerator
generator
)

Generate a PGPKeyPair by calling a factory method on a given generator instance.

Method Detail

generateFromback to summary
public PGPKeyPair generateFrom(PGPKeyPairGenerator generator) throws PGPException

Generate a PGPKeyPair by calling a factory method on a given generator instance.

Parameters
generator:PGPKeyPairGenerator

PGPKeyPairGenerator

Returns:PGPKeyPair

generated key pair