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.voidinit(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:
initin interfaceAsymmetricCipherKeyPairGenerator- Parameters:
parameters- an instance ofECCSIKeyGenerationParameterswhich encapsulates the elliptic curve domain parameters, the digest algorithm, and an associated identifier.
-
generateKeyPair
Description copied from interface:AsymmetricCipherKeyPairGeneratorreturn an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-