org.apache.karaf.jaas.modules
Interface EncryptionService
- All Known Implementing Classes:
- BasicEncryptionService
public interface EncryptionService
ALGORITHM
static final String ALGORITHM
- See Also:
- Constant Field Values
ALGORITHM_MD2
static final String ALGORITHM_MD2
- See Also:
- Constant Field Values
ALGORITHM_MD5
static final String ALGORITHM_MD5
- See Also:
- Constant Field Values
ALGORITHM_SHA1
static final String ALGORITHM_SHA1
- See Also:
- Constant Field Values
ALGORITHM_SHA256
static final String ALGORITHM_SHA256
- See Also:
- Constant Field Values
ALGORITHM_SHA384
static final String ALGORITHM_SHA384
- See Also:
- Constant Field Values
ALGORITHM_SHA512
static final String ALGORITHM_SHA512
- See Also:
- Constant Field Values
ENCODING
static final String ENCODING
- See Also:
- Constant Field Values
ENCODING_HEXADECIMAL
static final String ENCODING_HEXADECIMAL
- See Also:
- Constant Field Values
ENCODING_BASE64
static final String ENCODING_BASE64
- See Also:
- Constant Field Values
createEncryption
Encryption createEncryption(Map<String,String> params)
throws IllegalArgumentException
- Create an encryption service with the specified parameters.
If the parameters are not supported, a
null should
be returned or an IllegalArgumentException thrown.
- Parameters:
params -
- Returns:
-
- Throws:
IllegalArgumentException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.