Class ECCSIKeyPairGenerator
- java.lang.Object
-
- org.bouncycastle.crypto.generators.ECCSIKeyPairGenerator
-
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
public class ECCSIKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
A key pair generator for the ECCSI scheme (Elliptic Curve-based Certificateless Signatures for Identity-based Encryption) as defined in RFC 6507.
-
-
Constructor Summary
Constructors Constructor Description ECCSIKeyPairGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsymmetricCipherKeyPairgenerateKeyPair()return an AsymmetricCipherKeyPair containing the generated keys.voidinit(KeyGenerationParameters parameters)Initializes the key pair generator with the specified parameters.
-
-
-
Method Detail
-
init
public void init(KeyGenerationParameters parameters)
Initializes the key pair generator with the specified parameters.- Specified by:
initin interfaceAsymmetricCipherKeyPairGenerator- Parameters:
parameters- an instance ofECCSIKeyGenerationParameterswhich encapsulates the elliptic curve domain parameters, the digest algorithm, and an associated identifier.
-
generateKeyPair
public AsymmetricCipherKeyPair generateKeyPair()
Description copied from interface:AsymmetricCipherKeyPairGeneratorreturn an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-
-