Interface StorageCipher


  • @NonNullByDefault
    public interface StorageCipher
    This allows the encryption and decryption to be performed before saving to storage.
    Author:
    Gary Tse - Initial contribution
    • Method Detail

      • getUniqueCipherId

        String getUniqueCipherId()
        A unique cipher identifier per each implementation of StorageCipher. It allows the OAuthStoreHandler to choose which cipher implementation to use. This is particularly important when old ciphers becomes out-dated and need to be replaced by new implementations.
        Returns:
        unique identifier