Bouncy Castle Cryptography Library 1.81

org.bouncycastle.crypto.generators
Class ECCSIKeyPairGenerator

java.lang.Object
  extended byorg.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.

See Also:
RFC 6507: Elliptic Curve-Based Certificateless Signatures for Identity-based Encryption (ECCSI)

Constructor Summary
ECCSIKeyPairGenerator()
           
 
Method Summary
 AsymmetricCipherKeyPair generateKeyPair()
          return an AsymmetricCipherKeyPair containing the generated keys.
 void init(KeyGenerationParameters parameters)
          Initializes the key pair generator with the specified parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECCSIKeyPairGenerator

public ECCSIKeyPairGenerator()
Method Detail

init

public void init(KeyGenerationParameters parameters)
Initializes the key pair generator with the specified parameters.

Specified by:
init in interface AsymmetricCipherKeyPairGenerator
Parameters:
parameters - an instance of ECCSIKeyGenerationParameters 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 interface AsymmetricCipherKeyPairGenerator
Returns:
an AsymmetricCipherKeyPair containing the generated keys.

Bouncy Castle Cryptography Library 1.81