Class DefaultCryptoModule

  • All Implemented Interfaces:
    CryptoModule

    public class DefaultCryptoModule
    extends Object
    implements CryptoModule
    This class implements the CryptoModule interface, defining how calling applications can receive encrypted input and output streams. While the default implementation given here allows for a lot of flexibility in terms of choices of algorithm, key encryption strategies, and so on, some Accumulo users may choose to swap out this implementation for others, and can base their implementation details off of this class's work. In general, the module is quite straightforward: provide it with crypto-related settings and an input/output stream, and it will hand back those streams wrapped in encrypting (or decrypting) streams.