public class DesCbcEncryptDataKeyDerivation extends PKCS11KeyDerivation
keyDerivationMechanism_
initialized_, keyGenerationSpec_, pkcs11OperationInitialized_, session_, tokenManager_, usedMechanismInfos_, usedMechanisms_
Constructor and Description |
---|
DesCbcEncryptDataKeyDerivation()
Instantiates a new derivation object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec params,
java.security.SecureRandom random)
Initializes this key derivator with given algorithm parameters and 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.
|
protected iaik.pkcs.pkcs11.parameters.Parameters |
getParameters()
Gets the parameters that this key generator needs.
|
engineGenerateKey, engineInit, engineInit, getUsedMechanismFeatures
finalize, finalizePkcs11Operation, getUsedMechanisms, initializePkcs11Operation, initializeSession, isSupportedBy
public DesCbcEncryptDataKeyDerivation()
protected iaik.pkcs.pkcs11.Mechanism getMechanism()
PKCS11KeyGenerator
getMechanism
in class PKCS11KeyGenerator
protected iaik.pkcs.pkcs11.parameters.Parameters getParameters()
PKCS11KeyDerivation
getParameters
in class PKCS11KeyDerivation
null
.protected java.lang.String getAlgorithmName()
PKCS11KeyGenerator
getAlgorithmName
in class PKCS11KeyGenerator
protected void engineInit(java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
PKCS11KeyDerivation
engineInit
in class PKCS11KeyDerivation
params
- The algorithm parameters, which must be an instance of PKCS11KeyDerivationSpec 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