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 AsymmetricCipherKeyPair
generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.void
init(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:
init
in interfaceAsymmetricCipherKeyPairGenerator
- Parameters:
parameters
- an instance ofECCSIKeyGenerationParameters
which encapsulates the elliptic curve domain parameters, the digest algorithm, and an associated identifier.
-
generateKeyPair
public AsymmetricCipherKeyPair generateKeyPair()
Description copied from interface:AsymmetricCipherKeyPairGenerator
return an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPair
in interfaceAsymmetricCipherKeyPairGenerator
- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-
-