public class Rc4KeyFactory extends SecretKeyFactory
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ALGORITHM_NAME
The name of the key algorithm.
|
pkcs11KeySpec_, pkcs11OperationInitialized_, session_, softwareDelegate_, tokenManager_| Constructor and Description |
|---|
Rc4KeyFactory()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected iaik.pkcs.pkcs11.objects.Object |
createKeyCreationTemplate(java.security.spec.KeySpec keySpec)
Create the key template to use as input for the object creation.
|
protected java.lang.String |
getAlgorithmName()
Get the (default) algorithm name of this factory.
|
protected boolean |
isAlgorithmAccepted(java.lang.String algorithmName)
Check, if this factory can handle keys of the algorithm given by its name.
|
extractKeyMaterial, getSoftwareDelegateAlgorithm, isFormatAccepted, pkcs11GenerateSecret, pkcs11GetKeySpec, validateKeySpeccreateKey, engineGenerateSecret, engineGetKeySpec, engineTranslateKey, finalize, finalizePkcs11Operation, initializePkcs11Operation, initializeSession, initializeSoftwareDelegate, isSessionAppropriate, isSupportedBy, pkcs11TranslateKeyprotected static final java.lang.String ALGORITHM_NAME
protected iaik.pkcs.pkcs11.objects.Object createKeyCreationTemplate(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
createKeyCreationTemplate in class SecretKeyFactorykeySpec - The key spec providing algorithm specific key attributes.java.security.spec.InvalidKeySpecException - If the given key material is inapropriate for this factory.protected java.lang.String getAlgorithmName()
getAlgorithmName in class PKCS11SecretKeyFactoryprotected boolean isAlgorithmAccepted(java.lang.String algorithmName)
isAlgorithmAccepted in class SecretKeyFactoryalgorithmName - The name of the key algorithm.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