A simple licensing implementation with bouncy castle.