Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.provider.asymmetric.edec
Class KeyPairGeneratorSpi

java.lang.Object
  |
  +--java.security.KeyPairGeneratorSpi
        |
        +--org.bouncycastle.jcajce.provider.asymmetric.edec.KeyPairGeneratorSpi
Direct Known Subclasses:
KeyPairGeneratorSpi.Ed25519, KeyPairGeneratorSpi.Ed448, KeyPairGeneratorSpi.EdDSA, KeyPairGeneratorSpi.X25519, KeyPairGeneratorSpi.X448, KeyPairGeneratorSpi.XDH

public class KeyPairGeneratorSpi
extends java.security.KeyPairGeneratorSpi


Inner Class Summary
static class KeyPairGeneratorSpi.Ed25519
           
static class KeyPairGeneratorSpi.Ed448
           
static class KeyPairGeneratorSpi.EdDSA
           
static class KeyPairGeneratorSpi.X25519
           
static class KeyPairGeneratorSpi.X448
           
static class KeyPairGeneratorSpi.XDH
           
 
Method Summary
 java.security.KeyPair generateKeyPair()
           
 void initialize(java.security.spec.AlgorithmParameterSpec paramSpec, java.security.SecureRandom secureRandom)
           
 void initialize(int strength, java.security.SecureRandom secureRandom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initialize

public void initialize(int strength,
                       java.security.SecureRandom secureRandom)
Overrides:
initialize in class java.security.KeyPairGeneratorSpi

initialize

public void initialize(java.security.spec.AlgorithmParameterSpec paramSpec,
                       java.security.SecureRandom secureRandom)
                throws java.security.InvalidAlgorithmParameterException
Overrides:
initialize in class java.security.KeyPairGeneratorSpi

generateKeyPair

public java.security.KeyPair generateKeyPair()
Overrides:
generateKeyPair in class java.security.KeyPairGeneratorSpi

Bouncy Castle Cryptography Library 1.77.0