Class BasicEncryptionService
- java.lang.Object
-
- org.apache.karaf.jaas.modules.encryption.BasicEncryptionService
-
- All Implemented Interfaces:
EncryptionService
public class BasicEncryptionService extends Object implements EncryptionService
-
-
Field Summary
-
Fields inherited from interface org.apache.karaf.jaas.modules.EncryptionService
ALGORITHM, ALGORITHM_MD2, ALGORITHM_MD5, ALGORITHM_SHA1, ALGORITHM_SHA256, ALGORITHM_SHA384, ALGORITHM_SHA512, ENCODING, ENCODING_BASE64, ENCODING_HEXADECIMAL
-
-
Constructor Summary
Constructors Constructor Description BasicEncryptionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptioncreateEncryption(Map<String,String> params)Create an encryption service with the specified parameters.
-
-
-
Method Detail
-
createEncryption
public Encryption createEncryption(Map<String,String> params) throws IllegalArgumentException
Description copied from interface:EncryptionServiceCreate an encryption service with the specified parameters. If the parameters are not supported, anullshould be returned or an IllegalArgumentException thrown.- Specified by:
createEncryptionin interfaceEncryptionService- Parameters:
params- define the encryption configuration.- Returns:
- the
Encryption. - Throws:
IllegalArgumentException- if theEncryptioncan't be created.
-
-