Package com.github.cafapi.common.api
Interface CipherProvider
- All Known Implementing Classes:
JasyptCipherProvider
,NullCipherProvider
public interface CipherProvider
Simple boilerplate for returning a Cipher implementation.
-
Method Summary
Modifier and TypeMethodDescriptiongetCipher
(BootstrapConfiguration bootstrapConfiguration) Get a Cipher implementation.
-
Method Details
-
getCipher
Get a Cipher implementation.- Parameters:
bootstrapConfiguration
- used for configuring the Cipher- Returns:
- a new Cipher instance
- Throws:
CipherException
- if the Cipher instance could not be created
-