public interface SecretKeyRepository
SecretKey getKey(String name, boolean create) throws CryptoException
name
- the key's name in the repositorycreate
- true to create new key if there's no key with the specified name in the repository.CryptoException
void saveKey(String name, SecretKey key) throws CryptoException
name
- the key's name in the repositorykey
- the key to saveCryptoException
Copyright © 2015 CrafterCMS. All Rights Reserved.