public class SSL3PremasterkeyGenerator extends PKCS11KeyGenerator
initialized_, keyGenerationSpec_, pkcs11OperationInitialized_, session_, tokenManager_, usedMechanismInfos_, usedMechanisms_| Constructor and Description |
|---|
SSL3PremasterkeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random)
Initializes this key generator with given algorithm parameters and random seed.
|
protected void |
engineInit(int strength,
java.security.SecureRandom random)
Initializes this key generator for the given strength with the given random seed
|
protected java.lang.String |
getAlgorithmName()
Get the JCE algorithm name, e.g.
|
protected iaik.pkcs.pkcs11.Mechanism |
getMechanism()
Get the mechanism that this key generator uses.
|
engineGenerateKey, engineInit, finalize, finalizePkcs11Operation, getUsedMechanismFeatures, getUsedMechanisms, initializePkcs11Operation, initializeSession, isSupportedByprotected iaik.pkcs.pkcs11.Mechanism getMechanism()
PKCS11KeyGeneratorgetMechanism in class PKCS11KeyGeneratorprotected java.lang.String getAlgorithmName()
PKCS11KeyGeneratorgetAlgorithmName in class PKCS11KeyGeneratorprotected void engineInit(int strength,
java.security.SecureRandom random)
throws java.security.InvalidParameterException
PKCS11KeyGeneratorengineInit in class PKCS11KeyGeneratorstrength - the strength of the key to be createdrandom - the random seedInvalidParameterExcpetion - because this engine has to be initialized with a proper
PKCS11SSL3PreMasterKeyGenerationSpecjava.security.InvalidParameterException - if the given key-size is invalid.protected void engineInit(java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random)
throws java.security.InvalidAlgorithmParameterException
PKCS11KeyGeneratorengineInit in class PKCS11KeyGeneratorparams - The algorithm parameters, which must be an instance of PKCS11KeyGenerationSpec and
must not be null.random - This implementation ignores this parameter.java.security.InvalidAlgorithmParameterException - if the given algorithm parameters do not match to this KeyGeneratorKeyGeneratorSpi.engineInit(AlgorithmParameterSpec, SecureRandom)IAIK JavaSecurity Website https://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. Version 1.9.4