Class SimpleByteSourceBroker

java.lang.Object
org.apache.shiro.crypto.cipher.SimpleByteSourceBroker
All Implemented Interfaces:
ByteSourceBroker, org.apache.shiro.lang.util.Destroyable

public class SimpleByteSourceBroker extends Object implements ByteSourceBroker, org.apache.shiro.lang.util.Destroyable
A simple implementation that maintains cipher service, ciphertext and key for decrypting it later. useBytes(ByteSourceUser) guarantees the sensitive data in byte array will be erased at end of use.