org.bouncycastle.jcajce.provider.asymmetric.ec
Class GMKeyPairGeneratorSpi.BaseSM2
java.lang.Object
|
+--java.security.KeyPairGeneratorSpi
|
+--java.security.KeyPairGenerator
|
+--org.bouncycastle.jcajce.provider.asymmetric.ec.GMKeyPairGeneratorSpi
|
+--org.bouncycastle.jcajce.provider.asymmetric.ec.GMKeyPairGeneratorSpi.BaseSM2
- Direct Known Subclasses:
- GMKeyPairGeneratorSpi.SM2
- Enclosing class:
- GMKeyPairGeneratorSpi
- public static class GMKeyPairGeneratorSpi.BaseSM2
- extends GMKeyPairGeneratorSpi
Methods inherited from class java.security.KeyPairGenerator |
genKeyPair, getAlgorithm, getInstance, getInstance, getProvider, initialize, initialize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMKeyPairGeneratorSpi.BaseSM2
public GMKeyPairGeneratorSpi.BaseSM2()
GMKeyPairGeneratorSpi.BaseSM2
public GMKeyPairGeneratorSpi.BaseSM2(java.lang.String algorithm,
ProviderConfiguration configuration)
initialize
public void initialize(int strength,
java.security.SecureRandom random)
- Overrides:
initialize
in class java.security.KeyPairGenerator
initialize
public void initialize(java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random)
throws java.security.InvalidAlgorithmParameterException
- Overrides:
initialize
in class java.security.KeyPairGenerator
generateKeyPair
public java.security.KeyPair generateKeyPair()
- Overrides:
generateKeyPair
in class java.security.KeyPairGenerator
createKeyGenParamsBC
protected ECKeyGenerationParameters createKeyGenParamsBC(ECParameterSpec p,
java.security.SecureRandom r)
createKeyGenParamsJCE
protected ECKeyGenerationParameters createKeyGenParamsJCE(X9ECParameters x9,
java.security.SecureRandom r)
initializeNamedCurve
protected void initializeNamedCurve(java.lang.String curveName,
java.security.SecureRandom random)
throws java.security.InvalidAlgorithmParameterException