public class Des2KeyGenerator extends PKCS11KeyGenerator
The supported key sizes are 112 and 128 bit, default is 112 bit. Both values result in key with 128 bit but 112 effective key bits.
initialized_, keyGenerationSpec_, pkcs11OperationInitialized_, session_, tokenManager_, usedMechanismInfos_, usedMechanisms_
Constructor and Description |
---|
Des2KeyGenerator()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getAlgorithmName()
Returns
DES2 . |
protected iaik.pkcs.pkcs11.Mechanism |
getMechanism()
Get the mechanism that this key generator uses.
|
engineGenerateKey, engineInit, engineInit, engineInit, finalize, finalizePkcs11Operation, getUsedMechanismFeatures, getUsedMechanisms, initializePkcs11Operation, initializeSession, isSupportedBy
protected iaik.pkcs.pkcs11.Mechanism getMechanism()
getMechanism
in class PKCS11KeyGenerator
protected java.lang.String getAlgorithmName()
DES2
.getAlgorithmName
in class PKCS11KeyGenerator
DES2
.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