public class BasicEncryptionService extends Object implements EncryptionService
ALGORITHM, ALGORITHM_MD2, ALGORITHM_MD5, ALGORITHM_SHA1, ALGORITHM_SHA256, ALGORITHM_SHA384, ALGORITHM_SHA512, ENCODING, ENCODING_BASE64, ENCODING_HEXADECIMAL| Constructor and Description |
|---|
BasicEncryptionService() |
| Modifier and Type | Method and Description |
|---|---|
Encryption |
createEncryption(Map<String,String> params)
Create an encryption service with the specified parameters.
|
public Encryption createEncryption(Map<String,String> params) throws IllegalArgumentException
EncryptionServicenull should
be returned or an IllegalArgumentException thrown.createEncryption in interface EncryptionServiceparams - define the encryption configuration.Encryption.IllegalArgumentException - if the Encryption can't be created.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.