Class ECCSIKeyPairGenerator
java.lang.Object
org.bouncycastle.crypto.generators.ECCSIKeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
A key pair generator for the ECCSI scheme (Elliptic Curve-based Certificateless Signatures
for Identity-based Encryption) as defined in RFC 6507.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn an AsymmetricCipherKeyPair containing the generated keys.void
init
(KeyGenerationParameters parameters) Initializes the key pair generator with the specified parameters.
-
Constructor Details
-
ECCSIKeyPairGenerator
public ECCSIKeyPairGenerator()
-
-
Method Details
-
init
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
Description copied from interface:AsymmetricCipherKeyPairGenerator
return an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPair
in interfaceAsymmetricCipherKeyPairGenerator
- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-